/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/ |
D | themes.dart | 21 final ColorScheme colorScheme = const ColorScheme.dark().copyWith( 40 colorScheme: colorScheme, 54 final ColorScheme colorScheme = const ColorScheme.light().copyWith( 61 colorScheme: colorScheme, 74 colorScheme: colorScheme,
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | toggle_buttons_test.dart | 43 theme.colorScheme.onSurface.withOpacity(0.87), 48 expect(textStyleTwo.style.color, theme.colorScheme.primary); 89 theme.colorScheme.onSurface.withOpacity(0.87), 94 expect(textStyleTwo.style.color, theme.colorScheme.primary); 106 theme.colorScheme.onSurface.withOpacity(0.87), 113 theme.colorScheme.onSurface.withOpacity(0.87), 148 theme.colorScheme.onSurface.withOpacity(0.38), 155 theme.colorScheme.onSurface.withOpacity(0.38), 169 theme.colorScheme.onSurface.withOpacity(0.38), 176 theme.colorScheme.onSurface.withOpacity(0.38), [all …]
|
D | button_theme_test.dart | 46 ColorScheme colorScheme; 58 colorScheme = theme.colorScheme; 83 expect(colorScheme, ThemeData.light().colorScheme); 98 expect(theme.colorScheme, null); 108 colorScheme: const ColorScheme.dark(), 117 expect(theme.colorScheme, const ColorScheme.dark()); 352 const ColorScheme colorScheme = ColorScheme.light(); 359 colorScheme: colorScheme.copyWith(
|
D | banner_theme_test.dart | 146 final ColorScheme colorScheme = const ColorScheme.light().copyWith(surface: Colors.purple); 148 theme: ThemeData(colorScheme: colorScheme), 163 expect(container.decoration, BoxDecoration(color: colorScheme.surface));
|
D | flat_button_test.dart | 85 final ColorScheme colorScheme = ColorScheme.fromSwatch(primarySwatch: Colors.blue); 104 colorScheme: colorScheme,
|
D | floating_action_button_theme_test.dart | 27 expect(_getRawMaterialButton(tester).fillColor, ThemeData().colorScheme.secondary); 28 expect(_getRichText(tester).text.style.color, ThemeData().colorScheme.onSecondary);
|
D | material_test.dart | 226 colorScheme: const ColorScheme.dark().copyWith(surface: surfaceColor), 256 colorScheme: const ColorScheme.dark().copyWith(surface: surfaceColor), 270 …testWidgets('overlay will only apply to materials using colorScheme.surface', (WidgetTester tester… 275 colorScheme: const ColorScheme.dark().copyWith(surface: const Color(0xFF121212)),
|
D | theme_data_test.dart | 142 final ThemeData theme = ThemeData.from(colorScheme: lightColors); 158 final ThemeData theme = ThemeData.from(colorScheme: darkColors);
|
D | toggle_buttons_theme_test.dart | 144 expect(theme.colorScheme.onSurface, isNot(enabledColor)); 178 expect(theme.colorScheme.primary, isNot(selectedColor));
|
D | outline_button_test.dart | 88 final ColorScheme colorScheme = ColorScheme.fromSwatch(primarySwatch: Colors.blue); 107 colorScheme: colorScheme,
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | snack_bar.dart | 253 final ColorScheme colorScheme = theme.colorScheme; 261 ? colorScheme.onSurface 262 : Color.alphaBlend(colorScheme.onSurface.withOpacity(0.80), colorScheme.surface); 266 colorScheme: ColorScheme( 267 primary: colorScheme.onPrimary, 268 primaryVariant: colorScheme.onPrimary, 271 secondary: isThemeDark ? colorScheme.primaryVariant : colorScheme.secondary, 272 secondaryVariant: colorScheme.onSecondary, 273 surface: colorScheme.onSurface, 275 error: colorScheme.onError, [all …]
|
D | button_theme.dart | 69 /// The [textTheme], [minWidth], [height], and [colorScheme] arguments 86 ColorScheme colorScheme, 108 colorScheme: colorScheme, 151 ColorScheme colorScheme, 172 colorScheme: colorScheme, 189 if (buttonTheme?.colorScheme == null) { // if buttonTheme or buttonTheme.colorScheme is null 192 if (buttonTheme.colorScheme == null) { 194 colorScheme: theme.buttonTheme.colorScheme ?? theme.colorScheme, 196 assert(buttonTheme.colorScheme != null); 236 this.colorScheme, [all …]
|
D | theme_data.dart | 173 ColorScheme colorScheme, 204 colorScheme ??= ColorScheme.fromSwatch( 255 colorScheme: colorScheme, 341 colorScheme: colorScheme, 416 @required this.colorScheme, 475 assert(colorScheme != null), 485 /// Create a [ThemeData] based on the colors in the given [colorScheme] and 488 /// The [colorScheme] can not be null. 490 /// If [colorScheme.brightness] is [Brightness.dark] then 505 /// theme: ThemeData.from(colorScheme: ColorScheme.light()), [all …]
|
D | toggle_buttons.dart | 226 /// Theme.of(context).colorScheme.onSurface is used. 238 /// Theme.of(context).colorScheme.primary is used. 249 /// Theme.of(context).colorScheme.onSurface.withOpacity(0.38) is used. 318 /// Theme.of(context).colorScheme.onSurface is used. 326 /// Theme.of(context).colorScheme.primary is used. 437 ?? theme.colorScheme.onSurface.withOpacity(0.12), 444 ?? theme.colorScheme.onSurface.withOpacity(0.12), 451 ?? theme.colorScheme.onSurface.withOpacity(0.12), 472 ?? theme.colorScheme.onSurface.withOpacity(0.12), 479 ?? theme.colorScheme.onSurface.withOpacity(0.12), [all …]
|
D | slider.dart | 512 // colors come from the ThemeData.colorScheme. These colors, along with 517 … activeTrackColor: widget.activeColor ?? sliderTheme.activeTrackColor ?? theme.colorScheme.primary, 518 …Color: widget.inactiveColor ?? sliderTheme.inactiveTrackColor ?? theme.colorScheme.primary.withOpa… 519 …disabledActiveTrackColor: sliderTheme.disabledActiveTrackColor ?? theme.colorScheme.onSurface.with… 520 …disabledInactiveTrackColor: sliderTheme.disabledInactiveTrackColor ?? theme.colorScheme.onSurface.… 521 …olor: widget.inactiveColor ?? sliderTheme.activeTickMarkColor ?? theme.colorScheme.onPrimary.withO… 522 …olor: widget.activeColor ?? sliderTheme.inactiveTickMarkColor ?? theme.colorScheme.primary.withOpa… 523 …disabledActiveTickMarkColor: sliderTheme.disabledActiveTickMarkColor ?? theme.colorScheme.onPrimar… 524 …disabledInactiveTickMarkColor: sliderTheme.disabledInactiveTickMarkColor ?? theme.colorScheme.onSu… 525 thumbColor: widget.activeColor ?? sliderTheme.thumbColor ?? theme.colorScheme.primary, [all …]
|
D | range_slider.dart | 524 // colors come from the ThemeData.colorScheme. These colors, along with 529 … activeTrackColor: widget.activeColor ?? sliderTheme.activeTrackColor ?? theme.colorScheme.primary, 530 …Color: widget.inactiveColor ?? sliderTheme.inactiveTrackColor ?? theme.colorScheme.primary.withOpa… 531 …disabledActiveTrackColor: sliderTheme.disabledActiveTrackColor ?? theme.colorScheme.onSurface.with… 532 …disabledInactiveTrackColor: sliderTheme.disabledInactiveTrackColor ?? theme.colorScheme.onSurface.… 533 …olor: widget.inactiveColor ?? sliderTheme.activeTickMarkColor ?? theme.colorScheme.onPrimary.withO… 534 …olor: widget.activeColor ?? sliderTheme.inactiveTickMarkColor ?? theme.colorScheme.primary.withOpa… 535 …disabledActiveTickMarkColor: sliderTheme.disabledActiveTickMarkColor ?? theme.colorScheme.onPrimar… 536 …disabledInactiveTickMarkColor: sliderTheme.disabledInactiveTickMarkColor ?? theme.colorScheme.onSu… 537 thumbColor: widget.activeColor ?? sliderTheme.thumbColor ?? theme.colorScheme.primary, [all …]
|
D | banner.dart | 80 /// also `null`, [ThemeData.colorScheme.surface] is used. 130 ?? theme.colorScheme.surface;
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/ |
D | cards_demo.dart | 139 splashColor: Theme.of(context).colorScheme.onSurface.withOpacity(0.12), 173 final ColorScheme colorScheme = Theme.of(context).colorScheme; 197 splashColor: colorScheme.onSurface.withOpacity(0.12), 206 ? colorScheme.primary.withOpacity(0.08) 216 color: _isSelected ? colorScheme.primary : Colors.transparent,
|
D | slider_demo.dart | 315 inactiveTrackColor: theme.colorScheme.onSurface.withOpacity(0.5), 316 activeTickMarkColor: theme.colorScheme.onSurface.withOpacity(0.7), 317 inactiveTickMarkColor: theme.colorScheme.surface.withOpacity(0.7), 318 overlayColor: theme.colorScheme.onSurface.withOpacity(0.12), 323 … valueIndicatorTextStyle: theme.accentTextTheme.body2.copyWith(color: theme.colorScheme.onSurface),
|
/third_party/flutter/skia/third_party/externals/sdl/include/ |
D | SDL_messagebox.h | 102 …const SDL_MessageBoxColorScheme *colorScheme; /**< ::SDL_MessageBoxColorScheme, can be NULL to u… member
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/shrine/ |
D | app.dart | 89 colorScheme: kShrineColorScheme, 98 colorScheme: kShrineColorScheme,
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/fortnightly/ |
D | fortnightly.dart | 44 color: Theme.of(context).colorScheme.surface, 93 color: Theme.of(context).colorScheme.surface,
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | theme.dart | 161 /// derived from the Material [ThemeData]'s `colorScheme.primary`. However, in 177 /// will be derived from the Material [ThemeData]'s `colorScheme.onPrimary`.
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/android/ |
D | SDL_android.c | 1555 if (messageboxdata->colorScheme) { in Android_JNI_ShowMessageBox() 1559 (messageboxdata->colorScheme->colors[i].r << 16) | in Android_JNI_ShowMessageBox() 1560 (messageboxdata->colorScheme->colors[i].g << 8) | in Android_JNI_ShowMessageBox() 1561 (messageboxdata->colorScheme->colors[i].b << 0); in Android_JNI_ShowMessageBox()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11messagebox.c | 211 if ( messageboxdata->colorScheme ) { in X11_MessageBoxInit() 212 colorhints = messageboxdata->colorScheme->colors; in X11_MessageBoxInit()
|