Search packages, repositories and app categories

GitHub repositoryHabiburRehman38/flutter_custom_select

flutter_custom_select

Flutter custom selector dart package with awesome UI.

flutter_custom_select project cover
Stars
3
Forks
8
Last push (UTC)
Mar 21, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Multi Select Flutter

Pub Version

FLutter Custom Selector is a package for creating single-select as well ass multi-select widgets with an awesome and unique user interface.


Single Selection

Multi Selection

Features

  • Supports FormField features like validator.
  • Awesome default design.
  • BottomSheet widget.
  • Make your multi selection awesome.
  • All selection field is enabled in multi selection field.

Usage

CustomSingleSelectField

This widget provide an GestureDetector which open the bottom sheet and are equipped with FormField features. You can customize it using the provided parameters.

To store the selected values, you can use the onSelectionDone parameter.

CustomSingleSelectField<String>(
  items: dataString,
  title: "Country",
  onSelectionDone: (value){
    selectedString = value;
    setState(() {});
  },
  itemAsString: (item)=>item,
),
CustomMultiSelectField

This widget provide an GestureDetector which open the bottom sheet and are equipped with FormField features. You can customize it using the provided parameters.

To store the selected values, you can use the onSelectionDone parameter.

CustomMultiSelectField<String>(
  title: "Country",
  items: dataString, 
  enableAllOptionSelect: true,
  onSelectionDone: _onCountriesSelectionComplete,
  itemAsString: (item) => item.toString(),
),

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Habib Ur Rehman GitHub avatar
GitHub author

Habib Ur Rehman ↗

I am a Senior Flutter Developer with 4+ years of experience in building high-performance, scalable, and user-friendly cross-platform mobile applications. My exp

LanguagesDartHTMLSwiftKotlinObjective-C

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^1.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗