auto_scaffold_easy 1.0.2
auto_scaffold_easy: ^1.0.2 copied to clipboard
A Scaffold which is ability to automatically select between [NavigationDestination] and [NavigationRailDestination] as the screen size changes
A Scaffold which is ability to automatically select between bottom and side navigation as the screen size changes.
Features #
-
Bottom Mode
-
Side Mode
Getting started #
To use this plugin, add auto_scaffold_easy
as a dependency in your pubspec.yaml file.
Usage #
Use AutoScaffold just like Scaffold.
AutoScaffold(
saveState: true,
theme: TabTheme(labelType: LabelType.show),
body: [
TabItem(
label: "Home",
icon: Icon(Icons.home),
selectedIcon: Icon(Icons.home_outlined),
widget: Home(key: ValueKey("Home")),
),
TabItem(
label: "Star",
icon: Icon(Icons.star),
selectedIcon: Icon(Icons.star_border),
widget: Home(key: ValueKey("Star")),
),
],
);
Additional information #
Developer: Alfie
GitHub: yi226