BottomBarWithSheetController class

Constructors

BottomBarWithSheetController({required int initialIndex, bool sheetOpened = false, dynamic onItemSelect(int index)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
isOpened bool
Is sheet opened
no setter
itemsStream Stream<int>
Stream to check wich item now selected
no setter
onItemSelect ↔ (dynamic Function(int index)?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIndex int
Current selected page (item) of List<BottomBarWithSheetItem> items
no setter
stream Stream<bool>
Stream to check is bottom bar open or close
no setter

Methods

close() Future<void>
Close controller helpers - controllers before stop working with main BottomBarWithSheetController controller
closeSheet() → void
Method to close sheet
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openSheet() → void
Method to open sheet
selectItem(int val) → void
Method to select one item of List<BottomBarWithSheetItem> items
toggleSheet() → void
Method to open / close sheet if isOpened == true -> closing sheet if isOpened == false -> opening sheet
toString() String
A string representation of this object.
inherited

Operators

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