style property
ButtonStyle
get
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),
);
}