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
The NavigationRail trailing has an Expanded Widget as parent however that will cause problems when window changes to small sizes. Would it not be better to use Flexible? Such as:
Fixes the problem as we would not use a scroillview here as we do not want the scrollbar appearing on the NavigationRail content.
I only found this as I was exploring this better approach to hand writing adaptive scaffolds rather than the flutter adaptive scaffold as I can get more design power in custom creating the transition animation and other animations.
Very good work thus far, peace and happy designing.
The text was updated successfully, but these errors were encountered:
The NavigationRail trailing has an Expanded Widget as parent however that will cause problems when window changes to small sizes. Would it not be better to use Flexible? Such as:
navigationRail: NavigationRail( extended: showLargeSizeLayout, trailing: Flexible( fit: FlexFit.loose, child: Padding( padding: const EdgeInsets.only(bottom: 20), child: showLargeSizeLayout ? _expandedTrailingActions() : _trailingActions(), ), ), destinations: navRailDestinations, selectedIndex: screenIndex, // // ignore: prefer-extracting-callbacks onDestinationSelected: (index) { setState(() { screenIndex = index; handleScreenChanged(screenIndex); }); }, ),
Fixes the problem as we would not use a scroillview here as we do not want the scrollbar appearing on the NavigationRail content.
I only found this as I was exploring this better approach to hand writing adaptive scaffolds rather than the flutter adaptive scaffold as I can get more design power in custom creating the transition animation and other animations.
Very good work thus far, peace and happy designing.
The text was updated successfully, but these errors were encountered: