feat: Added toString method to all the drags events message handlers (#2014)

Added toString method to all Drag Event message Handlers in flame/lib/src/events/messages/ which were returning pure data objects and were not much meaningful
This commit is contained in:
sumit kumar
2022-10-14 16:19:25 +05:30
committed by GitHub
parent a1f4af9c3c
commit a34f1df790
8 changed files with 31 additions and 1 deletions

View File

@ -4,7 +4,6 @@ import 'package:flutter/material.dart';
class Player extends PositionComponent {
static final _paint = Paint()..color = Colors.white;
@override
void render(Canvas canvas) {
canvas.drawRect(size.toRect(), _paint);