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:
@@ -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());
|
||||
}
|
||||
Reference in New Issue
Block a user