minWidth property

double? minWidth
final

The smallest possible width for the rail regardless of the destination's icon or label size.

The default is 72.

This value also defines the min width and min height of the destinations.

To make a compact rail, set this to 56 and use NavigationRailLabelType.none.

Implementation

final double? minWidth;