An open API service indexing awesome lists of open source software.

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.

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')),
];
```