mirror of
https://github.com/chenasraf/flame_ui.git
synced 2026-05-17 17:38:07 +00:00
feat: make rect button color mandatory
This commit is contained in:
@@ -45,7 +45,7 @@ class RectButtonComponent extends PositionComponent
|
||||
required this.label,
|
||||
required super.size,
|
||||
required super.position,
|
||||
this.color = Colors.red,
|
||||
required this.color,
|
||||
Color? pressedColor,
|
||||
this.textColor = Colors.white,
|
||||
}) : pressedColor = pressedColor ?? color,
|
||||
|
||||
Reference in New Issue
Block a user