popup_menu_2 0.0.5 copy "popup_menu_2: ^0.0.5" to clipboard
popup_menu_2: ^0.0.5 copied to clipboard

a pupup menu, for porpose not break the user attention,.

Popup menu 2 #

SCREENSHOT

Popup menu 2

a pupup menu, for porpose not break the user attention

Supported Platforms:

  • ALL

Using the Popup menu 2

ContextualMenu(
    globalKey: GlobalKey(),
    items: [
    MenuItem(
        press: _incrementCounter,
        title: 'increment',
        textAlign: TextAlign.justify,
        textStyle: const TextStyle(color: Colors.white),
        image: const Icon(Icons.add, color: Colors.white),
    ),
    MenuItem(
        press: _decrementCounter,
        title: 'decrement',
        textAlign: TextAlign.justify,
        textStyle: const TextStyle(color: Colors.white),
        image: const Icon(Icons.remove, color: Colors.white),
    ),
    ],
    child: Container(
    height: 60,
    width: 60,
    decoration: const BoxDecoration(
        shape: BoxShape.circle,
        color: Color(0xff648564),
    ),
    child: const Icon(Icons.add, color: Colors.white),
    ),
),

License #

Copyright (c) 2022, youmti.net
All rights reserved.

Redistribution and use in source and binary forms, with or without modification.
14
likes
0
pub points
77%
popularity

Publisher

unverified uploader

a pupup menu, for porpose not break the user attention,.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cupertino_icons, flutter

More

Packages that depend on popup_menu_2