diff --git a/lib/main.dart b/lib/main.dart index 4f115f1..1b3ef4a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -13,9 +13,10 @@ class ScrollTest extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( + // showPerformanceOverlay: true, home: Scaffold( appBar: AppBar( - title: Text('Two-way scroll'), + title: Text('Two-way scroll 2'), ), body: SingleChildScrollView( child: SingleChildScrollView( @@ -63,12 +64,12 @@ class ScrollTest extends StatelessWidget { clipBehavior: Clip.hardEdge, decoration: BoxDecoration( // by removing this border, FPS goes up to normal -// border: Border.all( -// color: Colors.amber, -// // left: BorderSide(color: Colors.green), -// ), + border: Border.all( + color: Colors.amber, + // left: BorderSide(color: Colors.green), + ), // - ), + ), child: Text( 'Dummy cell content: $i - $j', )); diff --git a/test/widget_test.dart b/test/widget_test.dart index 7cca150..e5cc17c 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -13,7 +13,7 @@ import 'package:scroll_test/main.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { // Build our app and trigger a frame. - await tester.pumpWidget(MyApp()); + await tester.pumpWidget(ScrollTest()); // Verify that our counter starts at 0. expect(find.text('0'), findsOneWidget);