DropdownController<T> 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 → void Function(bool value)?
-
no setter
- onOpen ↔ void Function(bool isOpened)?
-
getter/setter pair
- openFunction → VoidCallback?
-
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
-
setValueFunction
→ ItemSelectionCallback<
T> ? -
no setter
-
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(
{required void errorFunction(bool value), required void onOpenCallback(bool isOpened)?, required ItemSelectionCallback< T> setItemFunction, required VoidCallback openFunction}) → void -
setResultOptions(
ResultOptions resultOptions) → void -
setValue(
CoolDropdownItem< T> ? item) → 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