ChromeStyle constructor
const
ChromeStyle({
- BundledFont? bodyFont,
- BundledFont? handFont,
- double bodyWeight = 400,
- double headingWeight = 500,
- double? headingWidth,
- bool headingCaps = false,
- double headingTracking = 0,
- double containerRadius = 28,
- double controlRadius = stadium,
- ChromeCorner corner = ChromeCorner.round,
- ChromeEdge edge = ChromeEdge.none,
- double edgeWidth = 0,
- double offsetShadow = 0,
- double? elevation,
- bool flatSurfaces = false,
- bool accentSelection = false,
- bool underlineFields = false,
Creates a recipe; the defaults are stock Material 3.
Implementation
const ChromeStyle({
this.bodyFont,
this.handFont,
this.bodyWeight = 400,
this.headingWeight = 500,
this.headingWidth,
this.headingCaps = false,
this.headingTracking = 0,
this.containerRadius = 28,
this.controlRadius = stadium,
this.corner = ChromeCorner.round,
this.edge = ChromeEdge.none,
this.edgeWidth = 0,
this.offsetShadow = 0,
this.elevation,
this.flatSurfaces = false,
this.accentSelection = false,
this.underlineFields = false,
});