DefaultTextStyle class
- Inheritance
-
- Object
- Widget
- InheritedWidget
- DefaultTextStyle
Constructors
- DefaultTextStyle({Key? key, required TextStyle style, required Widget child})
-
const
Properties
Methods
-
createElement(
) → InheritedElement -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateShouldNotify(
covariant DefaultTextStyle oldWidget) → bool -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
maybeOf(
BuildContext context) → TextStyle -
of(
BuildContext context) → TextStyle