FlutterTagBorderGradient constructor

const FlutterTagBorderGradient({
  1. required Gradient gradient,
  2. double width = 1.0,
})

Creates a new instance of FlutterTagBorderGradient.

The gradient parameter is required and defines the color gradient of the border. The width parameter is optional and specifies the width of the border.

Implementation

const FlutterTagBorderGradient({
  required this.gradient,
  this.width = 1.0,
});