UIChoiceCardThemeData.config constructor
const
UIChoiceCardThemeData.config({
- Color? backgroundColor = Colors.black12,
- Color? foregroundColor = Colors.black,
- BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(16)),
- TextStyle? titleStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500),
- TextStyle? subtitleStyle = const TextStyle(fontSize: 14, color: Colors.black45),
Implementation
const UIChoiceCardThemeData.config({
this.backgroundColor = Colors.black12,
this.foregroundColor = Colors.black,
this.borderRadius = const BorderRadius.all(Radius.circular(16)),
this.titleStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500),
this.subtitleStyle = const TextStyle(fontSize: 14, color: Colors.black45),
});