EasyFormzTheme constructor

EasyFormzTheme({
  1. TextStyle labelTextStyle = const TextStyle(fontSize: 15, fontWeight: FontWeight.w600),
  2. Color borderColor = Colors.black12,
  3. double borderWidth = 1.6,
  4. Color valueColor = Colors.purple,
  5. TextStyle optionTextStyle = const TextStyle(),
  6. TextStyle warningTextStyle = const TextStyle(color: Colors.red),
  7. Color warningColor = Colors.red,
  8. Color iconColor = Colors.black54,
  9. double iconSize = 24,
  10. 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',
});