IconThemeData.fallback constructor Null safety

const IconThemeData.fallback()

Creates an icon theme with some reasonable default values.

The size is 24.0, fill is 0.0, weight is 400.0, grade is 0.0, opticalSize is 48.0, color is black, and opacity is 1.0.

Implementation

const IconThemeData.fallback()
    : size = 24.0,
      fill = 0.0,
      weight = 400.0,
      grade = 0.0,
      opticalSize = 48.0,
      color = const Color(0xFF000000),
      _opacity = 1.0,
      shadows = null;