MultiPreviewThemeData class final
A PreviewThemeData that applies multiple themes in sequence, where the first theme in the list is the outermost wrapper.
- Inheritance
-
- Object
- PreviewThemeData
- MultiPreviewThemeData
Constructors
-
MultiPreviewThemeData(List<
PreviewThemeData> themes) -
Creates a MultiPreviewThemeData that applies
themesin sequence, nesting them from first (outermost) to last (innermost).const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
themes
→ List<
PreviewThemeData> -
The list of themes to apply.
final
Methods
-
apply(
BuildContext context, Widget child) → Widget -
Applies this theme to the
childwidget.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