Skip to content

FlippedOvO/FlippedPopupMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  Widget build(BuildContext context) {
    return FPopupMenu(
      items: [
        FPopupItem(
          text: '测试1',
          icon: 'assets/me.png',
          iconSize: 20,
        ),
        FPopupItem(text: '测试2'),
        FPopupItem(text: '测试3'),
        FPopupItem(text: '测试4'),
      ],
      color: Colors.white,
      pressType: PressType.longPress,
      addDivider: true,
      child: Container(
        color: Colors.red,
        height: 80,
        width: MediaQuery.of(context).size.width,
        margin: const EdgeInsets.symmetric(vertical: 5),
        alignment: Alignment.center,
        child: Text(
          text,
          style: const TextStyle(
            color: Colors.white,
            fontSize: 20,
          ),
        ),
      ),
    );
  }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages