AnimatedDrawingState class
A state implementation which allows controlling the animation through an animation controller when provided.
- Inheritance
-
- Object
- State<
KanjiViewer> - AbstractAnimatedDrawingState
- AnimatedDrawingState
Constructors
Properties
- animationCurve ↔ Curve?
-
getter/setter pairinherited
- animationOrder ↔ PathOrder?
-
getter/setter pairinherited
- assetPath ↔ String?
-
getter/setter pairinherited
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- controller ↔ AnimationController
-
getter/setter pairinherited
- curve ↔ CurvedAnimation?
-
getter/setter pairinherited
- debug ↔ DebugOptions
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastPaintedPathIndex ↔ int
-
getter/setter pairinherited
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- onFinishAnimation ↔ VoidCallback
-
getter/setter pairinherited
- onFinishEvoked ↔ bool
-
Ensure that callback fires off only once even widget is rebuild.
getter/setter pairinherited
-
pathSegments
↔ List<
PathSegment> -
getter/setter pairinherited
-
pathSegmentsToAnimate
↔ List<
PathSegment> -
getter/setter pairinherited
-
pathSegmentsToPaintAsBackground
↔ List<
PathSegment> -
getter/setter pairinherited
- range ↔ AnimationRange?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourcePaths
↔ List<
Path> -
getter/setter pairinherited
- widget → KanjiViewer
-
The current configuration.
no setterinherited
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
addListenersToAnimationController(
) → void -
inherited
-
applyAnimationCurve(
) → void -
inherited
-
applyDebugOptions(
) → void -
inherited
-
applyPathOrder(
) → void -
inherited
-
assignPathSegmentsToPainters(
) → void -
inherited
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
buildBackgroundPainter(
) → PathPainter? -
inherited
-
buildForegroundPainter(
) → PathPainter? -
inherited
-
buildUnderlayPainter(
) → PathPainter? -
inherited
-
checkIfDefaultOrderSortingRequired(
) → bool -
inherited
-
checkValidRange(
) → void -
inherited
-
createCustomPaint(
BuildContext context) → Widget -
inherited
-
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(
covariant KanjiViewer oldWidget) → void -
Called whenever the widget configuration changes.
override
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
inherited
-
evokeOnPaintForNewlyPaintedPaths(
int currentPaintedPathIndex) → void -
inherited
-
evokeOnPaintForPath(
int i) → void -
inherited
-
getAnimation(
) → Animation< double> -
inherited
-
getCustomDimensions(
) → Size? -
inherited
-
initState(
) → void -
Called when this object is inserted into the tree.
override
-
newPathPainted(
int currentPaintedPathIndex) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onFinishAnimationDefault(
) → void -
inherited
-
onFinishFrame(
int currentPaintedPathIndex) → void -
inherited
-
parseFromPaths(
SvgParser parser) → void -
inherited
-
parseFromString(
SvgParser parser) → void -
inherited
-
parseFromSvgAsset(
SvgParser parser) → void -
inherited
-
parsePathData(
) → void -
inherited
-
pathsProvided(
) → bool -
inherited
-
preparePathPainterBuilder(
[LineAnimation? lineAnimation]) → PathPainterBuilder -
inherited
-
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
svgAssetProvided(
) → bool -
inherited
-
svgStrProvided(
) → bool -
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
updatePathData(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited