PlexFormFieldButton constructor

const PlexFormFieldButton({
  1. Key? key,
  2. PlexFormFieldGeneric properties = const PlexFormFieldGeneric.empty(),
  3. PlexButtonType buttonType = PlexButtonType.elevated,
  4. FocusNode? focusNode,
  5. Widget? buttonIcon,
  6. dynamic buttonClick()?,
  7. ButtonStyle? buttonStyle,
})

Creates a unified button widget.

The properties parameter provides basic configuration like title, margins, etc. The buttonType parameter determines which style of button to render.

Implementation

const PlexFormFieldButton({
  super.key,
  this.properties = const PlexFormFieldGeneric.empty(),
  this.buttonType = PlexButtonType.elevated,
  this.focusNode,
  this.buttonIcon,
  this.buttonClick,
  this.buttonStyle,
});