Skip to content

Commit

Permalink
Merge pull request #68 from TIVMOF/feat/schedule-transactions
Browse files Browse the repository at this point in the history
feat: Initial map page
  • Loading branch information
TIVMOF authored Jan 24, 2025
2 parents 636f53f + 0d5d73b commit 26ea5d8
Show file tree
Hide file tree
Showing 12 changed files with 267 additions and 1 deletion.
Binary file removed pi-bank-app/lib/icons/bill.png
Binary file not shown.
Binary file removed pi-bank-app/lib/icons/credit-card.png
Binary file not shown.
Binary file removed pi-bank-app/lib/icons/lending.png
Binary file not shown.
Binary file added pi-bank-app/lib/icons/map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion pi-bank-app/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:online_bank/pages/map_page.dart';
import 'package:online_bank/pages/statistics_page.dart';
import 'package:online_bank/pages/transfer_page.dart';
import 'package:online_bank/pages/home_page.dart';
Expand Down Expand Up @@ -31,7 +32,8 @@ class MyApp extends StatelessWidget {
'/about': (context) => AboutPage(),
'/settings': (context) => SettingsPage(),
'/transfer': (context) => SendPage(),
'/statistics': (context) => StatsPage()
'/statistics': (context) => StatsPage(),
'/map': (context) => MapPage()
},
);
}
Expand Down
8 changes: 8 additions & 0 deletions pi-bank-app/lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ class _HomePageState extends State<HomePage> {
tileSubtitle: 'Разплащания',
routeName: '/statistics',
),

// Map
MyListTile(
iconImagePath: 'lib/icons/map.png',
tileTitle: 'Клонове',
tileSubtitle: 'Получи консултация',
routeName: '/map',
),
],
),
)
Expand Down
15 changes: 15 additions & 0 deletions pi-bank-app/lib/pages/map_page.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import 'package:flutter/material.dart';

class MapPage extends StatefulWidget {
const MapPage({super.key});

@override
State<MapPage> createState() => _MapPageState();
}

class _MapPageState extends State<MapPage> {
@override
Widget build(BuildContext context) {
return const Placeholder();
}
}
2 changes: 2 additions & 0 deletions pi-bank-app/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import FlutterMacOS
import Foundation

import flutter_secure_storage_macos
import geolocator_apple
import local_auth_darwin
import path_provider_foundation
import shared_preferences_foundation

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin"))
FLALocalAuthPlugin.register(with: registry.registrar(forPlugin: "FLALocalAuthPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
Expand Down
Loading

0 comments on commit 26ea5d8

Please sign in to comment.