FormStyle constructor
const
FormStyle({
- EdgeInsetsGeometry? padding,
- AlignmentGeometry? alignment,
- EdgeInsetsGeometry? contentPadding,
- InputBorder? border,
- InputBorder? disabledBorder,
- InputBorder? errorBorder,
- Color? backgroundColor,
- double? height,
- double? width,
- Color? color,
- double? borderWidth,
- TextStyle? textStyle,
- TextStyle? errorTextStyle,
- Color? subColor,
- Color? errorColor,
- Color? cursorColor,
- Color? borderColor,
- OutlinedBorder? shape,
- Color? disabledColor,
- BorderRadius? borderRadius,
- Color? disabledBackgroundColor,
- TextAlign textAlign = TextAlign.start,
- TextAlignVertical? textAlignVertical,
- Color? activeColor,
- Color? activeBackgroundColor,
- FormAffixStyle? prefix,
- FormAffixStyle? suffix,
- double elevation = 8.0,
- 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,
});