Last updated:
0 purchases
f toggle button
Create toggle button with one line code and customize easily
Features #
Create toggle button with one line code
Specify it easily
Allow customize height, with, background color...
Getting started #
import 'package:f_toggle_button/src.dart';
copied to clipboard
Usage #
FToggleButton(
isEnable: true,
onChangeStatus: (bool value) {
},
bgCircleDisable: Colors.white,
bgCircleEnable: Theme.of(context).colorScheme.primary,
bgDisable: Colors.grey.withOpacity(0.5),
borderColorEnable: Theme.of(context).colorScheme.primary.withOpacity(0.5),
borderColorDisEnable: Colors.grey.withOpacity(0.5),
),
FToggleButton(
isEnable: false,
onChangeStatus: (bool value) {
},
bgCircleDisable: Colors.white,
bgCircleEnable: Theme.of(context).colorScheme.primary,
bgDisable: Colors.grey.withOpacity(0.5),
borderColorEnable: Theme.of(context).colorScheme.primary.withOpacity(0.5),
borderColorDisEnable: Colors.grey.withOpacity(0.5),
),
copied to clipboard
Screenshot
switch_button #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.