auto_scaffold_easy 1.0.1
auto_scaffold_easy: ^1.0.1 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 as a dependency in your pubspec.yaml file.
Usage #
Use AutoScaffold just like Scaffold.
AutoScaffold(
saveState: true,
tabPages: [
TabPage(
label: "Home",
icon: Icon(Icons.home),
selectedIcon: Icon(Icons.home_outlined),
widget: Home(key: ValueKey("Home")),
),
TabPage(
label: "Star",
icon: Icon(Icons.star),
selectedIcon: Icon(Icons.star_border),
widget: Home(key: ValueKey("Star")),
),
],
);
Additional information #
Developer: Alfie
GitHub: yi226