0 purchases
text chip field
A Flutter package for taking text input and converting them to chips(Widget) . Kunal jain
text_chip_field be used for multi-word input
eg Hobbies, tags, keywords, interests.
Pub.dev link
Features #
Beautiful Tags input field
Getting started #
With Dart:
dart pub add text_chip_field
copied to clipboard
With Flutter:
flutter pub add text_chip_field
copied to clipboard
Pubspec.yaml:
dependencies:
text_chip_field: ^0.0.7
copied to clipboard
Import it:
import 'package:text_chip_field/text_chip_field.dart';
Usage #
Frontend
TextChipField(
initialString: s,
seprator: " ",
decoration: InputDecoration(
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(30),
),
),
onChanged: (val) {
print(val); //"changed string"
},
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.