|
|
|
@ -181,7 +181,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.bottom_app_bar,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: BottomAppBarDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/BottomAppBar-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/BottomAppBar-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => BottomAppBarDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -190,7 +190,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.bottom_navigation,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: BottomNavigationDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/BottomNavigationBar-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/BottomNavigationBar-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => BottomNavigationDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -199,7 +199,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.bottom_sheets,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ModalBottomSheetDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/showModalBottomSheet.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/showModalBottomSheet.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ModalBottomSheetDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -208,7 +208,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.bottom_sheet_persistent,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: PersistentBottomSheetDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/ScaffoldState/showBottomSheet.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/ScaffoldState/showBottomSheet.html',
|
|
|
|
|
buildRoute: (BuildContext context) => PersistentBottomSheetDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -225,7 +225,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.buttons,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: TabsFabDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/FloatingActionButton-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/FloatingActionButton-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => TabsFabDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -234,7 +234,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.cards,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: CardsDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/Card-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/Card-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CardsDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -243,7 +243,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.chips,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ChipDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/Chip-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/Chip-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ChipDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -252,7 +252,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.data_table,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: DataTableDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/PaginatedDataTable-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/PaginatedDataTable-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => DataTableDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -261,7 +261,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.dialogs,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: DialogDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/showDialog.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/showDialog.html',
|
|
|
|
|
buildRoute: (BuildContext context) => DialogDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -271,7 +271,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.cupertino_progress,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ElevationDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/Material/elevation.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/Material/elevation.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ElevationDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -280,7 +280,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.expand_all,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ExpansionTileListDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/ExpansionTile-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/ExpansionTile-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ExpansionTileListDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -289,7 +289,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.expand_all,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ExpansionPanelsDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/ExpansionPanel-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/ExpansionPanel-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ExpansionPanelsDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -298,7 +298,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.grid_on,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: GridListDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/widgets/GridView-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/widgets/GridView-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const GridListDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -307,7 +307,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.sentiment_very_satisfied,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: IconsDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/IconButton-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/IconButton-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => IconsDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -316,7 +316,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.list_alt,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ListDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/ListTile-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/ListTile-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const ListDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -325,7 +325,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.lists_leave_behind,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: LeaveBehindDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/widgets/Dismissible-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/widgets/Dismissible-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const LeaveBehindDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -334,7 +334,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.list_alt,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ReorderableListDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/ReorderableListView-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/ReorderableListView-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const ReorderableListDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -343,7 +343,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.more_vert,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: MenuDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/PopupMenuButton-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/PopupMenuButton-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const MenuDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -352,7 +352,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.menu,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: DrawerDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/Drawer-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/Drawer-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => DrawerDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -361,7 +361,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.page_control,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: PageSelectorDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/TabBarView-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/TabBarView-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => PageSelectorDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -370,7 +370,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.event,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: DateAndTimePickerDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/showDatePicker.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/showDatePicker.html',
|
|
|
|
|
buildRoute: (BuildContext context) => DateAndTimePickerDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -379,7 +379,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.progress_activity,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: ProgressIndicatorDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/LinearProgressIndicator-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/LinearProgressIndicator-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ProgressIndicatorDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -388,7 +388,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.refresh,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: OverscrollDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/RefreshIndicator-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/RefreshIndicator-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const OverscrollDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -397,7 +397,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: Icons.search,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: SearchDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/showSearch.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/showSearch.html',
|
|
|
|
|
buildRoute: (BuildContext context) => SearchDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -414,7 +414,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.sliders,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: SliderDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/Slider-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/Slider-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => SliderDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -423,7 +423,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.snackbar,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: SnackBarDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/ScaffoldState/showSnackBar.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/ScaffoldState/showSnackBar.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const SnackBarDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -432,7 +432,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.tabs,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: TabsDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/TabBarView-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/TabBarView-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => TabsDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -441,7 +441,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
icon: GalleryIcons.tabs,
|
|
|
|
|
routeName: ScrollableTabsDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/TabBar-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/TabBar-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => ScrollableTabsDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -450,7 +450,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.text_fields_alt,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: TextFormFieldDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/TextFormField-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/TextFormField-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => const TextFormFieldDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -459,7 +459,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.tooltip,
|
|
|
|
|
category: _kMaterialComponents,
|
|
|
|
|
routeName: TooltipDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/material/Tooltip-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/material/Tooltip-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => TooltipDemo(),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
@ -469,7 +469,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.cupertino_progress,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoProgressIndicatorDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoActivityIndicator-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoActivityIndicator-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoProgressIndicatorDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -477,7 +477,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.dialogs,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoAlertDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/showCupertinoDialog.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/showCupertinoDialog.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoAlertDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -485,7 +485,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.generic_buttons,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoButtonsDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoButton-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoButton-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoButtonsDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -493,7 +493,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.bottom_navigation,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoNavigationDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoTabScaffold-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoTabScaffold-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoNavigationDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -501,7 +501,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.event,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoPickerDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoPicker-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoPickerDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -509,7 +509,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.cupertino_pull_to_refresh,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoRefreshControlDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoSliverRefreshControl-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoSliverRefreshControl-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoRefreshControlDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -517,7 +517,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.tabs,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoSegmentedControlDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoSegmentedControl-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoSegmentedControl-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoSegmentedControlDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -525,7 +525,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.sliders,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoSliderDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoSlider-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoSlider-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoSliderDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
@ -533,7 +533,7 @@ List<GalleryDemo> _buildGalleryDemos() {
|
|
|
|
|
icon: GalleryIcons.cupertino_switch,
|
|
|
|
|
category: _kCupertinoComponents,
|
|
|
|
|
routeName: CupertinoSwitchDemo.routeName,
|
|
|
|
|
documentationUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoSwitch-class.html',
|
|
|
|
|
documentationUrl: 'https://api.flutter.dev/flutter/cupertino/CupertinoSwitch-class.html',
|
|
|
|
|
buildRoute: (BuildContext context) => CupertinoSwitchDemo(),
|
|
|
|
|
),
|
|
|
|
|
GalleryDemo(
|
|
|
|
|