FormStyle constructor

const FormStyle({
  1. EdgeInsetsGeometry? padding,
  2. AlignmentGeometry? alignment,
  3. EdgeInsetsGeometry? contentPadding,
  4. InputBorder? border,
  5. InputBorder? disabledBorder,
  6. InputBorder? errorBorder,
  7. Color? backgroundColor,
  8. double? height,
  9. double? width,
  10. Color? color,
  11. double? borderWidth,
  12. TextStyle? textStyle,
  13. TextStyle? errorTextStyle,
  14. Color? subColor,
  15. Color? errorColor,
  16. Color? cursorColor,
  17. Color? borderColor,
  18. OutlinedBorder? shape,
  19. Color? disabledColor,
  20. BorderRadius? borderRadius,
  21. Color? disabledBackgroundColor,
  22. TextAlign textAlign = TextAlign.start,
  23. TextAlignVertical? textAlignVertical,
  24. Color? activeColor,
  25. Color? activeBackgroundColor,
  26. FormAffixStyle? prefix,
  27. FormAffixStyle? suffix,
  28. double elevation = 8.0,
  29. FormInputBorderStyle borderStyle = FormInputBorderStyle.none,
})

Class for defining styles for Form.

Some parameters may not be supported depending on the type of form.

Form用のスタイルを定義するためのクラス。

フォームの種類によっては対応できないパラメーターもあります。

Implementation

const FormStyle({
  this.padding,
  this.alignment,
  this.contentPadding,
  this.border,
  this.disabledBorder,
  this.errorBorder,
  this.backgroundColor,
  this.height,
  this.width,
  this.color,
  this.borderWidth,
  this.textStyle,
  this.errorTextStyle,
  this.subColor,
  this.errorColor,
  this.cursorColor,
  this.borderColor,
  this.shape,
  this.disabledColor,
  this.borderRadius,
  this.disabledBackgroundColor,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.activeColor,
  this.activeBackgroundColor,
  this.prefix,
  this.suffix,
  this.elevation = 8.0,
  this.borderStyle = FormInputBorderStyle.none,
});