Browse Source

[path_provider_aurora] Code style

merge-requests/1/head
Vitaliy Zarubin 2 years ago
parent
commit
0ce3eb08d0
  1. 1
      packages/path_provider/path_provider_aurora/lib/path_provider_aurora.dart
  2. 2
      packages/xdga_directories/example/lib/main.dart

1
packages/path_provider/path_provider_aurora/lib/path_provider_aurora.dart

@ -14,6 +14,7 @@ class PathProviderAurora extends PathProviderPlatform {
/// Path to a directory where the application may place application support files. /// Path to a directory where the application may place application support files.
@override @override
Future<String?> getApplicationSupportPath() async { Future<String?> getApplicationSupportPath() async {
// QStandardPaths::AppDataLocation
return xdga_directories.getAppDataLocation(); return xdga_directories.getAppDataLocation();
} }

2
packages/xdga_directories/example/lib/main.dart

@ -9,7 +9,7 @@ class MyApp extends StatefulWidget {
const MyApp({super.key}); const MyApp({super.key});
@override @override
_MyAppState createState() => _MyAppState(); State<MyApp> createState() => _MyAppState();
} }
class _MyAppState extends State<MyApp> { class _MyAppState extends State<MyApp> {

Loading…
Cancel
Save