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

    bottom

  • Side Mode

    side

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

1
likes
160
points
35
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)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auto_scaffold_easy