removed settings (made redundant)
This commit is contained in:
@@ -13,7 +13,7 @@ import 'pages/list.dart';
|
|||||||
import 'pages/add.dart';
|
import 'pages/add.dart';
|
||||||
import 'pages/flashcards.dart';
|
import 'pages/flashcards.dart';
|
||||||
import 'pages/leaderboard.dart';
|
import 'pages/leaderboard.dart';
|
||||||
import 'pages/settings.dart';
|
//import 'pages/settings.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
runApp(
|
runApp(
|
||||||
@@ -38,7 +38,7 @@ class HlaskovnikFrontendApp extends StatelessWidget {
|
|||||||
GoRoute(path: '/add', builder: (context, state) => AddPage()),
|
GoRoute(path: '/add', builder: (context, state) => AddPage()),
|
||||||
GoRoute(path: '/flashcards', builder: (context, state) => FlashcardsPage()),
|
GoRoute(path: '/flashcards', builder: (context, state) => FlashcardsPage()),
|
||||||
GoRoute(path: '/leaderboard', builder: (context, state) => LeaderboardPage()),
|
GoRoute(path: '/leaderboard', builder: (context, state) => LeaderboardPage()),
|
||||||
GoRoute(path: '/settings', builder: (context, state) => SettingsPage()),
|
//GoRoute(path: '/settings', builder: (context, state) => SettingsPage()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,10 +1,30 @@
|
|||||||
|
// !!! MADE REDUNDANT !!!
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
//import 'package:frontend/provider/quote_provider.dart';
|
||||||
|
|
||||||
|
//import 'package:frontend/values/strings.dart';
|
||||||
|
//import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
/// settings items
|
||||||
|
/// 1. import quotes from file
|
||||||
|
|
||||||
|
|
||||||
class SettingsPage extends StatelessWidget {
|
class SettingsPage extends StatelessWidget {
|
||||||
const SettingsPage({super.key});
|
const SettingsPage({super.key});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return const Center(child: Text('let\'s set something up!'));
|
//final provider = context.watch<QuoteProvider>();
|
||||||
|
return const Center(
|
||||||
|
child: Card(
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
//Text(Strings.importQuotesFromFile),
|
||||||
|
//IconButton(onPressed: provider.importQuotesFromFile, icon: icon)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -22,6 +22,7 @@ class Strings {
|
|||||||
static const String flipFlashcard = "Otočit flashkartu";
|
static const String flipFlashcard = "Otočit flashkartu";
|
||||||
static const String nextFlashcard = "Další flashkarta";
|
static const String nextFlashcard = "Další flashkarta";
|
||||||
|
|
||||||
|
//static const String importQuotesFromFile = "Importovat hlášky ze souboru";
|
||||||
static const String fileExportedSuccessfully = "Soubor byl úspěšně vyexportován.";
|
static const String fileExportedSuccessfully = "Soubor byl úspěšně vyexportován.";
|
||||||
static const String noUndo = "Tuto akci nelze odčinit.";
|
static const String noUndo = "Tuto akci nelze odčinit.";
|
||||||
static const String filterQuery = "Filtrovací požadavek";
|
static const String filterQuery = "Filtrovací požadavek";
|
||||||
|
|||||||
Reference in New Issue
Block a user