Skip to content

SelectTextField is a Flutter package that provides a customizable text field widget with a dropdown icon. It allows users to select options from a modal bottom sheet, providing a convenient and intuitive user interface for selecting values.

License

Notifications You must be signed in to change notification settings

aro-wolo/select_text_field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SelectTextField

SelectTextField is a Flutter package that provides a customizable text field widget with a dropdown icon. It allows users to select options from a modal bottom sheet, providing a convenient and intuitive user interface for selecting values.

UI

Screen shoot

Features

  • Integration of text field and dropdown functionality into a single widget.
  • Customizable appearance and behavior to fit various use cases.
  • Easy integration with existing Flutter projects.
  • Provides a modal bottom sheet for selecting options, ensuring a consistent user experience across platforms.

Installation

To use SelectTextField in your Flutter project, add the following dependency to your pubspec.yaml file:

dependencies:
  select_text_field: ^0.0.2  # Replace with the latest version

Then, run flutter pub get to install the package.

Usage

import 'package:select_text_field/select_text_field.dart';

You can then use the SelectTextField widget in your Flutter app:

SelectTextField(
  options: ['Option 1', 'Option 2', 'Option 3'],
  label: 'Select an option',
  controller: TextEditingController(),
  onChanged: (value) {
    // Handle selected value
  },
),

About

SelectTextField is a Flutter package that provides a customizable text field widget with a dropdown icon. It allows users to select options from a modal bottom sheet, providing a convenient and intuitive user interface for selecting values.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published