Entry class
Animates its child into a visible state (opacity, scale,offset and angle)
- Inheritance
Constructors
- Entry({Key? key, Duration delay = Duration.zero, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease, bool visible = true, double opacity = 1, double scale = 1, double xOffset = 0, double yOffset = 0, double angle = 0, required Widget child})
-
Default constructor (motionless by default)
const
- Entry.all({Key? key, Duration delay = Duration.zero, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease, bool visible = true, double opacity = 0, double scale = 0, double xOffset = 0, double yOffset = 150, double angle = 0, required Widget child})
-
Constructor making use of every animation by default except angle and xOffset
const
- Entry.offset({Key? key, Duration delay = Duration.zero, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease, bool visible = true, double xOffset = 0, double yOffset = 1000, required Widget child})
-
Offset-only constructor
const
- Entry.opacity({Key? key, Duration delay = Duration.zero, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease, bool visible = true, double opacity = 0, required Widget child})
-
Opacity-only constructor
const
- Entry.scale({Key? key, Duration delay = Duration.zero, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease, bool visible = true, double scale = 0, required Widget child})
-
Scale-only constructor
const
Properties
- angle → double
-
The initial angle
final
- child → Widget
-
The child to animate
final
- curve → Curve
-
The animation curve
final
- delay → Duration
-
The delay before animating
final
- duration → Duration
-
The duration of the animation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- opacity → double
-
The initial opacity (goes from opacity to 1)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
The initial scale (goes from scale to 1)
final
- visible → bool
-
The state of visibility
final
- xOffset → double
-
The initial horizontal offset (goes from xOffset to 0)
final
- yOffset → double
-
The initial vertical offset (goes from yOffset to 0)
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
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}) → 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