useRoundedBorder method
Implementation
useRoundedBorder({
double? rounded,
Color? color,
double? width,
BorderStyle? style,
}) {
useParent(
(w) => DecoratedBox(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(rounded ?? 99999)),
border: Border.all(
color: color ?? Colors.transparent,
width: width ?? 0,
style: style ?? BorderStyle.solid,
),
),
child: w,
),
);
}