build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Describes the part of the UI represented by this widget.

Implementation

@override
Widget build(BuildContext context) {
  return Button(
    child: child,
    onPressed: onPressed,
    variant: ButtonVariant.primary,
    size: size,
    padding: padding,
    enabled: enabled,
    autofocus: autofocus,
    focusId: focusId,
    focusController: focusController,
  );
}