style property

ButtonStyle style

The style of the button, based on size class

Implementation

ButtonStyle get style {
  return ButtonStyle(
    textStyle: MaterialStatePropertyAll(TextStyle(fontSize: fontSize)),
    padding: MaterialStatePropertyAll(padding),
    tapTargetSize: MaterialTapTargetSize.shrinkWrap,
    minimumSize: const MaterialStatePropertyAll(Size.zero),
  );
}