center_webview 0.0.1 copy "center_webview: ^0.0.1" to clipboard
center_webview: ^0.0.1 copied to clipboard

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',
             ),
           ],
         ),
       ),
     ),
   );
 }
}
6
likes
30
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

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)

License

unknown (license)

Dependencies

flutter

More

Packages that depend on center_webview