SideBarAnimated class
ignore: must_be_immutable
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SideBarAnimated
Constructors
-
SideBarAnimated({Key? key, Color sideBarColor = const Color(0xff1D1D1D), Color animatedContainerColor = const Color(0xff323232), Color unSelectedTextColor = const Color(0xffA0A5A9), Color selectedIconColor = Colors.white, Color unselectedIconColor = const Color(0xffA0A5A9), Color hoverColor = Colors.black38, Color splashColor = Colors.black87, Color highlightColor = Colors.black, double borderRadius = 20, double sideBarWidth = 260, double sideBarSmallWidth = 84, bool settingsDivider = true, Curve curve = Curves.easeOut, Duration sideBarAnimationDuration = const Duration(milliseconds: 700), Duration floatingAnimationDuration = const Duration(milliseconds: 500), Color dividerColor = const Color(0xff929292), TextStyle textStyle = const TextStyle(fontFamily: "SFPro", fontSize: 16, color: Colors.white), required String mainLogoImage, required List<
SideBarItem> sidebarItems, required double widthSwitch, required ValueChanged<int> ? onTap})
Properties
- animatedContainerColor ↔ Color
-
getter/setter pair
- borderRadius ↔ double
-
getter/setter pair
- curve ↔ Curve
-
getter/setter pair
- dividerColor ↔ Color
-
getter/setter pair
- floatingAnimationDuration ↔ Duration
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightColor ↔ Color
-
getter/setter pair
- hoverColor ↔ Color
-
getter/setter pair
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mainLogoImage ↔ String
-
getter/setter pair
-
onTap
→ ValueChanged<
int> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIconColor ↔ Color
-
getter/setter pair
- settingsDivider ↔ bool
-
getter/setter pair
- sideBarAnimationDuration ↔ Duration
-
getter/setter pair
- sideBarColor ↔ Color
-
getter/setter pair
-
getter/setter pair
- sideBarSmallWidth ↔ double
-
getter/setter pair
- sideBarWidth ↔ double
-
getter/setter pair
- splashColor ↔ Color
-
getter/setter pair
- textStyle ↔ TextStyle
-
getter/setter pair
- unselectedIconColor ↔ Color
-
getter/setter pair
- unSelectedTextColor ↔ Color
-
getter/setter pair
- widthSwitch ↔ double
-
getter/setter pair
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< SideBarAnimated> -
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, 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