PrismAdaptiveScaffold constructor
- Key? key,
- required List<
AdaptiveDestination> destinations, - required Widget bodyBuilder(
- int index
- int currentIndex = 0,
- ValueChanged<
int> ? onDestinationSelected, - PreferredSizeWidget? appBar,
- Widget? floatingActionButton,
- Color? backgroundColor,
- double? railWidth,
- bool useExtendedRail = true,
- NavigationRailLabelType? railLabelType,
- Duration? transitionDuration,
Creates an adaptive scaffold.
Implementation
const PrismAdaptiveScaffold({
super.key,
required this.destinations,
required this.bodyBuilder,
this.currentIndex = 0,
this.onDestinationSelected,
this.appBar,
this.floatingActionButton,
this.backgroundColor,
this.railWidth,
this.useExtendedRail = true,
this.railLabelType,
this.bottomNavLabelType,
this.transitionDuration,
});