Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
fujidaiti committed Aug 31, 2024
1 parent 4098310 commit 91c0be3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions example/lib/tutorial/imperative_modal_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ class _ExampleSheet extends StatelessWidget {
},
child: DraggableSheet(
minExtent: const Extent.proportional(0.5),
child: Card(
color: Theme.of(context).colorScheme.secondaryContainer,
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
child: Card(
color: Theme.of(context).colorScheme.secondaryContainer,
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
),
child: const SizedBox(
height: 700,
width: double.infinity,
),
),
child: const SizedBox(
height: 700,
width: double.infinity,
),
),
),
);
}
Expand Down
2 changes: 1 addition & 1 deletion test/modal/modal_sheet_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void main() {
expect(find.byKey(const Key('sheet')), findsNothing);
},
);

testWidgets(
'modal should not be dismissed if drag distance is not enough',
(tester) async {
Expand Down

0 comments on commit 91c0be3

Please sign in to comment.