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
For those familiar with Flutter's Scaffold Widget, this can be confusing.
Suggested Fix:
Consider updating Scaffold95 widget to automatically manage constraints, perhaps by wrapping the body with Expanded widget.
Proposed change in scaffold95.dart
children:<Widget>[
WindowHeader95(title: title, onClosePressed: onClosePressed),
constSizedBox(height:4),
if (toolbar !=null) toolbar!,
if (toolbar !=null) constSizedBox(height:4),
Expanded(child: body), // Wrap the body with an Expanded widget
],
This tweak might enhance its intuitiveness for Flutter developers.
The text was updated successfully, but these errors were encountered:
Hello,
I've observed that
Scaffold95
doesn't mimic Flutter's defaultScaffold
behavior. Specifically:Center in body doesn't actually center widgets.
Using
double.infinity
dimensions (inSizedBox
) causes unbounded constraints errors.Reproduction:
For those familiar with Flutter's
Scaffold
Widget, this can be confusing.Suggested Fix:
Consider updating
Scaffold95
widget to automatically manage constraints, perhaps by wrapping the body withExpanded
widget.Proposed change in
scaffold95.dart
This tweak might enhance its intuitiveness for Flutter developers.
The text was updated successfully, but these errors were encountered: