web_app_widget 0.0.2 copy "web_app_widget: ^0.0.2" to clipboard
web_app_widget: ^0.0.2 copied to clipboard

Flutter Widget for WebApps developement.

web_app_widget #

web_app_widget is the collection of widget for the web apps.

  • WebAppDrawer

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  web_app_widget: ^0.0.1

With Flutter:

flutter pub add web_app_widget

Usage #

class DashBoard extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("WebApps  Demo"),
        actions: <Widget>[
          IconButton(
            icon: const Icon(Icons.more_vert),
            tooltip: 'Open',
            onPressed: () {
              // handle the press
            },
          ),
        ],
      ),
      body: Row(
        mainAxisSize: MainAxisSize.max,
        mainAxisAlignment: MainAxisAlignment.start,
        children: [
          WebAppDrawer(
            divider: true,
            children: [
              ListTile(
                title: Text('Home'),
                leading: Icon(Icons.home),
              ),
              ListTile(
                title: Text("DashBoard"),
                leading: Icon(Icons.apps),
              )
            ],
          ),
          Expanded(
            child: ListView(
              physics: ClampingScrollPhysics(),
              children: [
                Padding(
                  padding: EdgeInsets.all(16),
                ),
                Center(
                  child: body(),
                ),
              ],
            ),
          ),
        ],
      ),
    );
  }
}

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License #

MIT

1
likes
100
pub points
0%
popularity

Publisher

unverified uploader

Flutter Widget for WebApps developement.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

animate_do, flutter

More

Packages that depend on web_app_widget