XMetricsData constructor

XMetricsData({
  1. XBoxShadowsData? boxShadows,
  2. XBreakpointsData? breakpoints,
  3. XDurationsData? durations,
  4. XElevationsData? elevations,
  5. XFormFactor? formFactor,
  6. XIconSizesData? iconSizes,
  7. XRadiiData? radii,
  8. XSpacesData? spaces,
  9. XTextShadowsData? textShadows,
})

Implementation

XMetricsData({
  final XBoxShadowsData? boxShadows,
  final XBreakpointsData? breakpoints,
  final XDurationsData? durations,
  final XElevationsData? elevations,
  final XFormFactor? formFactor,
  // final XGoogleFontsData? googleFonts,
  final XIconSizesData? iconSizes,
  final XRadiiData? radii,
  final XSpacesData? spaces,
  final XTextShadowsData? textShadows,
})  : boxShadows = boxShadows ?? const XBoxShadowsData(),
      breakpoints = breakpoints ?? const XBreakpointsData(),
      durations = durations ?? const XDurationsData(),
      elevations = elevations ?? const XElevationsData(),
      formFactor = formFactor ?? XFormFactor.medium,
      // googleFonts = googleFonts ?? const XGoogleFontsData(),
      iconSizes = iconSizes ?? const XIconSizesData(),
      radii = radii ?? const XRadiiData(),
      spaces = spaces ?? const XSpacesData(),
      textShadows = textShadows ?? const XTextShadowsData();