debugFillProperties method

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

Flutter debug properties override, includes toString.

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('primaryContainer', primaryContainer));
  properties.add(ColorProperty('secondary', secondary));
  properties.add(ColorProperty('secondaryContainer', secondaryContainer));
  properties.add(ColorProperty('tertiary', tertiary));
  properties.add(ColorProperty('tertiaryContainer', tertiaryContainer));
  properties.add(ColorProperty('error', error));
  properties.add(ColorProperty('surface', surface));
  properties.add(ColorProperty('background', background));
  properties.add(ColorProperty('scaffoldBackground', scaffoldBackground));
  properties.add(ColorProperty('appBarBackground', appBarBackground));
  properties.add(ColorProperty('dialogBackground', dialogBackground));
  properties.add(ColorProperty('onPrimary', onPrimary));
  properties.add(ColorProperty('onPrimaryContainer', onPrimaryContainer));
  properties.add(ColorProperty('onSecondary', onSecondary));
  properties.add(ColorProperty('onSecondaryContainer', onSecondaryContainer));
  properties.add(ColorProperty('onTertiary', onTertiary));
  properties.add(ColorProperty('onTertiaryContainer', onTertiaryContainer));
  properties.add(ColorProperty('onSurface', onSurface));
  properties.add(ColorProperty('onBackground', onBackground));
  properties.add(ColorProperty('onError', onError));
  properties.add(ColorProperty('surfaceTint', surfaceTint));
  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(
      DiagnosticsProperty<VisualDensity>('visualDensity', visualDensity));
  properties.add(DiagnosticsProperty<TextTheme>('textTheme', textTheme));
  properties.add(
      DiagnosticsProperty<TextTheme>('primaryTextTheme', primaryTextTheme));
  properties.add(DiagnosticsProperty<String>('fontFamily', fontFamily));
  properties.add(DiagnosticsProperty<List<String>>(
      'fontFamilyFallback', fontFamilyFallback));
  properties.add(DiagnosticsProperty<String>('package', package));
  properties.add(EnumProperty<MaterialTapTargetSize>(
      'materialTapTargetSize', materialTapTargetSize));
  properties.add(DiagnosticsProperty<PageTransitionsTheme>(
      'pageTransitionsTheme', pageTransitionsTheme));
  properties.add(EnumProperty<TargetPlatform>('platform', platform));
  properties.add(DiagnosticsProperty<Typography>('typography', typography));
  properties.add(DiagnosticsProperty<bool>(
      'applyElevationOverlayColor', applyElevationOverlayColor));
  properties.add(
      DiagnosticsProperty<FlexSubThemesData>('subThemesData', subThemesData));
  properties.add(DiagnosticsProperty<bool>('useMaterial3', useMaterial3));
  properties.add(
      IterableProperty<ThemeExtension<dynamic>>('extensions', extensions));
}