buttonStyleRound function

ButtonStyle buttonStyleRound({
  1. double padding = defaultPadding,
  2. double radius = defaultRadius,
})

Implementation

ButtonStyle buttonStyleRound({
  double padding = defaultPadding,
  double radius = defaultRadius,
}) =>
    ButtonStyle(
      padding: MaterialStateProperty.all<EdgeInsets>(padAll(padding)),
      shape: MaterialStateProperty.all(
          RoundedRectangleBorder(borderRadius: borderRadius(radius))),
    );