Home
last modified time | relevance | path

Searched refs:textColor (Results 1 – 25 of 36) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/painting/
Dflutter_logo_test.dart13 textColor: Color(0xFFD4F144),
21 textColor: Color(0xFF81D4FA),
35 expect(logo.textColor, start.textColor);
44 expect(logo.textColor, end.textColor);
53 expect(logo.textColor, Color.lerp(start.textColor, end.textColor, 0.5));
/third_party/flutter/flutter/packages/flutter/test/material/
Draised_button_test.dart15 textColor: const Color(0xFF00FF00),
28 'textColor: Color(0xff00ff00)',
111 textColor: MaterialStateColor.resolveWith(getTextColor),
118 Color textColor() {
123 expect(textColor(), equals(defaultColor));
128 expect(textColor(), focusedColor);
139 expect(textColor(), hoverColor);
145 expect(textColor(), pressedColor);
181 textColor: MaterialStateColor.resolveWith(getTextColor),
237 textColor: MaterialStateColor.resolveWith(getTextColor),
[all …]
Dflat_button_test.dart17 textColor: const Color(0xFF00FF00),
28 'textColor: Color(0xff00ff00)',
110 textColor: MaterialStateColor.resolveWith(getTextColor),
176 textColor: MaterialStateColor.resolveWith(getTextColor),
183 Color textColor() {
188 expect(textColor(), equals(defaultColor));
193 expect(textColor(), focusedColor);
204 expect(textColor(), hoverColor);
210 expect(textColor(), pressedColor);
245 textColor: MaterialStateColor.resolveWith(getTextColor),
[all …]
Dexpansion_tile_test.dart199 Color textColor(Key key) => tester.state<TestTextState>(find.byKey(key)).textStyle.color;
201 expect(textColor(expandedTitleKey), _accentColor);
202 expect(textColor(collapsedTitleKey), _headerColor);
213 expect(textColor(expandedTitleKey), _headerColor);
214 expect(textColor(collapsedTitleKey), _accentColor);
Doutline_button_test.dart18 textColor: const Color(0xFF00FF00),
31 'textColor: Color(0xff00ff00)',
113 textColor: MaterialStateColor.resolveWith(getTextColor),
179 textColor: MaterialStateColor.resolveWith(getTextColor),
186 Color textColor() {
191 expect(textColor(), equals(defaultColor));
196 expect(textColor(), focusedColor);
207 expect(textColor(), hoverColor);
213 expect(textColor(), pressedColor);
248 textColor: MaterialStateColor.resolveWith(getTextColor),
[all …]
Dlist_tile_test.dart264 Color textColor,
273 textColor: textColor,
297 Color textColor(Key key) => tester.state<TestTextState>(find.byKey(key)).textStyle.color;
304 expect(textColor(titleKey), theme.primaryColor);
305 expect(textColor(subtitleKey), theme.primaryColor);
312 expect(textColor(titleKey), green);
313 expect(textColor(subtitleKey), green);
316 // An unselected ListTile's title texts get the ListTileTheme's textColor
317 await tester.pumpWidget(buildFrame(iconColor: red, textColor: green));
321 expect(textColor(titleKey), green);
[all …]
Dchip_theme_test.dart394 Color textColor() {
400 expect(textColor(), equals(defaultColor));
404 expect(textColor(), selectedColor);
410 expect(textColor(), focusedColor);
420 expect(textColor(), hoverColor);
425 expect(textColor(), pressedColor);
430 expect(textColor(), disabledColor);
Dbutton_theme_test.dart374 Color textColor() {
379 expect(textColor(), equals(defaultColor));
384 expect(textColor(), focusedColor);
395 expect(textColor(), hoverColor);
401 expect(textColor(), pressedColor);
Dsnack_bar_theme_test.dart141 const Color textColor = Colors.pink;
161 textColor: textColor,
184 expect(button.textStyle.color, textColor);
Dstepper_test.dart394 textColor: Colors.white,
402 textColor: Colors.red,
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dflutter_logo.dart25 this.textColor = const Color(0xFF616161),
55 final Color textColor;
62 /// [textColor] properties are changed.
65 /// The curve for the logo animation if the [style], [colors], or [textColor]
83 textColor: textColor,
Dflat_button.dart73 /// textColor: Colors.white,
107 Color textColor,
129 textColor: textColor,
159 Color textColor,
219 Color textColor,
244 textColor: textColor,
Draised_button.dart66 /// textColor: Colors.white,
113 Color textColor,
146 textColor: textColor,
183 Color textColor,
256 Color textColor,
287 textColor: textColor,
Doutline_button.dart65 Color textColor,
88 textColor: textColor,
116 Color textColor,
173 textColor: buttonTheme.getTextColor(this),
210 Color textColor,
236 textColor: textColor,
269 this.textColor,
294 final Color textColor;
431 textColor: widget.textColor,
Dmaterial_button.dart56 this.textColor,
115 /// If [textColor] is a [MaterialStateProperty<Color>], [disabledTextColor]
122 final Color textColor;
132 /// If [textColor] is a [MaterialStateProperty<Color>], [disabledTextColor]
137 /// * [textColor] - The color to use for this button's text when the button is [enabled].
378 properties.add(ColorProperty('textColor', textColor, defaultValue: null));
Dsnack_bar.dart85 this.textColor,
94 final Color textColor;
129 final Color textColor = widget.textColor ?? snackBarTheme.actionTextColor;
135 textColor: textColor,
Dmaterial_state.dart89 /// This example shows how you could pass a `MaterialStateColor` to `FlatButton.textColor`.
109 /// textColor: MaterialStateColor.resolveWith(getTextColor),
199 /// [MaterialStateProperty]. For example, [RaisedButton.textColor] can be a
Dlist_tile.dart48 this.textColor,
63 Color textColor,
77 textColor: textColor ?? parent.textColor,
98 final Color textColor;
124 || textColor != oldWidget.textColor
770 if (!selected && tileTheme?.textColor != null)
771 return tileTheme.textColor;
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dflutter_logo.dart41 /// the [textColor] controls the color of the label.
43 /// The [lightColor], [darkColor], [textColor], [style], and [margin]
48 this.textColor = const Color(0xFF616161),
53 assert(textColor != null),
60 …const FlutterLogoDecoration._(this.lightColor, this.darkColor, this.textColor, this.style, this.ma…
86 final Color textColor;
108 && textColor != null
145 b.textColor,
156 a.textColor,
170 Color.lerp(a.textColor, b.textColor, t),
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestime.c46 static SDL_Color textColor = {0,0,0,255}; variable
238 row[0] = textColor.r; in unifont_make_rgba()
239 row[1] = textColor.g; in unifont_make_rgba()
240 row[2] = textColor.b; in unifont_make_rgba()
241 row[3] = textColor.a; in unifont_make_rgba()
474 SDL_Surface *textSur = TTF_RenderUTF8_Blended(font, text, textColor); in _Redraw()
552 textSur = TTF_RenderUTF8_Blended(font, markedText, textColor); in _Redraw()
/third_party/skia/gm/
Dlcdblendmodes.cpp92 void drawColumn(SkCanvas* canvas, SkColor backgroundColor, SkColor textColor, bool useGrad) { in drawColumn() argument
131 paint.setColor(textColor); in drawColumn()
/third_party/flutter/skia/gm/
Dlcdblendmodes.cpp91 void drawColumn(SkCanvas* canvas, SkColor backgroundColor, SkColor textColor, bool useGrad) { in drawColumn() argument
130 paint.setColor(textColor); in drawColumn()
/third_party/flutter/flutter/dev/integration_tests/ios_add2app/ios_add2app/
DNativeViewController.m71 incrementLabel.textColor = UIColor.blackColor;
98 mainLabel.textColor = UIColor.blackColor;
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/
DSDLActivity.java895 int textColor; in onCreateDialog() local
902 textColor = colors[++i]; in onCreateDialog()
908 textColor = Color.TRANSPARENT; in onCreateDialog()
933 if (textColor != Color.TRANSPARENT) { in onCreateDialog()
934 message.setTextColor(textColor); in onCreateDialog()
968 if (textColor != Color.TRANSPARENT) { in onCreateDialog()
969 button.setTextColor(textColor); in onCreateDialog()
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Dcards_demo.dart333 textColor: Colors.amber.shade500,
338 textColor: Colors.amber.shade500,

12