mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Add image-based color selection to M3 demo (#1703)
* Add ColorScheme.fromImageProvider selection method * method cleanup * cleanup * Move changes to experimental/ * Move changes from stable branch * update image descriptions * update image selection border * add mac network permissions * comment responses
This commit is contained in:
@@ -57,8 +57,8 @@ void main() {
|
||||
});
|
||||
|
||||
testWidgets('Surface Tones screen shows correct content', (tester) async {
|
||||
await tester.pumpWidget(MaterialApp(
|
||||
home: Scaffold(body: Row(children: const [ElevationScreen()])),
|
||||
await tester.pumpWidget(const MaterialApp(
|
||||
home: Scaffold(body: Row(children: [ElevationScreen()])),
|
||||
));
|
||||
expect(find.text('Surface Tint Color Only'), findsOneWidget);
|
||||
expect(find.text('Surface Tint Color and Shadow Color'), findsOneWidget);
|
||||
|
||||
Reference in New Issue
Block a user