SidebarXTheme class
Constructors
- SidebarXTheme({double width = 70, double height = double.infinity, EdgeInsets padding = EdgeInsets.zero, EdgeInsets margin = EdgeInsets.zero, BoxDecoration? decoration, IconThemeData? iconTheme, IconThemeData? selectedIconTheme, TextStyle? textStyle, TextStyle? selectedTextStyle, BoxDecoration? itemDecoration, BoxDecoration? selectedItemDecoration, EdgeInsets? itemMargin, EdgeInsets? selectedItemMargin, EdgeInsets? itemPadding, EdgeInsets? selectedItemPadding, EdgeInsets? itemTextPadding, EdgeInsets? selectedItemTextPadding, Color? hoverColor, TextStyle? hoverTextStyle, IconThemeData? hoverIconTheme})
-
const
Properties
- decoration → BoxDecoration?
-
SidebarX decoration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
SidebarX height
final
- hoverColor → Color?
-
Background color of SidebarXItem when the mouse
cursor hover over an item
final
- hoverIconTheme → IconThemeData?
-
Hovered SidebarXItem icon theme
final
- hoverTextStyle → TextStyle?
-
SidebarXItem text style when the mouse
cursor hover over an item
final
- iconTheme → IconThemeData?
-
Unselected SidebarXItem icons theme
final
- itemDecoration → BoxDecoration?
-
Unselected item SidebarXItem decoration
final
- itemMargin → EdgeInsets?
-
Unselected item SidebarXItem marging
final
- itemPadding → EdgeInsets?
-
Unselected item SidebarXItem padding
final
- itemTextPadding → EdgeInsets?
-
Unselected item SidebarXItem text padding
final
- margin → EdgeInsets
-
SidebarX margin
final
- padding → EdgeInsets
-
SidebarX padding
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIconTheme → IconThemeData?
-
Selected SidebarXItem icon theme
final
- selectedItemDecoration → BoxDecoration?
-
Selected item SidebarXItem decoration
final
- selectedItemMargin → EdgeInsets?
-
Selected item SidebarXItem marging
final
- selectedItemPadding → EdgeInsets?
-
Selected item SidebarXItem padding
final
- selectedItemTextPadding → EdgeInsets?
-
Selected item SidebarXItem text padding
final
- selectedTextStyle → TextStyle?
-
Selected SidebarXItem text style
final
- textStyle → TextStyle?
-
Unselected SidebarXItem text style
final
- width → double
-
SidebarX width
final
Methods
-
copyWith(
{double? width, double? height, EdgeInsets? padding, EdgeInsets? margin, BoxDecoration? decoration, IconThemeData? iconTheme, IconThemeData? selectedIconTheme, TextStyle? textStyle, TextStyle? selectedTextStyle, BoxDecoration? itemDecoration, BoxDecoration? selectedItemDecoration, EdgeInsets? itemMargin, EdgeInsets? selectedItemMargin, EdgeInsets? itemPadding, EdgeInsets? selectedItemPadding, EdgeInsets? itemTextPadding, EdgeInsets? selectedItemTextPadding, Color? hoverColor, TextStyle? hoverTextStyle, IconThemeData? hoverIconTheme}) → SidebarXTheme - Defautl copyWith method
-
mergeFlutterTheme(
BuildContext context) → SidebarXTheme - Method to get default flutter theme settings
-
mergeWith(
SidebarXTheme theme) → SidebarXTheme - Merges two themes together
-
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