Skip to content

Commit

Permalink
Rm unused test widget
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmolnar committed Jan 13, 2025
1 parent b1a3675 commit 4afbdf8
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions test/timeline/drag/drag_until_visible_test_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,45 +81,3 @@ class DragUntilVisibleSingleDirectionTestWidget extends StatelessWidget {
);
}
}

class DragUntilVisibleMultiDirectionTestWidget extends StatelessWidget {
const DragUntilVisibleMultiDirectionTestWidget({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Grid View Drag Test'),
),
body: Center(
child: SizedBox(
height: 100,
width: 100,
child: GridView.builder(
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 2,
mainAxisSpacing: 10,
crossAxisSpacing: 10,
),
itemCount: 4, // Total 4 items
itemBuilder: (context, index) {
return Container(
height: 100,
width: 100,
color: index.isEven ? Colors.red : Colors.blue,
child: Center(
child: Text(
'Item at index: ${index + 1}',
style: const TextStyle(color: Colors.white),
),
),
);
},
),
),
),
),
);
}
}

0 comments on commit 4afbdf8

Please sign in to comment.