Skip to content

Commit

Permalink
sec
Browse files Browse the repository at this point in the history
  • Loading branch information
apps-transround committed Sep 3, 2020
1 parent 584a2e5 commit 61a0a94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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',
));
Expand Down
2 changes: 1 addition & 1 deletion test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 61a0a94

Please sign in to comment.