Reland - Introduce tone-based surfaces and accent color add-ons - Part 2 (#144001)
Reverts flutter/flutter#143973 This is a reland for #138521 with an updated g3fix(cl/605555997). Local test: cl/609608958.
This commit is contained in:
@@ -25,7 +25,7 @@ void main() {
|
||||
TextButton thirdButton = findButton('Orange');
|
||||
|
||||
const Color selectedColor = Color(0xffef9a9a);
|
||||
const Color unselectedColor = Color(0x00fffbfe);
|
||||
const Color unselectedColor = Color(0x00fef7ff);
|
||||
|
||||
/// First button is selected.
|
||||
expect(firstButton.style!.backgroundColor!.resolve(enabled), selectedColor);
|
||||
@@ -63,7 +63,7 @@ void main() {
|
||||
TextButton thirdButton = findButton('Carrots');
|
||||
|
||||
const Color selectedColor = Color(0xffa5d6a7);
|
||||
const Color unselectedColor = Color(0x00fffbfe);
|
||||
const Color unselectedColor = Color(0x00fef7ff);
|
||||
|
||||
/// Second button is selected.
|
||||
expect(firstButton.style!.backgroundColor!.resolve(enabled), unselectedColor);
|
||||
@@ -102,7 +102,7 @@ void main() {
|
||||
TextButton thirdButton = findButton(Icons.ac_unit);
|
||||
|
||||
const Color selectedColor = Color(0xff90caf9);
|
||||
const Color unselectedColor = Color(0x00fffbfe);
|
||||
const Color unselectedColor = Color(0x00fef7ff);
|
||||
|
||||
|
||||
/// Third button is selected.
|
||||
|
||||
Reference in New Issue
Block a user