Skip to content

abdullah-almasry/queen_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Queen Ui 👑

pre built flutter widgets

components

  • navigation bar

in small screens in large screens

Example

 @override
 Widget build(BuildContext context) {
    final size = MediaQuery.of(context).size;
    return QueenNavBar(
      color: Colors.blue,
      logo: Padding(
        padding: const EdgeInsets.all(horizontal: 8),
        child: Text(
          "Queen 👑",
        ),
      ),
      children: [
        OutlineButton(
            title: 'home',
            onPressed: (){},
            ),
        OutlineButton(
            title: 'about',
            onPressed: (){},
            ),
        OutlineButton(
            title: 'contact',
            onPressed: (){},
            ),
      ],
      drawerButtonBuilder: () {
        return Padding(
          padding: EdgeInsets.symmetric(horizontal: size.width * .01),
          child: OutlineButton(
            child: Icon(Icons.menu),
            onPressed: () =>
              print('Long Live The Queen 👑')
            ,
          ),
        );
      },
    );
  }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages