StacBottomNavigationBar class

Annotations
  • @freezed

Constructors

StacBottomNavigationBar({required List<StacBottomNavigationBarItem> items, double? elevation, BottomNavigationBarType? bottomNavigationBarType, String? fixedColor, String? backgroundColor, @Default.new(24) double iconSize, String? selectedItemColor, String? unselectedItemColor, @Default.new(14.0) double selectedFontSize, @Default.new(12.0) double unselectedFontSize, StacTextStyle? selectedLabelStyle, StacTextStyle? unselectedLabelStyle, bool? showSelectedLabels, bool? showUnselectedLabels, bool? enableFeedback, BottomNavigationBarLandscapeLayout? landscapeLayout})
const
factory
StacBottomNavigationBar.fromJson(Map<String, dynamic> json)
factory

Properties

backgroundColor String?
no setterinherited
bottomNavigationBarType BottomNavigationBarType?
no setterinherited
copyWith → $StacBottomNavigationBarCopyWith<StacBottomNavigationBar>
Create a copy of StacBottomNavigationBar with the given fields replaced by the non-null parameter values.
no setterinherited
elevation double?
no setterinherited
enableFeedback bool?
no setterinherited
fixedColor String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
iconSize double
no setterinherited
items List<StacBottomNavigationBarItem>
no setterinherited
landscapeLayout BottomNavigationBarLandscapeLayout?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedFontSize double
no setterinherited
selectedItemColor String?
no setterinherited
selectedLabelStyle StacTextStyle?
no setterinherited
showSelectedLabels bool?
no setterinherited
showUnselectedLabels bool?
no setterinherited
unselectedFontSize double
no setterinherited
unselectedItemColor String?
no setterinherited
unselectedLabelStyle StacTextStyle?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this StacBottomNavigationBar to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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