Compare commits
3 Commits
3032e13dc9
...
bc20593661
| Author | SHA1 | Date | |
|---|---|---|---|
| bc20593661 | |||
| 045f8b5b6b | |||
| 81f7b45619 |
@@ -23,5 +23,7 @@
|
||||
"collectionName": "Name der Sammlung",
|
||||
"bookmarkTitle": "Titel des Lesezeichens",
|
||||
"url": "Url",
|
||||
"description": "Beschreibung"
|
||||
"description": "Beschreibung",
|
||||
"settings": "Einstellungen",
|
||||
"activateJsonExport": "Json-Export aktivieren"
|
||||
}
|
||||
@@ -23,5 +23,7 @@
|
||||
"collectionName": "Collection Name",
|
||||
"bookmarkTitle": "Bookmark Title",
|
||||
"url": "Url",
|
||||
"description": "Description"
|
||||
"description": "Description",
|
||||
"settings": "Settings",
|
||||
"activateJsonExport": "Activate json export"
|
||||
}
|
||||
@@ -199,6 +199,18 @@ abstract class AppLocalizations {
|
||||
/// In en, this message translates to:
|
||||
/// **'Description'**
|
||||
String get description;
|
||||
|
||||
/// No description provided for @settings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Settings'**
|
||||
String get settings;
|
||||
|
||||
/// No description provided for @activateJsonExport.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Activate json export'**
|
||||
String get activateJsonExport;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
||||
@@ -60,4 +60,10 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get description => 'Beschreibung';
|
||||
|
||||
@override
|
||||
String get settings => 'Einstellungen';
|
||||
|
||||
@override
|
||||
String get activateJsonExport => 'Json-Export aktivieren';
|
||||
}
|
||||
|
||||
@@ -61,4 +61,10 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get description => 'Description';
|
||||
|
||||
@override
|
||||
String get settings => 'Settings';
|
||||
|
||||
@override
|
||||
String get activateJsonExport => 'Activate json export';
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import 'l10n/app_localizations.dart';
|
||||
import 'pages/collection_page.dart';
|
||||
import 'pages/collections_list_page.dart';
|
||||
import 'pages/search_page.dart';
|
||||
import 'pages/settings_page.dart';
|
||||
import 'service/search_provider.dart';
|
||||
import 'service/shared_link_provider.dart';
|
||||
import 'service/storage.dart';
|
||||
@@ -83,6 +84,7 @@ class _MapsBookmarksState extends State<MapsBookmarks>
|
||||
CollectionsListPage.routeName: (context) => const CollectionsListPage(),
|
||||
CollectionPage.routeName: (context) => const CollectionPage(),
|
||||
SearchPage.routeName: (context) => const SearchPage(),
|
||||
SettingsPage.routeName: (context) => const SettingsPage(),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import '../service/storage.dart';
|
||||
import '../widgets/create_bookmark_collection_dialog.dart';
|
||||
import 'collection_page.dart';
|
||||
import 'search_page.dart' show SearchPage;
|
||||
import 'settings_page.dart';
|
||||
|
||||
class CollectionsListPage extends StatefulWidget {
|
||||
const CollectionsListPage({super.key});
|
||||
@@ -103,8 +104,13 @@ class _CollectionsListPageState extends State<CollectionsListPage> {
|
||||
IconButton(
|
||||
onPressed: () =>
|
||||
Navigator.of(context).pushNamed(SearchPage.routeName),
|
||||
icon: Icon(Icons.search),
|
||||
icon: Icon(Icons.search_rounded),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () =>
|
||||
Navigator.of(context).pushNamed(SettingsPage.routeName),
|
||||
icon: Icon(Icons.settings_rounded),
|
||||
),
|
||||
],
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
|
||||
15
lib/pages/settings_page.dart
Normal file
15
lib/pages/settings_page.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../l10n/app_localizations.dart';
|
||||
|
||||
class SettingsPage extends StatelessWidget {
|
||||
static const routeName = '/settings';
|
||||
const SettingsPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text(AppLocalizations.of(context)!.settings)),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user