PlexInfoSheet class
A utility class to show a highly configurable bottom sheet for information, errors, alerts, etc.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
show<
T> ({required BuildContext context, String? title, String? message, Widget? icon, PlexInfoSheetType type = PlexInfoSheetType.info, List< PlexInfoSheetAction> ? actions, bool showOk = true, bool showCancel = false, OnActionPressed? onOk, OnActionPressed? onCancel, String okLabel = 'OK', String cancelLabel = 'Cancel', PlexButtonType okButtonType = PlexButtonType.elevated, PlexButtonType cancelButtonType = PlexButtonType.text, Widget? okButtonIcon, Key? okButtonKey, ButtonStyle? okButtonStyle, FocusNode? okButtonFocusNode, Widget? cancelButtonIcon, Key? cancelButtonKey, ButtonStyle? cancelButtonStyle, FocusNode? cancelButtonFocusNode, bool isDismissible = true, bool enableDrag = true, Color? backgroundColor, Color? barrierColor, ShapeBorder? shape, BoxConstraints? constraints, bool useSafeArea = true, bool isScrollControlled = true, bool showDragHandle = true, double elevation = PlexDim.small, Widget? customContent}) → Future<T?> - Shows a bottom sheet with the given configuration.