Remove unused test screen
This commit is contained in:
parent
c15f0e7986
commit
70fc9f740a
2 changed files with 1 additions and 32 deletions
|
@ -102,31 +102,3 @@ class EditorState extends State<Editor> {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
class FileSelectionScreen extends StatelessWidget {
|
||||
const FileSelectionScreen({super.key});
|
||||
|
||||
Future<void> openFilePicker(BuildContext context) async {
|
||||
try {} catch (e) {
|
||||
// Handle errors
|
||||
print('Error selecting file: $e');
|
||||
}
|
||||
|
||||
Navigator.pop(context);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('File Selection'),
|
||||
),
|
||||
body: Center(
|
||||
child: ElevatedButton(
|
||||
onPressed: () => openFilePicker(context),
|
||||
child: const Text('Select File'),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue