https://github.com/hacker1024/popup_menu_title
A PopupMenuEntry implementation to show a title.
https://github.com/hacker1024/popup_menu_title
Last synced: about 1 year ago
JSON representation
A PopupMenuEntry implementation to show a title.
- Host: GitHub
- URL: https://github.com/hacker1024/popup_menu_title
- Owner: hacker1024
- License: mit
- Created: 2020-11-08T07:10:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T02:12:40.000Z (over 5 years ago)
- Last Synced: 2025-05-17T23:39:10.488Z (about 1 year ago)
- Language: C++
- Homepage: https://pub.dev/packages/popup_menu_title
- Size: 194 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# popup_menu_title
A Flutter package to provide a popup menu title.

## Usage
```dart
import 'package:popup_menu_title/popup_menu_title.dart';
final menuItemList = [
PopupMenuTitle(
title: 'Popup menu title',
overflow: TextOverflow.fade,
// The text style below is the default style, but is specified
// here as an example of how to do so.
textStyle: TextStyle(
fontWeight: FontWeight.w600,
color: Theme
.of(context)
.primaryColor,
),
),
PopupMenuItem(child: const Text('Item 1')),
PopupMenuItem(child: const Text('Item 2')),
PopupMenuItem(child: const Text('Item 3')),
];
```