GrockGradientBorder constructor

const GrockGradientBorder({
  1. Key? key,
  2. required Gradient gradient,
  3. required Widget child,
  4. double strokeWidth = 1,
  5. double borderRadius = 0,
})

Implementation

const GrockGradientBorder(
    {super.key,

    /// The gradient to use when drawing the border.
    required this.gradient,

    /// The child to draw the border around.
    required this.child,

    /// The width of the border.
    this.strokeWidth = 1,

    /// The border radius.
    this.borderRadius = 0});