WayFar
Search…
WayFar
Introduction
Guide
Getting Started
Clean Architecture
Theme and fonts
Navigation and routes
Internationalization
Dependency Injection
Third-Party Integrations
Template
Features
Widgets
KitAppBar
KitDrawer
KitActionButton
KitSwitch
KitTagCheck
KitTextInput
KitNoData
KitNoNotifications
KitShowError
API References
Help & Support
Powered By
GitBook
KitTagCheck
Description
A selectable tag with a label.
Preview
Code
tag_check.dart
1
class
KitTagCheck
extends
StatefulWidget
{
2
​
3
final
String
label
;
4
bool isChecked
;
5
final
Function
(
bool checked
)
onChange
;
6
​
7
KitTagCheck
({
required
this
.
label
,
required
this
.
onChange
,
this
.
isChecked
=
false
,
Key
?
key
})
:
super
(
key
:
key
);
8
​
9
...
10
}
Copied!
API
Property
Description
Type
Default
label
The label shown on the tag
String
-
isChecked
Is the item checked (selected)
String
-
onChange
Callback when the selected item has changed
Function(bool)
-
Previous
KitSwitch
Next
KitTextInput
Last modified
4mo ago
Copy link
Contents
Description
Preview
Code
API