triangle method
Extension method to directly access VxTriangle with any widget without wrapping or with dot operator.
Implementation
VxTriangle triangle({
Key? key,
Widget? child,
Color? backgroundColor,
double? width,
double? height,
double? strokeWidth,
}) =>
VxTriangle(
key: key,
backgroundColor: backgroundColor,
width: width,
height: height,
strokeWidth: strokeWidth,
child: this,
);