You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SpaceToken resolves according to MixThemeData from context.
Actual results
SizedBox inside StyledFlex has negative width because SpaceToken.resolve() is never called, and SpaceToken.call() returns hashcode * -1 (which is used in MixTokenResolver and SpaceRef)
Package version
1.1.0
Flutter version
Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 761747bfc5 (3 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3
Steps to reproduce
Use
$flex.gap.ref()
inside StyleExpected results
SpaceToken resolves according to MixThemeData from context.
Actual results
SizedBox inside StyledFlex has negative width because
SpaceToken.resolve()
is never called, andSpaceToken.call()
returnshashcode * -1
(which is used in MixTokenResolver and SpaceRef)Code sample
Code sample
The text was updated successfully, but these errors were encountered: