CurtainSideBarConfig class

Constructors

CurtainSideBarConfig({double width = _kSideBarWidth, double expandWidth = _kSideBarExpandWidth, Duration duration = _kSideBarDuration, Widget headerBuilder(bool isExpand, int page)?, Widget footerBuilder(bool isExpand, int page)?, Color backgroundColor = Colors.white, Color actionsBackgroundColor = Colors.white, Color actionsSelectedBackgroundColor = Colors.green, double actionsSpacing = 15, double selectedActionXOffset = 10, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.end, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center})
Config of the CurtainSideBar.
const

Properties

actionsBackgroundColor Color
CurtainSideBar actions background color when it is not selected.
final
actionsSelectedBackgroundColor Color
CurtainSideBar actions background color when it is selected.
final
actionsSpacing double
Spacing between the actions of the CurtainSideBar.
final
backgroundColor Color
CurtainSideBar background color.
final
crossAxisAlignment CrossAxisAlignment
Cross Axis Alignment of items inside CurtainSideBar.
final
duration Duration
CurtainSideBar expand and shrink duration.
final
expandWidth double
Width of CurtainSideBar when it's Hovered on screens with width more than 700 and width on drawer on screens with width lower than 700.
final
footerBuilder → (Widget Function(bool isExpand, int page)?)
Builds footer for the CurtainSideBar.
final
hashCode int
The hash code for this object.
no setterinherited
headerBuilder → (Widget Function(bool isExpand, int page)?)
Builds header for the CurtainSideBar.
final
mainAxisAlignment MainAxisAlignment
Main Axis Alignment of items inside CurtainSideBar.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedActionXOffset double
Selected Item edge X offset.
final
width double
Default width of CurtainSideBar when its not hovered.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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