feat: ability to copy about information.

This commit is contained in:
Aunali321
2022-08-21 18:36:28 +05:30
parent fba96fde9c
commit 519a6d25e6
2 changed files with 44 additions and 18 deletions

View File

@@ -15,10 +15,7 @@ class CustomSwitch extends StatelessWidget {
Color? activeColor = Theme.of(context).colorScheme.tertiary;
Color? inactiveColor = Theme.of(context).colorScheme.secondary;
return GestureDetector(
onTap: () {
onChanged(!value);
Fluttertoast.showToast(msg: 'Rooted: ${!value}');
},
onTap: () => onChanged(!value),
child: SizedBox(
height: 25,
width: 50,