forked from firka/flutter
Add Material 3 SwitchListTile example and update existing examples (#119714)
* Add Material 3 `SwitchListTile` example and update existing examples * Update examples with `useMaterial3: true` and update example descriptions. * add a `ColorScheme` colour
This commit is contained in:
@@ -9,7 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
void main() {
|
||||
testWidgets('LinkedLabelCheckbox contains RichText and Checkbox', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(
|
||||
const example.LabeledCheckBoxApp(),
|
||||
const example.LabeledCheckboxApp(),
|
||||
);
|
||||
|
||||
// Label text is in a RichText widget with the correct text.
|
||||
|
||||
@@ -9,7 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
void main() {
|
||||
testWidgets('Tapping LabeledCheckbox toggles the checkbox', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(
|
||||
const example.LabeledCheckBoxApp(),
|
||||
const example.LabeledCheckboxApp(),
|
||||
);
|
||||
|
||||
// Checkbox is initially unchecked.
|
||||
|
||||
Reference in New Issue
Block a user