DefaultAnimationStyle class sealed
Designates an AnimationStyle for descendant widgets to fall back to.
- Implemented types
Constructors
- DefaultAnimationStyle({Key? key, required AnimationStyle style, bool mergeWithAncestor, required Widget child})
-
Creates a default AnimationStyle widget.
constfactory
Properties
Methods
-
createElement(
) → Element -
Inflates this configuration to a concrete instance.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getNotifier(
BuildContext context) → ValueListenable< AnimationStyle> -
Returns an object that sends a notification when the default style of the corresponding
contextchanges. -
of(
BuildContext context, {bool createDependency = false}) → AnimationStyle - Returns the AnimationStyle corresponding to the nearest ancestor DefaultAnimationStyle widget.
Constants
- fallbackCurve → const Curve
- A fallback Curve to use for AnimationController and ValueAnimation objects.
- fallbackDuration → const Duration
- A fallback Duration to use for AnimationController and ValueAnimation objects.