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);
        },
      ),
    );
  }
}

Libraries

column_builder
custom_dropdown