ChromeStyle constructor

const ChromeStyle({
  1. BundledFont? bodyFont,
  2. BundledFont? handFont,
  3. double bodyWeight = 400,
  4. double headingWeight = 500,
  5. double? headingWidth,
  6. bool headingCaps = false,
  7. double headingTracking = 0,
  8. double containerRadius = 28,
  9. double controlRadius = stadium,
  10. ChromeCorner corner = ChromeCorner.round,
  11. ChromeEdge edge = ChromeEdge.none,
  12. double edgeWidth = 0,
  13. double offsetShadow = 0,
  14. double? elevation,
  15. bool flatSurfaces = false,
  16. bool accentSelection = false,
  17. 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,
});