one_ui library

Classes

OneUIAlertDialog
OneUIAppBar
OneUIBackButton
OneUIBottomNavigationBar
OneUIBottomNavigationBarItem
OneUIContainedButton
OneUIDialog
OneUIDialogAction
OneUIDialogRoute<T>
OneUIFlatButton
OneUIIconButton
OneUIInkRipple
OneUIInkSplash
A visual reaction on a piece of Material to user input.
OneUIPopupMenuButton<T>
Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected. The value passed to onSelected is the value of the selected menu item.
OneUIPopupMenuItem<T>
An item in a One UI design popup menu.
OneUIPopupMenuItemState<T, W extends OneUIPopupMenuItem<T>>
The State for OneUIPopupMenuItem subclasses.
OneUISlider
OneUISwitch
OneUIView

Functions

showMenu<T>({required BuildContext context, required RelativeRect position, required List<PopupMenuEntry<T>> items, T? initialValue, double? elevation, String? semanticLabel, BorderRadius? borderRadius, Color? color, bool useRootNavigator = false}) Future<T?>
Show a popup menu that contains the items at position.
showOneUIDialog<T>({Key? key, required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = true, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings}) Future<T?>