gutterCalc property

double Function(double screenWidth) gutterCalc
final

Function that calculates the gutter width based on screen width.

This core field drives the responsive behavior, receiving the current screen width from MediaQuery and returning a double value for symmetric horizontal padding. Default implementation provides proportional scaling; custom functions can implement device-specific logic, such as fixed widths for tablets or zero on mobile. Integrates with ArcaneTheme to ensure theme-consistent spacing in components like Section or Flow.

Implementation

final double Function(double screenWidth) gutterCalc;