BottomBarSheet class
Class to generate the bottom bar sheet widget
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BottomBarSheet
Constructors
-
BottomBarSheet({Key? key, List<
BottomSheetBarIcon> children = const [], ButtonBottomBarPosition? buttonPosition = ButtonBottomBarPosition.center, Color? backgroundColor = Colors.white, Color? backgroundBarColor = Colors.white, bool showExpandableButton = true, Widget? innerChild, double bottomRadius = 50.0, double? bottomBarHeight = 60.0, double? bottomBarWidth, Duration? duration = const Duration(milliseconds: 250), double? bottomSheetHeight, Widget? iconExpand = const Icon(Icons.navigation), Color? iconColor = Colors.green, dynamic onClose()?, int? currentIndex, Curve curve = Curves.ease}) - children: List of BottomSheetBarIcon to show whitin the widget buttonPosition: Value to indicate the position of the expandable button (center, end) backgroundColor: Bottom bar calor backgroundBarColor: Color for container when is expanded showExpandableButton: Boolean value to show the expandable button innerChild: Widget to render into the bottom sheet bottomRadius: Double value to indicate when radius for corner on bottom bar bottomBarHeight: Value to indicate the bottom bar height bottomBarWidth: Value to indicate the bottom bar width duration: Indicate the duration when expand bottom sheet bottomSheetHeight: Double value to indicate the bottom sheet height iconExpand: Icon to show into expandable button iconColor: Color for expandable button onClose: Function trigger when close bottom sheet currentIndex: Value to indicate what icon tab is selected curve: Curve to use on animation
Properties
- backgroundBarColor → Color?
-
Bottom bar calor
final
- backgroundColor → Color?
-
Color for container when is expanded
final
- bottomBarHeight → double?
-
Value to indicate the bottom bar height
final
- bottomBarWidth → double?
-
Value to indicate the bottom bar width
final
- bottomRadius → double
-
Double value to indicate when radius for corner on bottom bar
final
- bottomSheetHeight → double?
-
Double value to indicate the bottom sheet height
final
-
Value to indicate the position of the expandable button (center, end)
final
-
children
→ List<
BottomSheetBarIcon> -
List of BottomSheetBarIcon to show whitin the widget
final
- currentIndex → int?
-
Value to indicate what icon tab is selected
final
- curve → Curve
-
Curve to use on animation
final
- duration → Duration?
-
Indicate the duration when expand bottom sheet
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconColor → Color?
-
Color for expandable button
final
- iconExpand → Widget?
-
Icon to show into expandable button
final
- innerChild → Widget?
-
Widget to render into the bottom sheet
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onClose → (dynamic Function()?)
-
Function trigger when close bottom sheet
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showExpandableButton → bool
-
Boolean value to show the expandable button
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _BottomBarSheetState -
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
-
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}) → 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