buttonContent static method

Widget buttonContent({
  1. Key? key,
  2. required ButtonContent content,
  3. ButtonType type = ButtonType.filled,
  4. ButtonSize size = ButtonSize.l,
  5. VoidCallback? onClick,
  6. bool enabled = true,
  7. ButtonColorType colorType = ButtonColorType.primary,
})

Implementation

static Widget buttonContent({
  Key? key,
  required ButtonContent content,
  ButtonType type = ButtonType.filled,
  ButtonSize size = ButtonSize.l,
  VoidCallback? onClick,
  bool enabled = true,
  ButtonColorType colorType = ButtonColorType.primary,
}) {
  return _AtomicxButton(
    key: key,
    type: type,
    content: content,
    size: size,
    onClick: onClick,
    enabled: enabled,
    colorType: colorType,
  );
}