bevel method

VxBevel bevel({
  1. Key? key,
  2. Widget? child,
  3. Color? backgroundColor,
  4. double? radius,
  5. double? width,
  6. double? height,
  7. BorderSide? borderSide,
  8. DecorationImage? backgroundImage,
  9. Gradient? gradient,
  10. List<BoxShadow>? shadows,
})

Extension method to directly access VxBevel with any widget without wrapping or with dot operator.

Implementation

VxBevel bevel({
  Key? key,
  Widget? child,
  Color? backgroundColor,
  double? radius,
  double? width,
  double? height,
  BorderSide? borderSide,
  DecorationImage? backgroundImage,
  Gradient? gradient,
  List<BoxShadow>? shadows,
}) =>
    VxBevel(
      key: key,
      child: this,
      backgroundColor: backgroundColor,
      borderSide: borderSide,
      radius: radius,
      width: width,
      height: height,
      backgroundImage: backgroundImage,
      gradient: gradient,
      shadows: shadows,
    );