BrnDeleteTagController class
标签控制器,用于主动添加和删除标签
Constructors
-
BrnDeleteTagController({List<
String> ? initTags})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notifier
↔ ValueNotifier<
List< String> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
no setter
Methods
-
addTag(
String tag) → void - 添加单个标签到集合末尾
-
addTags(
List< String> tags) → void - 添加标签集合
-
clear(
) → void - 清空所有标签
-
deleteForIndex(
int index) → String? - 删除指定 index 的标签,并返回其内容
-
deleteForTag(
String tag) → bool - 删除某个具体内容的标签,成功返回 true,失败返回 false
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setTags(
List< String> tags) → void - 初始时设置全量的标签
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited