Radio Button¶
Radio buttons allow users to select one option from a set.
Radio List Tile¶
Radio Button Multiple¶
Customization¶
To change the whole Radio Button Theme, please open the core/themes/app_theme.dart
. Here's how to change the Widget Radio Button theme:
radioTheme: RadioThemeData(
fillColor: MaterialStateProperty.resolveWith<Color>((Set<MaterialState> states) {
if (states.contains(MaterialState.selected)) {
return AppColors.secondary;
} else if (states.contains(MaterialState.hovered)) {
return AppColors.splash;
}
return AppColors.fillPrimary;
}),
),
Authors: