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

a pupup menu, contains clickable buttons each, and a global click function referring the item, this is for porpose not break the user attention,.

Popup menu 2 #

SCREENSHOT

a pupup menu, for porpose not break the user attention

Supported Platforms:

  • ALL

Using the Popup menu 2

ContextualMenu(
key: keyState,
targetWidgetKey: key,
maxColumns: 2,
backgroundColor: Colors.red,
dismissOnClickAway: true,
items: [
    ContextPopupMenuItem(
    onTap: _incrementCounter,
    child: const Icon(Icons.add, color: Colors.white),
    ),
    ContextPopupMenuItem(
    onTap: _decrementCounter,
    child: const Icon(Icons.remove, color: Colors.white),
    ),
],
child: Icon(
    Icons.add,
    key: key,
    color: Colors.white,
),
)

License #

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

Redistribution and use in source and binary forms, with or without modification.

Checkout my other Packages you may like #

15
likes
150
pub points
81%
popularity

Publisher

unverified uploader

a pupup menu, contains clickable buttons each, and a global click function referring the item, this is for porpose not break the user attention,.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on popup_menu_2