UIChoiceCardThemeData.config constructor

const UIChoiceCardThemeData.config({
  1. Color? backgroundColor = Colors.black12,
  2. Color? foregroundColor = Colors.black,
  3. BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(16)),
  4. TextStyle? titleStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500),
  5. 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),
});