FormLabel constructor
const
FormLabel(})
Displays the label for each item on the form.
Pass the text to be displayed to label.
By specifying icon, an icon is displayed before label.
You can change the color of label and icon by specifying color.
If prefix and suffix are specified, widgets can be placed before and after the dividing line.
フォームの各項目のラベルを表示します。
labelに表示するテキストを渡します。
iconを指定することでlabelの前にアイコンが表示されます。
Implementation
const FormLabel(
this.label, {
super.key,
this.icon,
this.color,
this.prefix,
this.suffix,
this.notice,
this.showDivider = true,
});