NyFormChip.compact constructor
Compact version of the NyFormChip widget
Implementation
NyFormChip.compact(Field field, this.onChanged, {super.key})
: field = field
..cast.addMetaData({
"backgroundColor": Colors.grey.shade100,
"selectedColor": Colors.grey.shade100,
"shape":
RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
"selectedSide": BorderSide(color: Colors.grey.shade200),
"unselectedSide": BorderSide(color: Colors.grey.shade100),
"labelStyle": const TextStyle(
fontWeight: FontWeight.bold, color: Colors.black),
"unselectedTextStyle": const TextStyle(
fontWeight: FontWeight.bold, color: Colors.black),
"selectedTextStyle": const TextStyle(
fontWeight: FontWeight.bold, color: Colors.black),
"padding": const EdgeInsets.all(8.0),
"runSpacing": 8.0,
"spacing": 8.0,
"checkmarkColor": Colors.black,
});