File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import 'package:app/providers/download_provider.dart';
55import 'package:app/providers/favorite_provider.dart' ;
66import 'package:app/ui/screens/playable_action_sheet.dart' ;
77import 'package:audio_service/audio_service.dart' ;
8+ import 'package:flutter/material.dart' ;
89import 'package:flutter_test/flutter_test.dart' ;
910import 'package:mockito/annotations.dart' ;
1011import 'package:mockito/mockito.dart' ;
@@ -55,6 +56,10 @@ void main() {
5556 ],
5657 child: PlayableActionSheet (playable: song),
5758 ),
59+ // The sheet is normally shown via showModalBottomSheet with
60+ // isScrollControlled, which lets it overflow / scroll. When mounted
61+ // bare, give it enough vertical room to lay out without overflow.
62+ surfaceSize: const Size (414 , 1024 ),
5863 );
5964 }
6065
You can’t perform that action at this time.
0 commit comments