fluttertagger 1.0.0+4 copy "fluttertagger: ^1.0.0+4" to clipboard
fluttertagger: ^1.0.0+4 copied to clipboard

A Flutter package that allows for the extension of TextFields to provide tagging capabilities.

FlutterTagger #

FlutterTagger

likes popularity pub points

FlutterTagger is a Flutter package that allows for the extension of TextFields to provide tagging capabilities. A typical use case is in social apps where tagging users or hashtags is required.

Install 🚀 #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  fluttertagger: ^1.0.0+4

Import the package in your project 📥 #

import 'package:fluttertagger/fluttertagger.dart';

Usage 🏗️ #

FlutterTagger(
          controller: flutterTaggerController,
          onSearch: (query) {
              //perform search
          },
          //
          overlay: SearchResultView(),
          builder: (context, containerKey) {
              //return child TextField wrapped with a Container
              //and pass it `containerKey`
            return CommentTextField(
              focusNode: _focusNode,
              containerKey: containerKey,
              controller: flutterTaggerController,
              onSend: () {
                //perform send action
                FocusScope.of(context).unfocus();
                flutterTaggerController.clear();
              },
            );
          },
        )

Explore detailed example demo here.

Demo 📷 #

Example demo

Contributions 🫱🏾‍🫲🏼 #

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.

61
likes
0
pub points
86%
popularity

Publisher

unverified uploader

A Flutter package that allows for the extension of TextFields to provide tagging capabilities.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on fluttertagger