working on preferences

This commit is contained in:
ashrafzarkanisala
2024-10-07 07:43:07 +03:00
parent 00277742d0
commit ebde81b64d
8 changed files with 330 additions and 49 deletions

View File

@ -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