center_webview 0.0.1

Flutter Android iOS web

A new Flutter package for web. Keeps your contents in the center of the screen and adjusts to the responsive change in size.

centerwebview #

A new Flutter package for web. Keeps your contents in the center of the screen and adjusts to the responsive change in size.

Usage: wrap CenterWebView around the Widget which you want to keep in the center #

Code

 class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        height: 50.0,
        color: Color(0xFF2D3133),
        child: CenterWebView(
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: [
              DesktopNavigationItem(
                title: 'Menu',
              ),
              DesktopNavigationItem(
                title: 'Menu',
              ),
              DesktopNavigationItem(
                title: 'Menu',
              ),
              DesktopNavigationItem(
                title: 'Menu',
              ),
            ],
          ),
        ),
      ),
    );
  }
}
4
likes
100
pub points
33%
popularity

A new Flutter package for web. Keeps your contents in the center of the screen and adjusts to the responsive change in size.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ajithmanivannan1225@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on center_webview