route library
Classes
-
SingleSelectionPage<
T> - A page which shows a CupertinoSingleSelection, like the iOS settings app.
Functions
-
showCupertinoSingleSelectionPage<
T> ({required BuildContext context, required Widget title, required List< SelectionItem< children, T? initial, ValueChanged<T> >T?> ? onChanged, Widget? header, CupertinoListSectionType? headerType, AppType routeType = AppType.cupertino, AppType scaffoldType = AppType.cupertino}) → Future<T?> -
Opens a SingleSelectionPage.
initialis the initial value that will be selected upon opening the pageonChangedis called every time the user presses an option.titleis the widget to be displayed on the AppBar/CupertinoNavigationBar of the scaffold.routeTypedetermines whether a MaterialPageRoute or a CupertinoPageRoute is used.scaffoldTypedetermines whether a Scaffold or a CupertinoPageScaffold is used.