0 purchases
custom dropdown
Custom Dropdown #
A simple dropdown library with custom style for Flutter.
Quick Start #
Add CustomDropdown to the widget tree
class TestWidgetState extends State<TestWidget> {
int _checkboxValue;
@override
Widget build(BuildContext context) {
return Container(
child: CustomDropdown(
valueIndex: _checkboxValue,
hint: "Hint",
items: [
CustomDropdownItem(text: "first"),
CustomDropdownItem(text: "second"),
CustomDropdownItem(text: "third"),
CustomDropdownItem(text: "fourth"),
],
onChanged: (newValue) {
setState(() => _checkboxValue = newValue);
},
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.