mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
FilesSelector: Close when close button is pressed
This commit is contained in:
parent
88c9f65649
commit
9f2c86db78
1 changed files with 6 additions and 0 deletions
|
|
@ -127,6 +127,12 @@ class _FilesSelectorState extends State<FilesSelector> {
|
|||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('Choose files'),
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.close),
|
||||
onPressed: () {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
child: Text(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue