Fix RawScrollbar examples and desktop test (#158237)

## Description

Fix the formatting of some `RawScrollbar` examples.
Fix and rename one test file (name without `_test` suffix).
This commit is contained in:
Bruno Leroux
2024-11-06 09:34:36 +01:00
committed by GitHub
parent 66e8f53ba0
commit 22a7afd99a
5 changed files with 93 additions and 88 deletions

View File

@@ -8,7 +8,6 @@ import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Can hide default scrollbar on desktop', (WidgetTester tester) async {
await tester.pumpWidget(
const example.ScrollbarApp(),
);
@@ -16,5 +15,5 @@ void main() {
// Two from left list view where scroll configuration is not set.
// One from right list view where scroll configuration is set.
expect(find.byType(Scrollbar), findsNWidgets(3));
});
}, variant: TargetPlatformVariant.desktop());
}