Fluent2FieldFrame constructor

const Fluent2FieldFrame({
  1. required Fluent2InputAppearance appearance,
  2. required bool focused,
  3. required bool enabled,
  4. required Widget child,
  5. bool invalid = false,
  6. bool pressed = false,
  7. double minHeight = 32,
  8. EdgeInsetsGeometry padding = EdgeInsets.zero,
  9. MouseCursor cursor = SystemMouseCursors.text,
  10. double? radius,
  11. Fluent2Style? style,
  12. bool textNode = false,
  13. bool editable = false,
  14. bool touchTarget = true,
  15. Key? key,
})

A frame round child in appearance and its states.

Implementation

const Fluent2FieldFrame({
  required this.appearance,
  required this.focused,
  required this.enabled,
  required this.child,
  this.invalid = false,
  this.pressed = false,
  this.minHeight = 32,
  this.padding = EdgeInsets.zero,
  this.cursor = SystemMouseCursors.text,
  this.radius,
  this.style,
  this.textNode = false,
  this.editable = false,
  this.touchTarget = true,
  super.key,
});