GridTheme constructor

const GridTheme({
  1. required Color color,
  2. required double size,
  3. required double thickness,
  4. required GridStyle style,
})

Creates a grid theme with the specified visual properties.

Parameters:

  • color: Color of the grid lines or dots
  • size: Spacing between grid lines in pixels
  • thickness: Width of grid lines (or radius for dots)
  • style: The grid pattern style to render

Implementation

const GridTheme({
  required this.color,
  required this.size,
  required this.thickness,
  required this.style,
});