smart_dropdown 1.0.0 smart_dropdown: ^1.0.0 copied to clipboard
A Flutter package that provides a more presentable way to show dropdown to the mobile users
Smart Dropdown #
Smart Dropdown is a package which shows a dropdown in an elegant way.
Install #
Add this line to your pubspec.yaml:
dependencies:
smart_dropdown: ^1.0.0
Then run this command:
$ flutter packages get
Then add this import:
import 'package:smart_dropdown/smart_dropdown.dart';
Basic Example #
Basic example demonstrates the use of smart dropdown. It also has an option to select any item by default.
SmartDropDown(
items: items,
hintText: "Smart Dropdown Demo",
borderRadius: 5,
borderColor: Theme.of(context).primaryColor,
expandedColor: Theme.of(context).primaryColor,
)