ClosableAnimationController class
Properties
-
closable
→ AnimationController
-
The closable entity that this
SingleAutoClosable
instance is associated with.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isClosed
→ bool?
-
Whether the object is already closed.
null
means you can't extract such information.
For example: Flutter's ChangeNotifier doesn't tell you if he was disposed
no setteroverride
-
onClose
→ void Function()?
-
A callback function that can be provided to perform custom actions when
the associated entity is closed. This function is executed after close
is called. If close is Future, then it will be awaited and called onClose.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close()
→ void
-
Closes the current instance.
The returned future completes when the instance has been closed.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Operators
-
operator ==(dynamic other)
→ bool
-
The equality operator.
inherited