animated_custom_dropdown 1.2.0 animated_custom_dropdown: ^1.2.0 copied to clipboard
Custom dropdown widget allows to add highly customizable widget in your projects with proper open and close animations and also comes with form required validation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add animated_custom_dropdown
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
animated_custom_dropdown: ^1.2.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:animated_custom_dropdown/animated_section.dart';
import 'package:animated_custom_dropdown/custom_dropdown.dart';
import 'package:animated_custom_dropdown/dropdown_field.dart';
import 'package:animated_custom_dropdown/dropdown_overlay.dart';
import 'package:animated_custom_dropdown/overlay_builder.dart';