MeshGradientContainer constructor

const MeshGradientContainer({
  1. Key? key,
  2. Widget? child,
  3. BorderRadius? borderRadius,
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. BoxShape shape = BoxShape.rectangle,
  9. VoidCallback? onTap,
  10. MouseCursor? mouseCursor,
  11. List<Color> colors = const [Colors.blue, Colors.purple, Colors.pink, Colors.orange],
  12. BlendMode blendMode = BlendMode.srcOver,
  13. int horizontalCells = 8,
  14. int verticalCells = 6,
  15. double frequency = 0.5,
  16. double phase = 0.0,
})

Implementation

const MeshGradientContainer({
  super.key,
  super.child,
  super.borderRadius,
  super.width,
  super.height,
  super.padding,
  super.margin,
  super.shape,
  super.onTap,
  super.mouseCursor,
  this.colors = const [Colors.blue, Colors.purple, Colors.pink, Colors.orange],
  this.blendMode = BlendMode.srcOver,
  this.horizontalCells = 8,
  this.verticalCells = 6,
  this.frequency = 0.5,
  this.phase = 0.0,
});