mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 14:47:23 +00:00
working on preferences
This commit is contained in:
@ -13,6 +13,7 @@ class ToggleWidget extends StatelessWidget {
|
||||
final Widget? labelWidget;
|
||||
final Function(dynamic value) onChange;
|
||||
final bool showToggle;
|
||||
final bool showIcon;
|
||||
|
||||
const ToggleWidget({
|
||||
super.key,
|
||||
@ -24,6 +25,7 @@ class ToggleWidget extends StatelessWidget {
|
||||
this.icon,
|
||||
this.labelWidget,
|
||||
this.showToggle = true,
|
||||
this.showIcon = true,
|
||||
});
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user