GradientBorder constructor

const GradientBorder({
  1. Key? key,
  2. required Widget child,
  3. required List<Color> gradientColors,
  4. double borderWidth = 2.0,
  5. double borderRadius = 10.0,
  6. bool isSelected = false,
})

Implementation

const GradientBorder({
  Key? key,
  required this.child,
  required this.gradientColors,
  this.borderWidth = 2.0,
  this.borderRadius = 10.0,
  this.isSelected = false,
}) : super(key: key);