We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button
Describe the bug A child of Button has an unbound height constraint.
To Reproduce Steps to reproduce the behavior:
void main() { runApp(FluentApp( home: Stack( children: [ ConstrainedBox( constraints: BoxConstraints( maxHeight: 100, minHeight: 10, minWidth: 10, maxWidth: 100), child: LayoutBuilder(builder: (context, constraints) { print("outer: $constraints"); return Button( child: LayoutBuilder( builder: (context, constraints) { print("inner: $constraints"); return Container(); }, ), onPressed: () {}, ); }), ), ], ), ));
flutter: outer: BoxConstraints(10.0<=w<=100.0, 10.0<=h<=100.0) flutter: inner: BoxConstraints(0.0<=w<=76.0, 0.0<=h<=Infinity)
Expected behavior Centering a child that's to small seems reasonable, but the upper bound should be respected.
Screenshots none
Additional context I think ef3cd87 broke this.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
A child of
Button
has an unbound height constraint.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Centering a child that's to small seems reasonable, but the upper bound should be respected.
Screenshots
none
Additional context
I think ef3cd87 broke this.
The text was updated successfully, but these errors were encountered: