Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions assets/icons/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions assets/icons/sub.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Home extends StatefulWidget {

class _HomeState extends State<Home> {
bool isLoading = false;
bool isChecked = false;

@override
Widget build(BuildContext context) {
Expand All @@ -38,6 +39,14 @@ class _HomeState extends State<Home> {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
IonCheckboxSimple(
onChange: (value) {
setState(() {
isChecked = value;
});
},
isChecked: isChecked,
),
IonChipSelected(
text: 'Loren Ipsum, 100 - Centro',
icon: IonIcons.localization,
Expand Down
Loading