YaruMasterDetailThemeData class
Holds theme data for YaruMasterDetailTheme.
- Inheritance
-
- Object
- ThemeExtension<
YaruMasterDetailThemeData> - YaruMasterDetailThemeData
- Mixed-in types
- Annotations
Constructors
- YaruMasterDetailThemeData({double? breakpoint, double? tileSpacing, EdgeInsetsGeometry? listPadding, PageTransitionsTheme? portraitTransitions, PageTransitionsTheme? landscapeTransitions, bool? includeSeparator, Color? sideBarColor})
-
const
- YaruMasterDetailThemeData.fallback(BuildContext context)
-
factory
Properties
- breakpoint → double?
-
The breakpoint at which
YaruMasterDetailPage
switches between portrait and landscape layouts.final - hashCode → int
-
The hash code for this object.
no setteroverride
- includeSeparator → bool?
-
Controls whether a separator should be included between the content and the sidebar.
Defaults to
true
final - landscapeTransitions → PageTransitionsTheme?
-
The page transitions to use when in landscape mode.
final
- listPadding → EdgeInsetsGeometry?
-
The padding around the master list.
final
- portraitTransitions → PageTransitionsTheme?
-
The page transitions to use when in portrait mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideBarColor → Color?
-
The color of the sidebar. Defaults to
Theme.of(context).colorScheme.surface
, whereTheme
is the material theme.final - tileSpacing → double?
-
The spacing between tiles in the master list.
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{double? breakpoint, double? tileSpacing, EdgeInsetsGeometry? listPadding, PageTransitionsTheme? portraitTransitions, PageTransitionsTheme? landscapeTransitions, bool? includeSeparator, Color? sideBarColor}) → YaruMasterDetailThemeData -
Creates a copy of this object but with the given fields replaced with the
new values.
override
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
lerp(
covariant ThemeExtension< YaruMasterDetailThemeData> ? other, double t) → ThemeExtension<YaruMasterDetailThemeData> -
Linearly interpolate with another ThemeExtension object.
override
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override