circle method

VxCircle circle({
  1. Key? key,
  2. Widget? child,
  3. Color? backgroundColor,
  4. double? radius,
  5. BoxBorder? border,
  6. BoxDecoration? customDecoration,
  7. DecorationImage? backgroundImage,
  8. BlendMode? blendMode,
  9. Gradient? gradient,
  10. List<BoxShadow>? shadows,
})

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

Implementation

VxCircle circle({
  Key? key,
  Widget? child,
  Color? backgroundColor,
  double? radius,
  BoxBorder? border,
  BoxDecoration? customDecoration,
  DecorationImage? backgroundImage,
  BlendMode? blendMode,
  Gradient? gradient,
  List<BoxShadow>? shadows,
}) =>
    VxCircle(
      key: key,
      backgroundColor: backgroundColor,
      border: border,
      customDecoration: customDecoration,
      radius: radius,
      backgroundImage: backgroundImage,
      blendMode: blendMode,
      gradient: gradient,
      shadows: shadows,
      child: this,
    );