outlinedTextButton function

Widget outlinedTextButton({
  1. double margin = defaultPadding,
  2. double radius = defaultRadius,
  3. ButtonStyle? style,
  4. required Widget child,
  5. required void onPressed()?,
})

Implementation

Widget outlinedTextButton({
  double margin = defaultPadding,
  double radius = defaultRadius,
  ButtonStyle? style,
  required Widget child,
  required void Function()? onPressed,
}) {
  return Padding(
    padding: padAll(margin),
    child: OutlinedButton(
      onPressed: onPressed,
      style: style ?? buttonStyleRound(radius: radius),
      child: child,
    ),
  );
}