dropdown_button2 3.0.0-beta.20 dropdown_button2: ^3.0.0-beta.20 copied to clipboard
Flutter's core Dropdown Button widget with steady dropdown menu and many options you can customize to your needs.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dropdown_button2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dropdown_button2: ^3.0.0-beta.20
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:dropdown_button2/dropdown_button2.dart';