GutterTheme constructor

const GutterTheme({
  1. double gutterCalc(
    1. double screenWidth
    ) = _defaultGutterCalc,
  2. bool enabled = true,
})

Creates a GutterTheme with the specified configuration.

The gutterCalc parameter defaults to a function that provides responsive padding that grows with screen width while maintaining reasonable proportions. The enabled parameter controls whether gutters are applied by default.

Implementation

const GutterTheme(
    {this.gutterCalc = _defaultGutterCalc, this.enabled = true});