rebranded to krezus
6
.vscode/launch.json
vendored
@@ -5,18 +5,18 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "tunas",
|
"name": "krezus",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart"
|
"type": "dart"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tunas (profile mode)",
|
"name": "krezus (profile mode)",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "profile"
|
"flutterMode": "profile"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tunas (release mode)",
|
"name": "krezus (release mode)",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "release"
|
"flutterMode": "release"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Tunas
|
# Krezus (tunas)
|
||||||
|
|
||||||
A very complicated tool that should have been an excel sheet.
|
A very complicated tool that should have been an excel sheet.
|
||||||
@@ -23,7 +23,7 @@ if (flutterVersionName == null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace "com.example.tunas"
|
namespace "sx.glt.krezus"
|
||||||
compileSdkVersion flutter.compileSdkVersion
|
compileSdkVersion flutter.compileSdkVersion
|
||||||
ndkVersion flutter.ndkVersion
|
ndkVersion flutter.ndkVersion
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "com.example.tunas"
|
applicationId "sx.glt.krezus"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||||
minSdkVersion flutter.minSdkVersion
|
minSdkVersion flutter.minSdkVersion
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<application
|
<application
|
||||||
android:label="tunas"
|
android:label="krezus"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/launcher_icon">
|
android:icon="@mipmap/launcher_icon">
|
||||||
<activity
|
<activity
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.tunas
|
package sx.glt.krezus
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
BIN
assets/icon/krezus.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/icon/krezus2.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
@@ -367,7 +367,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
@@ -384,7 +384,7 @@
|
|||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||||
@@ -402,7 +402,7 @@
|
|||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
|
||||||
@@ -418,7 +418,7 @@
|
|||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
|
||||||
@@ -545,7 +545,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||||
@@ -567,7 +567,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 10 KiB |
@@ -5,7 +5,7 @@
|
|||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>Tunas</string>
|
<string>Krezus</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
<string>$(EXECUTABLE_NAME)</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>tunas</string>
|
<string>krezus</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
|
|||||||
12
lib/app.dart
@@ -2,11 +2,11 @@ import 'package:dynamic_color/dynamic_color.dart';
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||||
import 'package:tunas/clients/storage/json_storage_client.dart';
|
import 'package:krezus/clients/storage/json_storage_client.dart';
|
||||||
import 'package:tunas/pages/home/home_page.dart';
|
import 'package:krezus/pages/home/home_page.dart';
|
||||||
import 'package:tunas/repositories/json/json_repository.dart';
|
import 'package:krezus/repositories/json/json_repository.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
|
|
||||||
class App extends StatefulWidget {
|
class App extends StatefulWidget {
|
||||||
const App({super.key});
|
const App({super.key});
|
||||||
@@ -78,7 +78,7 @@ class _AppViewState extends State<AppView> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Tunas',
|
title: 'Krezus',
|
||||||
theme: ThemeData(colorScheme: lightColorScheme),
|
theme: ThemeData(colorScheme: lightColorScheme),
|
||||||
darkTheme: ThemeData(colorScheme: darkColorScheme),
|
darkTheme: ThemeData(colorScheme: darkColorScheme),
|
||||||
themeMode: _metadataRepository.getSettings().themeMode,
|
themeMode: _metadataRepository.getSettings().themeMode,
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ import 'package:csv/csv.dart';
|
|||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
import 'package:file_picker/file_picker.dart';
|
import 'package:file_picker/file_picker.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/account.dart';
|
import 'package:krezus/repositories/metadata/models/account.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
part 'account_event.dart';
|
part 'account_event.dart';
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import 'dart:async';
|
|||||||
|
|
||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
|
|
||||||
part 'budget_event.dart';
|
part 'budget_event.dart';
|
||||||
part 'budget_state.dart';
|
part 'budget_state.dart';
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ import 'dart:ui';
|
|||||||
|
|
||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
part 'category_event.dart';
|
part 'category_event.dart';
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
import 'package:fl_chart/fl_chart.dart';
|
import 'package:fl_chart/fl_chart.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/charts/models/month_totals.dart';
|
import 'package:krezus/domains/charts/models/month_totals.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_line.dart';
|
import 'package:krezus/domains/transaction/models/transaction_line.dart';
|
||||||
import 'package:tunas/domains/charts/models/chart_item.dart';
|
import 'package:krezus/domains/charts/models/chart_item.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
|
|
||||||
part 'chart_event.dart';
|
part 'chart_event.dart';
|
||||||
part 'chart_state.dart';
|
part 'chart_state.dart';
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import 'dart:async';
|
|||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/settings.dart';
|
import 'package:krezus/repositories/metadata/models/settings.dart';
|
||||||
|
|
||||||
part 'settings_event.dart';
|
part 'settings_event.dart';
|
||||||
part 'settings_state.dart';
|
part 'settings_state.dart';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
|
|
||||||
class TransactionLine {
|
class TransactionLine {
|
||||||
Transaction transaction;
|
Transaction transaction;
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:formz/formz.dart';
|
import 'package:formz/formz.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_account.dart';
|
import 'package:krezus/domains/transaction/models/transaction_account.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_category.dart';
|
import 'package:krezus/domains/transaction/models/transaction_category.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_date.dart';
|
import 'package:krezus/domains/transaction/models/transaction_date.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_description.dart';
|
import 'package:krezus/domains/transaction/models/transaction_description.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_line.dart';
|
import 'package:krezus/domains/transaction/models/transaction_line.dart';
|
||||||
import 'package:tunas/domains/transaction/models/transaction_value.dart';
|
import 'package:krezus/domains/transaction/models/transaction_value.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
|
|
||||||
part 'transaction_event.dart';
|
part 'transaction_event.dart';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/date_symbol_data_local.dart';
|
import 'package:intl/date_symbol_data_local.dart';
|
||||||
import 'package:tunas/app.dart';
|
import 'package:krezus/app.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
initializeDateFormatting('fr_FR', null);
|
initializeDateFormatting('fr_FR', null);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budgets_actions.dart';
|
import 'package:krezus/pages/budgets/widgets/budgets_actions.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/month_distribution.dart';
|
import 'package:krezus/pages/budgets/widgets/month_distribution.dart';
|
||||||
|
|
||||||
class BudgetsPage extends StatelessWidget {
|
class BudgetsPage extends StatelessWidget {
|
||||||
const BudgetsPage({super.key});
|
const BudgetsPage({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
|
|
||||||
class BudgetCards extends StatelessWidget {
|
class BudgetCards extends StatelessWidget {
|
||||||
const BudgetCards({super.key});
|
const BudgetCards({super.key});
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budget_cards.dart';
|
import 'package:krezus/pages/budgets/widgets/budget_cards.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budget_compare_selector.dart';
|
import 'package:krezus/pages/budgets/widgets/budget_compare_selector.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budget_radar.dart';
|
import 'package:krezus/pages/budgets/widgets/budget_radar.dart';
|
||||||
import 'package:tunas/pages/common/titled_container.dart';
|
import 'package:krezus/pages/common/titled_container.dart';
|
||||||
|
|
||||||
class BudgetComparator extends StatelessWidget {
|
class BudgetComparator extends StatelessWidget {
|
||||||
const BudgetComparator({super.key});
|
const BudgetComparator({super.key});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
|
|
||||||
class BudgetCompareSelector extends StatelessWidget {
|
class BudgetCompareSelector extends StatelessWidget {
|
||||||
const BudgetCompareSelector({super.key});
|
const BudgetCompareSelector({super.key});
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
|
|
||||||
class BudgetLine extends StatelessWidget {
|
class BudgetLine extends StatelessWidget {
|
||||||
final Budget budget;
|
final Budget budget;
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budget_line.dart';
|
import 'package:krezus/pages/budgets/widgets/budget_line.dart';
|
||||||
import 'package:tunas/pages/common/titled_container.dart';
|
import 'package:krezus/pages/common/titled_container.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
|
|
||||||
class BudgetMaker extends StatelessWidget {
|
class BudgetMaker extends StatelessWidget {
|
||||||
const BudgetMaker({super.key});
|
const BudgetMaker({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:fl_chart/fl_chart.dart';
|
import 'package:fl_chart/fl_chart.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
|
|
||||||
class BudgetRadar extends StatelessWidget {
|
class BudgetRadar extends StatelessWidget {
|
||||||
const BudgetRadar({super.key});
|
const BudgetRadar({super.key});
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/account/account_bloc.dart';
|
import 'package:krezus/domains/account/account_bloc.dart';
|
||||||
|
|
||||||
class BudgetsActions extends StatelessWidget {
|
class BudgetsActions extends StatelessWidget {
|
||||||
const BudgetsActions({super.key});
|
const BudgetsActions({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budget_comparator.dart';
|
import 'package:krezus/pages/budgets/widgets/budget_comparator.dart';
|
||||||
import 'package:tunas/pages/budgets/widgets/budget_maker.dart';
|
import 'package:krezus/pages/budgets/widgets/budget_maker.dart';
|
||||||
|
|
||||||
class MonthDistribution extends StatelessWidget {
|
class MonthDistribution extends StatelessWidget {
|
||||||
const MonthDistribution({super.key});
|
const MonthDistribution({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:tunas/pages/data/widgets/account_settings.dart';
|
import 'package:krezus/pages/data/widgets/account_settings.dart';
|
||||||
import 'package:tunas/pages/data/widgets/categories_settings.dart';
|
import 'package:krezus/pages/data/widgets/categories_settings.dart';
|
||||||
import 'package:tunas/pages/data/widgets/import_settings.dart';
|
import 'package:krezus/pages/data/widgets/import_settings.dart';
|
||||||
import 'package:tunas/pages/data/widgets/settings_settings.dart';
|
import 'package:krezus/pages/data/widgets/settings_settings.dart';
|
||||||
|
|
||||||
class DataPage extends StatelessWidget {
|
class DataPage extends StatelessWidget {
|
||||||
const DataPage({super.key});
|
const DataPage({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/account/account_bloc.dart';
|
import 'package:krezus/domains/account/account_bloc.dart';
|
||||||
import 'package:tunas/pages/common/titled_container.dart';
|
import 'package:krezus/pages/common/titled_container.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/account.dart';
|
import 'package:krezus/repositories/metadata/models/account.dart';
|
||||||
|
|
||||||
class AccountSettings extends StatelessWidget {
|
class AccountSettings extends StatelessWidget {
|
||||||
const AccountSettings({super.key});
|
const AccountSettings({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/pages/common/titled_container.dart';
|
import 'package:krezus/pages/common/titled_container.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
|
|
||||||
class CategoriesSettings extends StatelessWidget {
|
class CategoriesSettings extends StatelessWidget {
|
||||||
const CategoriesSettings({super.key});
|
const CategoriesSettings({super.key});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/account/account_bloc.dart';
|
import 'package:krezus/domains/account/account_bloc.dart';
|
||||||
import 'package:tunas/pages/common/titled_container.dart';
|
import 'package:krezus/pages/common/titled_container.dart';
|
||||||
|
|
||||||
class ImportSettings extends StatelessWidget {
|
class ImportSettings extends StatelessWidget {
|
||||||
const ImportSettings({super.key});
|
const ImportSettings({super.key});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/settings/settings_bloc.dart';
|
import 'package:krezus/domains/settings/settings_bloc.dart';
|
||||||
import 'package:tunas/pages/common/titled_container.dart';
|
import 'package:krezus/pages/common/titled_container.dart';
|
||||||
|
|
||||||
class SettingsSettings extends StatelessWidget {
|
class SettingsSettings extends StatelessWidget {
|
||||||
const SettingsSettings({super.key});
|
const SettingsSettings({super.key});
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/account/account_bloc.dart';
|
import 'package:krezus/domains/account/account_bloc.dart';
|
||||||
import 'package:tunas/domains/budget/budget_bloc.dart';
|
import 'package:krezus/domains/budget/budget_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/domains/charts/chart_bloc.dart';
|
import 'package:krezus/domains/charts/chart_bloc.dart';
|
||||||
import 'package:tunas/domains/settings/settings_bloc.dart';
|
import 'package:krezus/domains/settings/settings_bloc.dart';
|
||||||
import 'package:tunas/domains/transaction/transaction_bloc.dart';
|
import 'package:krezus/domains/transaction/transaction_bloc.dart';
|
||||||
import 'package:tunas/pages/budgets/budgets_page.dart';
|
import 'package:krezus/pages/budgets/budgets_page.dart';
|
||||||
import 'package:tunas/pages/data/data_page.dart';
|
import 'package:krezus/pages/data/data_page.dart';
|
||||||
import 'package:tunas/pages/stats/stats_page.dart';
|
import 'package:krezus/pages/stats/stats_page.dart';
|
||||||
import 'package:tunas/pages/transactions/transactions_page.dart';
|
import 'package:krezus/pages/transactions/transactions_page.dart';
|
||||||
import 'package:tunas/repositories/metadata/metadata_repository.dart';
|
import 'package:krezus/repositories/metadata/metadata_repository.dart';
|
||||||
import 'package:tunas/repositories/transactions/transactions_repository.dart';
|
import 'package:krezus/repositories/transactions/transactions_repository.dart';
|
||||||
|
|
||||||
class HomePage extends StatelessWidget {
|
class HomePage extends StatelessWidget {
|
||||||
const HomePage({super.key});
|
const HomePage({super.key});
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/charts/chart_bloc.dart';
|
import 'package:krezus/domains/charts/chart_bloc.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/account_counters.dart';
|
import 'package:krezus/pages/stats/widgets/account_counters.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/categories_totals_chart.dart';
|
import 'package:krezus/pages/stats/widgets/categories_totals_chart.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/global_counter.dart';
|
import 'package:krezus/pages/stats/widgets/global_counter.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/monthly_categories_total_chart.dart';
|
import 'package:krezus/pages/stats/widgets/monthly_categories_total_chart.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/global_total_chart.dart';
|
import 'package:krezus/pages/stats/widgets/global_total_chart.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/profit_indicator.dart';
|
import 'package:krezus/pages/stats/widgets/profit_indicator.dart';
|
||||||
import 'package:tunas/pages/stats/widgets/year_selector.dart';
|
import 'package:krezus/pages/stats/widgets/year_selector.dart';
|
||||||
|
|
||||||
class StatsPage extends StatelessWidget {
|
class StatsPage extends StatelessWidget {
|
||||||
const StatsPage({super.key});
|
const StatsPage({super.key});
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import 'package:fl_chart/fl_chart.dart';
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/domains/charts/models/chart_item.dart';
|
import 'package:krezus/domains/charts/models/chart_item.dart';
|
||||||
|
|
||||||
class CategoriesTotalsChart extends StatelessWidget {
|
class CategoriesTotalsChart extends StatelessWidget {
|
||||||
final List<ChartItem> categoriesTotals;
|
final List<ChartItem> categoriesTotals;
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import 'package:fl_chart/fl_chart.dart';
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/domains/charts/models/month_totals.dart';
|
import 'package:krezus/domains/charts/models/month_totals.dart';
|
||||||
|
|
||||||
class MonthlyCategoriesTotalChart extends StatelessWidget {
|
class MonthlyCategoriesTotalChart extends StatelessWidget {
|
||||||
final Map<int, MonthTotals> categoriesMonthlyTotals;
|
final Map<int, MonthTotals> categoriesMonthlyTotals;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/charts/chart_bloc.dart';
|
import 'package:krezus/domains/charts/chart_bloc.dart';
|
||||||
|
|
||||||
class YearSelector extends StatelessWidget {
|
class YearSelector extends StatelessWidget {
|
||||||
const YearSelector({super.key});
|
const YearSelector({super.key});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transactions_actions.dart';
|
import 'package:krezus/pages/transactions/widgets/transactions_actions.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transactions_header.dart';
|
import 'package:krezus/pages/transactions/widgets/transactions_header.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transactions_list.dart';
|
import 'package:krezus/pages/transactions/widgets/transactions_list.dart';
|
||||||
|
|
||||||
class TransactionsPage extends StatelessWidget {
|
class TransactionsPage extends StatelessWidget {
|
||||||
const TransactionsPage({super.key});
|
const TransactionsPage({super.key});
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/domains/transaction/transaction_bloc.dart';
|
import 'package:krezus/domains/transaction/transaction_bloc.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart' as tunas_category;
|
import 'package:krezus/repositories/metadata/models/category.dart' as krezus_category;
|
||||||
|
|
||||||
class CategoryFilter extends StatelessWidget {
|
class CategoryFilter extends StatelessWidget {
|
||||||
const CategoryFilter({super.key});
|
const CategoryFilter({super.key});
|
||||||
@@ -14,7 +14,7 @@ class CategoryFilter extends StatelessWidget {
|
|||||||
buildWhen: (previous, current) => previous.categoryFilter != current.categoryFilter,
|
buildWhen: (previous, current) => previous.categoryFilter != current.categoryFilter,
|
||||||
builder: (context, state) => SizedBox(
|
builder: (context, state) => SizedBox(
|
||||||
width: 500,
|
width: 500,
|
||||||
child: DropdownButtonFormField<tunas_category.Category>(
|
child: DropdownButtonFormField<krezus_category.Category>(
|
||||||
value: state.categoryFilter,
|
value: state.categoryFilter,
|
||||||
onChanged: (value) => context.read<TransactionBloc>().add(TransactionFilterCategory(value!)),
|
onChanged: (value) => context.read<TransactionBloc>().add(TransactionFilterCategory(value!)),
|
||||||
items: categoryState.categories.map((e) => DropdownMenuItem(value: e, child: Text(e.label))).toList(),
|
items: categoryState.categories.map((e) => DropdownMenuItem(value: e, child: Text(e.label))).toList(),
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/account/account_bloc.dart';
|
import 'package:krezus/domains/account/account_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/domains/transaction/transaction_bloc.dart';
|
import 'package:krezus/domains/transaction/transaction_bloc.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transaction_form.dart';
|
import 'package:krezus/pages/transactions/widgets/transaction_form.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
|
|
||||||
class TransactionAddDialog extends StatelessWidget {
|
class TransactionAddDialog extends StatelessWidget {
|
||||||
const TransactionAddDialog({super.key});
|
const TransactionAddDialog({super.key});
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/domains/account/account_bloc.dart';
|
import 'package:krezus/domains/account/account_bloc.dart';
|
||||||
import 'package:tunas/domains/category/category_bloc.dart';
|
import 'package:krezus/domains/category/category_bloc.dart';
|
||||||
import 'package:tunas/domains/transaction/transaction_bloc.dart';
|
import 'package:krezus/domains/transaction/transaction_bloc.dart';
|
||||||
|
|
||||||
class TransactionForm extends StatelessWidget {
|
class TransactionForm extends StatelessWidget {
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transaction_add_dialog.dart';
|
import 'package:krezus/pages/transactions/widgets/transaction_add_dialog.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
|
|
||||||
class TransactionLine extends StatelessWidget {
|
class TransactionLine extends StatelessWidget {
|
||||||
final Transaction transaction;
|
final Transaction transaction;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/transaction/transaction_bloc.dart';
|
import 'package:krezus/domains/transaction/transaction_bloc.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/category_filter.dart';
|
import 'package:krezus/pages/transactions/widgets/category_filter.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transaction_add_dialog.dart';
|
import 'package:krezus/pages/transactions/widgets/transaction_add_dialog.dart';
|
||||||
|
|
||||||
class TransactionsActions extends StatelessWidget {
|
class TransactionsActions extends StatelessWidget {
|
||||||
const TransactionsActions({super.key});
|
const TransactionsActions({super.key});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:tunas/domains/transaction/transaction_bloc.dart';
|
import 'package:krezus/domains/transaction/transaction_bloc.dart';
|
||||||
import 'package:tunas/pages/transactions/widgets/transaction_line.dart';
|
import 'package:krezus/pages/transactions/widgets/transaction_line.dart';
|
||||||
|
|
||||||
class TransactionsList extends StatelessWidget {
|
class TransactionsList extends StatelessWidget {
|
||||||
const TransactionsList({super.key});
|
const TransactionsList({super.key});
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:tunas/clients/storage/json_storage_client.dart';
|
import 'package:krezus/clients/storage/json_storage_client.dart';
|
||||||
import 'package:tunas/repositories/json/models/json.dart';
|
import 'package:krezus/repositories/json/models/json.dart';
|
||||||
|
|
||||||
class JsonRepository {
|
class JsonRepository {
|
||||||
String accountFile = 'tunas_main_account.json';
|
String accountFile = 'krezus_main_account.json';
|
||||||
|
|
||||||
final JsonStorageClient _storageClient;
|
final JsonStorageClient _storageClient;
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import 'package:rxdart/subjects.dart';
|
import 'package:rxdart/subjects.dart';
|
||||||
import 'package:tunas/repositories/json/json_repository.dart';
|
import 'package:krezus/repositories/json/json_repository.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/account.dart';
|
import 'package:krezus/repositories/metadata/models/account.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/metadata.dart';
|
import 'package:krezus/repositories/metadata/models/metadata.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/settings.dart';
|
import 'package:krezus/repositories/metadata/models/settings.dart';
|
||||||
|
|
||||||
class MetadataRepository {
|
class MetadataRepository {
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import 'package:tunas/repositories/metadata/models/budget.dart';
|
import 'package:krezus/repositories/metadata/models/budget.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/category.dart';
|
import 'package:krezus/repositories/metadata/models/category.dart';
|
||||||
import 'package:tunas/repositories/json/models/json.dart';
|
import 'package:krezus/repositories/json/models/json.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/account.dart';
|
import 'package:krezus/repositories/metadata/models/account.dart';
|
||||||
import 'package:tunas/repositories/metadata/models/settings.dart';
|
import 'package:krezus/repositories/metadata/models/settings.dart';
|
||||||
|
|
||||||
class Metadata implements Json {
|
class Metadata implements Json {
|
||||||
List<Budget> budgets;
|
List<Budget> budgets;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import 'package:tunas/repositories/json/models/json.dart';
|
import 'package:krezus/repositories/json/models/json.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
|
|
||||||
class Transactions implements Json {
|
class Transactions implements Json {
|
||||||
List<Transaction> transactions;
|
List<Transaction> transactions;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:rxdart/subjects.dart';
|
import 'package:rxdart/subjects.dart';
|
||||||
import 'package:tunas/repositories/json/json_repository.dart';
|
import 'package:krezus/repositories/json/json_repository.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transaction.dart';
|
import 'package:krezus/repositories/transactions/models/transaction.dart';
|
||||||
import 'package:tunas/repositories/transactions/models/transactions.dart';
|
import 'package:krezus/repositories/transactions/models/transactions.dart';
|
||||||
|
|
||||||
class TransactionsRepository {
|
class TransactionsRepository {
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
|
|||||||
|
|
||||||
# The name of the executable created for the application. Change this to change
|
# The name of the executable created for the application. Change this to change
|
||||||
# the on-disk name of your application.
|
# the on-disk name of your application.
|
||||||
set(BINARY_NAME "tunas")
|
set(BINARY_NAME "krezus")
|
||||||
# The unique GTK application identifier for this application. See:
|
# The unique GTK application identifier for this application. See:
|
||||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
||||||
set(APPLICATION_ID "com.example.tunas")
|
set(APPLICATION_ID "sx.glt.krezus")
|
||||||
|
|
||||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||||
# versions of CMake.
|
# versions of CMake.
|
||||||
|
|||||||
@@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
|
|||||||
if (use_header_bar) {
|
if (use_header_bar) {
|
||||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||||
gtk_header_bar_set_title(header_bar, "tunas");
|
gtk_header_bar_set_title(header_bar, "krezus");
|
||||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||||
} else {
|
} else {
|
||||||
gtk_window_set_title(window, "tunas");
|
gtk_window_set_title(window, "krezus");
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_default_size(window, 1280, 720);
|
gtk_window_set_default_size(window, 1280, 720);
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
||||||
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
|
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
|
||||||
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
|
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
|
||||||
33CC10ED2044A3C60003C045 /* tunas.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "tunas.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
33CC10ED2044A3C60003C045 /* krezus.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "krezus.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||||
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
|
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
|
||||||
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
33CC10EE2044A3C60003C045 /* Products */ = {
|
33CC10EE2044A3C60003C045 /* Products */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
33CC10ED2044A3C60003C045 /* tunas.app */,
|
33CC10ED2044A3C60003C045 /* krezus.app */,
|
||||||
331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
|
331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
);
|
);
|
||||||
name = Runner;
|
name = Runner;
|
||||||
productName = Runner;
|
productName = Runner;
|
||||||
productReference = 33CC10ED2044A3C60003C045 /* tunas.app */;
|
productReference = 33CC10ED2044A3C60003C045 /* krezus.app */;
|
||||||
productType = "com.apple.product-type.application";
|
productType = "com.apple.product-type.application";
|
||||||
};
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
@@ -384,10 +384,10 @@
|
|||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tunas.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/tunas";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krezus.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krezus";
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
@@ -398,10 +398,10 @@
|
|||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tunas.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/tunas";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krezus.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krezus";
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
@@ -412,10 +412,10 @@
|
|||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tunas.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/tunas";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krezus.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krezus";
|
||||||
};
|
};
|
||||||
name = Profile;
|
name = Profile;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "tunas.app"
|
BuildableName = "krezus.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "tunas.app"
|
BuildableName = "krezus.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "tunas.app"
|
BuildableName = "krezus.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "tunas.app"
|
BuildableName = "krezus.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -5,10 +5,10 @@
|
|||||||
// 'flutter create' template.
|
// 'flutter create' template.
|
||||||
|
|
||||||
// The application's name. By default this is also the title of the Flutter window.
|
// The application's name. By default this is also the title of the Flutter window.
|
||||||
PRODUCT_NAME = tunas
|
PRODUCT_NAME = krezus
|
||||||
|
|
||||||
// The application's bundle identifier
|
// The application's bundle identifier
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.tunas
|
PRODUCT_BUNDLE_IDENTIFIER = sx.glt.krezus
|
||||||
|
|
||||||
// The copyright displayed in application information
|
// The copyright displayed in application information
|
||||||
PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved.
|
PRODUCT_COPYRIGHT = Copyright © 2023 sx.glt. All rights reserved.
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
name: tunas
|
name: krezus
|
||||||
description: "A very complicated tool that should have been an excel sheet."
|
description: "A very complicated tool that should have been an excel sheet."
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
|
|
||||||
version: 1.0.0+1
|
version: 1.0.0+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
@@ -53,7 +52,7 @@ flutter:
|
|||||||
flutter_launcher_icons:
|
flutter_launcher_icons:
|
||||||
android: "launcher_icon"
|
android: "launcher_icon"
|
||||||
ios: true
|
ios: true
|
||||||
image_path: "assets/icon/tunas.png"
|
image_path: "assets/icon/krezus2.png"
|
||||||
min_sdk_android: 21
|
min_sdk_android: 21
|
||||||
web:
|
web:
|
||||||
generate: true
|
generate: true
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import 'package:tunas/app.dart';
|
import 'package:krezus/app.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
||||||
|
|||||||
BIN
web/favicon.png
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 65 KiB |
@@ -23,13 +23,13 @@
|
|||||||
<!-- iOS meta tags & icons -->
|
<!-- iOS meta tags & icons -->
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
<meta name="apple-mobile-web-app-title" content="tunas">
|
<meta name="apple-mobile-web-app-title" content="krezus">
|
||||||
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||||
|
|
||||||
<title>tunas</title>
|
<title>krezus</title>
|
||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="manifest.json">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tunas",
|
"name": "krezus",
|
||||||
"short_name": "tunas",
|
"short_name": "krezus",
|
||||||
"start_url": ".",
|
"start_url": ".",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#0175C2",
|
"background_color": "#0175C2",
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Project-level configuration.
|
# Project-level configuration.
|
||||||
cmake_minimum_required(VERSION 3.14)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
project(tunas LANGUAGES CXX)
|
project(krezus LANGUAGES CXX)
|
||||||
|
|
||||||
# The name of the executable created for the application. Change this to change
|
# The name of the executable created for the application. Change this to change
|
||||||
# the on-disk name of your application.
|
# the on-disk name of your application.
|
||||||
set(BINARY_NAME "tunas")
|
set(BINARY_NAME "krezus")
|
||||||
|
|
||||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||||
# versions of CMake.
|
# versions of CMake.
|
||||||
|
|||||||
@@ -89,13 +89,13 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "040904e4"
|
BLOCK "040904e4"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "com.example" "\0"
|
VALUE "CompanyName", "sx.glt" "\0"
|
||||||
VALUE "FileDescription", "tunas" "\0"
|
VALUE "FileDescription", "krezus" "\0"
|
||||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||||
VALUE "InternalName", "tunas" "\0"
|
VALUE "InternalName", "krezus" "\0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0"
|
VALUE "LegalCopyright", "Copyright (C) 2023 sx.glt. All rights reserved." "\0"
|
||||||
VALUE "OriginalFilename", "tunas.exe" "\0"
|
VALUE "OriginalFilename", "krezus.exe" "\0"
|
||||||
VALUE "ProductName", "tunas" "\0"
|
VALUE "ProductName", "krezus" "\0"
|
||||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
|||||||
FlutterWindow window(project);
|
FlutterWindow window(project);
|
||||||
Win32Window::Point origin(10, 10);
|
Win32Window::Point origin(10, 10);
|
||||||
Win32Window::Size size(1280, 720);
|
Win32Window::Size size(1280, 720);
|
||||||
if (!window.Create(L"tunas", origin, size)) {
|
if (!window.Create(L"krezus", origin, size)) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
window.SetQuitOnClose(true);
|
window.SetQuitOnClose(true);
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.9 KiB |