mongol library Null safety

Classes

MongolAlertDialog
This class was adapted from the Flutter AlertDialog class
MongolDialog
This class was adapted from Flutter Dialog
MongolElevatedButton
A vertical Material Design "elevated button".
MongolIconButton
An IconButton that uses a MongolTooltip
MongolListTile
A single fixed-width column that typically contains some text as well as a leading or trailing icon.
MongolListTileTheme
An inherited widget that defines color and style parameters for MongolListTiles in this widget's subtree.
MongolOutlinedButton
A vertical Material Design "Outlined Button"; essentially a MongolTextButton with an outlined border.
MongolPopupMenuButton<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.
MongolPopupMenuButtonState<T>
The State for a MongolPopupMenuButton.
MongolPopupMenuDivider
A vertical divider in a material design popup menu.
MongolPopupMenuEntry<T>
A base class for entries in a material design popup menu.
MongolPopupMenuItem<T>
An item in a Mongol material design popup menu.
MongolPopupMenuItemState<T, W extends MongolPopupMenuItem<T>>
The State for MongolPopupMenuItem subclasses.
MongolRichText
A string of rich text in vertical Mongolian layout.
MongolText
A run of vertical text with a single style.
MongolTextButton
A vertical Material Design "Text Button".
MongolTextField
A material design text field for vertical Mongolian script.
MongolTextPainter
An object that paints a Mongolian TextSpan tree into a Canvas.
MongolTooltip
A Mongol material design tooltip.

Functions

mapHorizontalToMongolTextAlign(TextAlign? textAlign) MongolTextAlign?
A convenience method for converting MongolTextAlign to TextAlign
positionMongolDependentBox({required Size size, required Size childSize, required Offset target, required bool preferRight, double horizontalOffset = 0.0, double margin = 10.0}) Offset
Position a child box within a container box, either left or right of a target point.
showMongolMenu<T>({required BuildContext context, required RelativeRect position, required List<MongolPopupMenuEntry<T>> items, T? initialValue, double? elevation, String? semanticLabel, ShapeBorder? shape, Color? color, bool useRootNavigator = false}) Future<T?>
Show a popup menu that contains the items at position.

Enums

MongolTextAlign
Whether and how to align text vertically.

Typedefs

MongolPopupMenuCanceled = void Function()
Signature for the callback invoked when a MongolPopupMenuButton is dismissed without selecting an item.
MongolPopupMenuItemBuilder<T> = List<MongolPopupMenuEntry<T>> Function(BuildContext context)
Signature used by MongolPopupMenuButton to lazily construct the items shown when the button is pressed.
MongolPopupMenuItemSelected<T> = void Function(T value)
Signature for the callback invoked when a menu item is selected. The argument is the value of the MongolPopupMenuItem that caused its menu to be dismissed.