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