Fluent2FieldButton constructor

const Fluent2FieldButton({
  1. required VoidCallback? onOpen,
  2. required Widget builder(
    1. BuildContext context,
    2. bool focused,
    3. bool pressed
    ),
  3. required String label,
  4. String? value,
  5. String? hint,
  6. bool? expanded,
  7. FocusNode? focusNode,
  8. bool autofocus = false,
  9. Key? key,
})

A field-faced button that opens what onOpen shows.

Implementation

const Fluent2FieldButton({
  required this.onOpen,
  required this.builder,
  required this.label,
  this.value,
  this.hint,
  this.expanded,
  this.focusNode,
  this.autofocus = false,
  super.key,
});