glanzlicht / Meinweimar_Saving_App

MW Rettertuete & Deals - clean

Verified secure showcase
112 Files 341 KB Public size 7 Redacted Dart · XCCONFIG · H · XML · GITIGNORE · PLIST

Project overview

Meinweimar_Saving_App is a verified code showcase with 112 visible project entries across 9 top-level modules. The primary detected language is Dart; protected files remain visible in the structure while their contents stay private.

README

meinweimar_box__nativ

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

lib/main.dartDart
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
müssen VOR allen Deklarationen stehen)
import 'shop_page.dart';
import 'login_page.dart';
import 'constants.dart';
import 'custom_bottom_nav.dart';
import 'splash_screen.dart'; // Den neuen Splash Screen importieren
RouteObserver global (für Auto-Refresh per didPopNext etc.)
final RouteObserver<PageRoute<dynamic>> routeObserver = RouteObserver<PageRoute<dynamic>>();
void main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
title: AppConstants.appName,
theme: ThemeData(
primaryColor: AppConstants.mainColor,
colorScheme: ColorScheme.fromSeed(
seedColor: AppConstants.mainColor,
primary: AppConstants.mainColor,
),
scaffoldBackgroundColor: AppConstants.baseWhite,
useMaterial3: true,
),
RouteObserver aktivieren
navigatorObservers: [routeObserver],
// Wir starten jetzt direkt mit dem Splash Screen
home: const SplashScreen(),
));
}
// --- HELPER ---
String formatPrice(String? price) {
if (price == null || price.isEmpty) return "0,00";
double? val = double.tryParse(price);
return (val ?? 0).toStringAsFixed(2).replaceAll('.', ',');
}
// --- MAIN NAVIGATION ---
class MainNavigation extends StatefulWidget {
const MainNavigation({super.key});
@override
State<MainNavigation> createState() => _MainNavigationState();
}
class _MainNavigationState extends State<MainNavigation> {
int _currentIndex = 0;
final List<Widget> _pages = [const ShopPage()];
@override
Widget build(BuildContext context) {
return Scaffold(
body: _pages[0],
bottomNavigationBar: CustomBottomNav(
currentIndex: _currentIndex,
onTap: (index) {
setState(() => _currentIndex = index);
},
),
);
}
}

Architecture

High-level modules detected from the verified public snapshot. Protected implementation details are intentionally omitted.

macosmodule
iosmodule
libmodule
windowsmodule
androidmodule
linuxmodule
webmodule
testmodule

Technology stack

DartPBXPROJLOCKXIBTXTCPPFlutter / Dart
Dart39.9%
PBXPROJ16.4%
LOCK7.1%
XIB6.8%
TXT5.2%
CPP3.9%
JSON2.9%
XCSCHEME2.2%