NavigationSidebarThemeData class

Inheritance
Annotations

Constructors

const

Properties

bg Color
final
border Color
final
borderStrong Color
final
fg1 Color
final
fg2 Color
final
fg3 Color
final
fg4 Color
final
guide Color
final
hashCode int
The hash code for this object.
no setterinherited
hover Color
final
inputBg Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surface Color
final
type Object
The extension's type.
no setterinherited

Methods

accentFill([double pct = 0.12]) Color
Accent-tinted fill over surface at pct opacity (mirrors the web rgba(74,124,255, N) row highlights).
badgeColors(NavBadgeTone tone) → ({Color bg, Color border, Color fg})
Resolve a NavBadgeTone to its (background, foreground, border) trio.
copyWith({Color? bg, Color? surface, Color? inputBg, Color? hover, Color? border, Color? borderStrong, Color? guide, Color? fg1, Color? fg2, Color? fg3, Color? fg4}) NavigationSidebarThemeData
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<NavigationSidebarThemeData>? other, double t) NavigationSidebarThemeData
Linearly interpolate with another ThemeExtension object.
override
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

Static Methods

contentInset(int depth) double
Content inset of a row at depth.
lineInset(int depth) double
Column where THIS node's children draw their vertical guide.
of(BuildContext context) NavigationSidebarThemeData
Reads the registered extension, or falls back to dark.

Constants

accent → const Color
bodyFont → const String
breakpoints → const NavSidebarBreakpoints
curveStandard → const Curve
danger → const Color
dark → const NavigationSidebarThemeData
directHeight → const double
displayFont → const String
durBase → const Duration
durDrawer → const Duration
durFast → const Duration
elbow → const double
Horizontal stub length of the ├/└ elbow.
groupHeight → const double
gutter → const double
Inline step added per nesting level (drives the connector geometry).
iconItem → const double
iconTop → const double
itemBox → const double
itemHeight → const double
light → const NavigationSidebarThemeData
moduleHeight → const double
monoFont → const String
popShadow → const List<BoxShadow>
radiusLg → const double
radiusMd → const double
radiusSm → const double
radiusXl → const double
railButton → const double
success → const Color
warning → const Color
widthDrawer → const double
widthExpanded → const double
widthRail → const double