InheritedProperties class
A set of inherited properties.
https://developer.mozilla.org/en-US/docs/Web/CSS/Inheritance#inherited_properties
- Available extensions
- Annotations
Constructors
- InheritedProperties.root([Iterable deps = const [], TextStyle? widgetStyle])
-
Creates the root properties set.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parent → InheritedProperties?
-
The parent set.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- values → Iterable
-
final
Methods
-
copyWith<
T> ({InheritedProperties? parent, TextStyle? style, T? value}) → InheritedProperties - Creates a copy with the given fields replaced with the new values.
-
get<
T> () → T? -
Gets inherited property of type
T
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareTextStyle(
) → TextStyle - Prepares TextStyle with correct line-height.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited