DDSBottomSheets class

Inheritance

Constructors

DDSBottomSheets.new({Key? key, bool? showDragHandle, Widget? closeIcon = const Icon(Icons.close), bool isScrollControlled = false, double initialChildSize = 0.5, double minChildSize = 0.25, double maxChildSize = 1.0, double? scrollControlDisabledMaxHeightRatio, Color? backgroundColor, bool isDismissible = true, RouteSettings? routeSettings, bool enableDrag = true, bool useRootNavigator = false, double? elevation, String? barrierLabel, Color? barrierColor, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, bool? expand, required ScrollableWidgetBuilder builder, required bool showCloseIcon, double? closeIconTopPadding, double? closeIconRightPadding, double? dragHandleWidth, double? dragHandleHeight, EdgeInsetsGeometry? dragHandleMargin, Color? dragHandleColor, double? dragHandleBorderRadius, bool useContentBasedSizing = false, Future<bool> onDragClose()?, Future<bool> onCloseIconPressed()?})
const

Properties

backgroundColor Color?
final
barrierColor Color?
final
barrierLabel String?
final
builder ScrollableWidgetBuilder
final
clipBehavior Clip?
final
closeIcon Widget?
final
closeIconRightPadding double?
final
closeIconTopPadding double?
final
constraints BoxConstraints?
final
dragHandleBorderRadius double?
final
dragHandleColor Color?
final
dragHandleHeight double?
final
dragHandleMargin EdgeInsetsGeometry?
final
dragHandleWidth double?
final
elevation double?
final
enableDrag bool
final
expand bool?
final
hashCode int
The hash code for this object.
no setterinherited
initialChildSize double
final
isDismissible bool
final
isScrollControlled bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxChildSize double
final
minChildSize double
final
onCloseIconPressed Future<bool> Function()?
final
onDragClose Future<bool> Function()?
final
routeSettings RouteSettings?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollControlDisabledMaxHeightRatio double?
final
shape ShapeBorder?
final
showCloseIcon bool
final
showDragHandle bool?
final
useContentBasedSizing bool
final
useRootNavigator bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<DDSBottomSheets>
Creates the mutable state for this widget at a given location in the tree.
override
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(BuildContext context) → void
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