VoDashboardDrawerTheme class
When tileBuilder is null, VoTileView renders default icon + title tiles.
Constructors
-
VoDashboardDrawerTheme({double? width, ShapeBorder? shape, VoSafeAreaInsets safeArea = const VoSafeAreaInsets(top: false), double elevation = 4, Color? shadowColor, Color? backgroundColor, Color? surfaceTintColor, EdgeInsetsGeometry padding = EdgeInsets.zero, ScrollPhysics physics = const BouncingScrollPhysics(), bool shrinkWrap = false, Widget headerBuilder(BuildContext context)?, VoTileStyle tileStyle = const VoTileStyle(), VoTileBuilder<
VoTile> ? tileBuilder, Widget separatorBuilder = const SizedBox.shrink(), Widget animationBuilder(Widget, Animation<double> ) = AnimatedSwitcher.defaultTransitionBuilder, Duration animationDuration = const Duration(milliseconds: 300)}) -
const
Properties
-
animationBuilder
→ Widget Function(Widget, Animation<
double> ) -
final
- animationDuration → Duration
-
final
- backgroundColor → Color?
-
final
- elevation → double
-
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBuilder → Widget Function(BuildContext context)?
-
final
- padding → EdgeInsetsGeometry
-
final
- physics → ScrollPhysics
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeArea → VoSafeAreaInsets
-
final
- separatorBuilder → Widget
-
final
- shadowColor → Color?
-
final
- shape → ShapeBorder?
-
final
- shrinkWrap → bool
-
final
- surfaceTintColor → Color?
-
final
-
tileBuilder
→ VoTileBuilder<
VoTile> ? -
final
- tileStyle → VoTileStyle
-
final
- width → double?
-
final
Methods
-
copyWith(
{double? elevation, double? width, Color? backgroundColor, Color? surfaceTintColor, Color? shadowColor, ShapeBorder? shape, VoSafeAreaInsets? safeArea, bool? shrinkWrap, ScrollPhysics? physics, EdgeInsetsGeometry? padding, Widget headerBuilder(BuildContext context)?, Widget? separatorBuilder, VoTileStyle? tileStyle, VoTileBuilder< VoTile> ? tileBuilder, Duration? animationDuration, Widget animationBuilder(Widget, Animation<double> )?}) → VoDashboardDrawerTheme -
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