FieldStyleChip constructor

FieldStyleChip({
  1. Color? backgroundColor,
  2. Color? selectedColor,
  3. double? headerSpacing = 5.0,
  4. double? footerSpacing = 5.0,
  5. OutlinedBorder shape = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(8))),
  6. BorderSide unselectedSide = const BorderSide(color: Color(0xffbfbbc5), width: 1),
  7. BorderSide selectedSide = const BorderSide(color: Color(0xffbfbbc5), width: 1),
  8. TextStyle labelStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.black),
  9. TextStyle unselectedTextStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.black),
  10. TextStyle selectedTextStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.white),
  11. EdgeInsets padding = const EdgeInsets.all(8.0),
  12. double runSpacing = 8.0,
  13. double spacing = 8.0,
  14. Color checkmarkColor = Colors.white,
  15. MaterialTapTargetSize materialTapTargetSize = MaterialTapTargetSize.shrinkWrap,
  16. Color shadowColor = Colors.transparent,
  17. Color surfaceTintColor = Colors.transparent,
})

Implementation

FieldStyleChip({
  this.backgroundColor,
  this.selectedColor,
  super.headerSpacing = 5.0,
  super.footerSpacing = 5.0,
  this.shape = const RoundedRectangleBorder(
    borderRadius: BorderRadius.all(Radius.circular(8)),
  ),
  this.unselectedSide = const BorderSide(color: Color(0xffbfbbc5), width: 1),
  this.selectedSide = const BorderSide(color: Color(0xffbfbbc5), width: 1),
  this.labelStyle = const TextStyle(
    fontWeight: FontWeight.bold,
    color: Colors.black,
  ),
  this.unselectedTextStyle = const TextStyle(
    fontWeight: FontWeight.bold,
    color: Colors.black,
  ),
  this.selectedTextStyle = const TextStyle(
    fontWeight: FontWeight.bold,
    color: Colors.white,
  ),
  this.padding = const EdgeInsets.all(8.0),
  this.runSpacing = 8.0,
  this.spacing = 8.0,
  this.checkmarkColor = Colors.white,
  this.materialTapTargetSize = MaterialTapTargetSize.shrinkWrap,
  this.shadowColor = Colors.transparent,
  this.surfaceTintColor = Colors.transparent,
});