ModalBottomSheet<ResultType> class abstract

Inheritance

Constructors

ModalBottomSheet({BuildContext? context, Key? key, bool enableDrag = true, bool isDismissible = true, bool useSafeArea = false, Color handleColor = const Color(0xffdddddd), Color backgroundColor = Colors.white, double verticalBorderRadius = 20.0, double handlerWidth = 30.0, double handlerHeight = 4.0, double? elevation, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, Color? barrierColor, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint, bool isScrollControlled = false, bool useRootNavigator = false})

Properties

anchorPoint Offset?
final
backgroundColor Color
final
barrierColor Color?
final
clipBehavior Clip?
final
constraints BoxConstraints?
final
context BuildContext
final
elevation double?
final
enableDrag bool
final
handleColor Color
final
handlerHeight double
final
handlerWidth double
final
hashCode int
The hash code for this object.
no setterinherited
isDismissible bool
final
isScrollControlled bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
routeSettings RouteSettings?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder?
final
transitionAnimationController AnimationController?
final
useRootNavigator bool
final
useSafeArea bool
final
verticalBorderRadius double
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
hide([ResultType? result]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() Future<ResultType?>
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited