DropdownController class
- Implemented types
Constructors
- DropdownController({Duration duration = const Duration(milliseconds: 500), Duration errorDuration = const Duration(milliseconds: 500), Interval resultArrowInterval = const Interval(0.0, 0.5, curve: Curves.easeOut), Interval resultBoxInterval = const Interval(0.0, 0.5, curve: Curves.easeOut), Interval showDropdownInterval = const Interval(0.5, 1.0, curve: Curves.easeOut), Curve showErrorCurve = Curves.easeIn})
Properties
- controller → AnimationController
-
no setter
- duration → Duration
-
dropdown staggered animation duration
final
- errorController → AnimationController
-
no setter
-
errorDecoration
→ Animation<
Decoration> -
no setter
-
errorDecorationTween
↔ Tween<
Decoration> -
getter/setter pair
- errorDuration → Duration
-
error animation duration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool
-
no setter
- isOpen → bool
-
no setter
- onError → Function?
-
no setter
- onOpen ↔ dynamic Function(bool)?
-
getter/setter pair
- openFunction → Function?
-
no setter
- resetFunction → Function?
-
no setter
- resultArrowInterval → Interval
-
result arrow animation interval
final
-
resultBox
→ Animation<
double> -
no setter
- resultBoxInterval → Interval
-
result box animation interval
final
-
rotation
→ Animation<
double> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
showDropdown
→ Animation<
double> -
no setter
- showDropdownInterval → Interval
-
show dropdown animation interval
final
-
showError
→ Animation<
double> -
no setter
- showErrorCurve → Curve
-
show error animation curve
final
Methods
-
close(
) → void -
createTicker(
TickerCallback onTick) → Ticker -
Creates a ticker with the given callback.
override
-
dispose(
) → void -
error(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → void -
resetError(
) → Future< void> -
resetValue(
) → void -
setFunctions(
Function errorFunction, dynamic onOpenCallback(bool)?, Function openFunction, Function resetFunction) → void -
setResultOptions(
ResultOptions resultOptions) → void -
show(
{required BuildContext context, required DropdownWidget child}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited