Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.

Inheritance

Constructors

AnimatedDefaultTextStyle({Key key, @required Widget child, @required TextStyle style, Curve curve: Curves.linear, @required Duration duration })

Creates a widget that animates the default text style implicitly.

Properties

child Widget

The widget below this widget in the tree.

read-only
style TextStyle

The target text style.

read-only
curve Curve

The curve to apply when animating the parameters of this container.

read-only, inherited
duration Duration

The duration over which to animate the parameters of this container.

read-only, inherited
hashCode int

Get a hash code for this object.

read-only, inherited
key Key

Controls how one widget replaces another widget in the tree.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

createState() → _AnimatedDefaultTextStyleState

Creates the mutable state for this widget at a given location in the tree.

debugFillDescription(List<String> description) → void

Add additional information to the given description for use by toString.

createElement() StatefulElement

Creates a StatefulElement to manage this widget's location in the tree.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited
toStringShort() String

A short, textual description of this widget.

inherited