EasyFormzTheme constructor
EasyFormzTheme({
- TextStyle labelTextStyle = const TextStyle(fontSize: 15, fontWeight: FontWeight.w600),
- Color borderColor = Colors.black12,
- double borderWidth = 1.6,
- Color valueColor = Colors.purple,
- TextStyle optionTextStyle = const TextStyle(),
- TextStyle warningTextStyle = const TextStyle(color: Colors.red),
- Color warningColor = Colors.red,
- Color iconColor = Colors.black54,
- double iconSize = 24,
- String warningText = 'Please fill the form correctly',
Implementation
EasyFormzTheme({
this.labelTextStyle = const TextStyle(
fontSize: 15,
fontWeight: FontWeight.w600,
),
this.borderColor = Colors.black12,
this.borderWidth = 1.6,
this.valueColor = Colors.purple,
this.optionTextStyle = const TextStyle(),
this.warningTextStyle = const TextStyle(color: Colors.red),
this.warningColor = Colors.red,
this.iconColor = Colors.black54,
this.iconSize = 24,
this.warningText = 'Please fill the form correctly',
});