toggle_button 0.0.2 toggle_button: ^0.0.2 copied to clipboard
A new flutter plugin project.
Usage Example #
import toggle_button.dart
import 'package:toggle_button/toggle_button.dart';
For Toggle Button. #
ToggleButton(
onChange: (status) {
},
),
For Customization. #
ToggleButton(
borderRadius: 40.0,
size: 15.0,
backgroundColor: Colors.indigo,
foregroundColor: Colors.white,
axis: ToggleButtonAlignment.horizontal,
deactivatedColor: Colors.grey,
onChange: (status) {
},
),