debugFillProperties method

  1. @override
void debugFillProperties(
  1. DiagnosticPropertiesBuilder properties
)
override

Flutter debug properties override for FlexColorScheme object.

Implementation

@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  super.debugFillProperties(properties);
  properties
      .add(DiagnosticsProperty<ColorScheme>('colorScheme', colorScheme));
  properties.add(EnumProperty<Brightness>('brightness', brightness));
  properties.add(ColorProperty('primary', primary));
  properties.add(ColorProperty('primaryVariant', primaryVariant));
  properties.add(ColorProperty('secondary', secondary));
  properties.add(ColorProperty('secondaryVariant', secondaryVariant));
  properties.add(ColorProperty('surface', surface));
  properties.add(ColorProperty('background', background));
  properties.add(ColorProperty('error', error));
  properties.add(ColorProperty('scaffoldBackground', scaffoldBackground));
  properties.add(ColorProperty('appBarBackground', appBarBackground));
  properties.add(ColorProperty('dialogBackground', dialogBackground));
  properties.add(ColorProperty('onPrimary', onPrimary));
  properties.add(ColorProperty('onSecondary', onSecondary));
  properties.add(ColorProperty('onSurface', onSurface));
  properties.add(ColorProperty('onBackground', onBackground));
  properties.add(ColorProperty('onError', onError));
  properties.add(EnumProperty<FlexTabBarStyle>('tabBarStyle', tabBarStyle));
  properties
      .add(DiagnosticsProperty<double>('appBarElevation', appBarElevation));
  properties.add(DiagnosticsProperty<double>(
      'bottomAppBarElevation', bottomAppBarElevation));
  properties.add(DiagnosticsProperty<bool>(
      'tooltipsMatchBackground', tooltipsMatchBackground));
  properties.add(DiagnosticsProperty<bool>(
      'transparentStatusBar', transparentStatusBar));
  properties.add(EnumProperty<VisualDensity>('visualDensity', visualDensity));
  properties.add(DiagnosticsProperty<TextTheme>('textTheme', textTheme));
  properties.add(
      DiagnosticsProperty<TextTheme>('primaryTextTheme', primaryTextTheme));
  properties.add(DiagnosticsProperty<String>('fontFamily', fontFamily));
  properties.add(EnumProperty<TargetPlatform>('platform', platform));
  properties.add(DiagnosticsProperty<Typography>('typography', typography));
  properties.add(DiagnosticsProperty<bool>(
      'applyElevationOverlayColor', applyElevationOverlayColor));
  properties.add(DiagnosticsProperty<bool>('useSubThemes', useSubThemes));
  properties.add(
      DiagnosticsProperty<FlexSubThemesData>('subThemesData', subThemesData));
}