Dn-a / flutter_tags

With flutter tags you can create selectable or input tags that automatically adapt to the screen width
https://pub.dartlang.org/packages/flutter_tags
MIT License
508 stars 124 forks source link

some question #27

Closed bingweibi closed 5 years ago

bingweibi commented 5 years ago

How to make certain tags light at the beginning

Dn-a commented 5 years ago

@bingweibi Please provide more information

bingweibi commented 5 years ago

What I want to say is that some tags are active = true at the beginning, not all true or false.

Dn-a commented 5 years ago

@bingweibi for each tag you can decide whether it should be true or false. example with ternary operator active = ( i < 3 || i > 10 ? true : false);

bingweibi commented 5 years ago

ok, thank you