Shouldn't the PressableBox animate when it possesses the scale attribute?
Closed this issue · 2 comments
tilucasoli commented
Package version
1.0.0-beta.1
Flutter version
Flutter 3.16.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 67457e669f (9 days ago) • 2024-01-16 16:22:29 -0800
Engine • revision 6e2ea58a5c
Tools • Dart 3.2.5 • DevTools 2.28.5
Steps to reproduce
- Passing a scale attribute to a Style
- Placing this Style in the PressableBox's constructor
Expected results
Actual results
Code sample
PressableBox(
onPressed: () {},
style: Style(
backgroundColor.black87(),
width(80),
height(50),
alignment.center(),
text.style.color.white(),
scale(1),
onHover(
scale(2),
),
),
child: const StyledText('Hello'),
)
tilucasoli commented
This issue is correlated with #167
leoafarias commented
This issue has been fixed