auto_scaffold_easy 1.0.2 copy "auto_scaffold_easy: ^1.0.2" to clipboard
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

    bottom

  • Side Mode

    side

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

1
likes
160
points
36
downloads

Publisher

verified publisheralfiey.me

Weekly Downloads

A Scaffold which is ability to automatically select between [NavigationDestination] and [NavigationRailDestination] as the screen size changes

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auto_scaffold_easy