mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
Update doc/examples/widgets/lib/main.dart
Co-Authored-By: Luan Nico <luanpotter27@gmail.com>
This commit is contained in:
@ -50,8 +50,10 @@ void main() async {
|
||||
onPressed: () {
|
||||
print('Pressed');
|
||||
},
|
||||
label: const Text('Sprite Button',
|
||||
style: const TextStyle(color: const Color(0xFF5D275D))),
|
||||
label: const Text(
|
||||
'Sprite Button',
|
||||
style: const TextStyle(color: const Color(0xFF5D275D)),
|
||||
),
|
||||
sprite: _buttons.getSprite(0, 0),
|
||||
pressedSprite: _buttons.getSprite(1, 0),
|
||||
)),
|
||||
|
||||
Reference in New Issue
Block a user