gradientBorder method

DefineMTileModifier gradientBorder({
  1. Gradient? value,
  2. double width = 1.0,
})

Implementation

DefineMTileModifier gradientBorder({
  Gradient? value,
  double width = 1.0,
}) {
  return this.copyWith(
    valueGradientBorder:
        value ?? LinearGradient(colors: [Colors.red, Colors.blue]),
    valueWidth: width,
  );
}