flutter_tags 0.1.1 flutter_tags: ^0.1.1 copied to clipboard
Flutter tags allows you to create a list of selectable tags, or to insert tags dynamically via input.
flutter_tags #
An implementation of Selectable or Input tags.
In your pubspec.yaml #
dependencies:
flutter_tags: "^0.1.1"
DEMO #
Simple Usage #
Selectable Tags
import 'package:flutter_tags/flutter_tags.dart';
.
.
//Widget
SelectableTags(
tags: <Tag>[
Tag(
id:1,
title: First Tag,
active: true
),
Tag(
id:2,
title: Second Tag,
active: false
),
.
.
],
columns: 3, // default 4
onPressed: (tag){
print(tag);
},
)
Input Tags
Work in Progress...
Issues #
If you encounter problems, open an issue. Pull request are also welcome.