outlinedTextButton function
Widget
outlinedTextButton({
- double margin = defaultPadding,
- double radius = defaultRadius,
- ButtonStyle? style,
- required Widget child,
- 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,
),
);
}