added splash module, fonts and display bundle label

This commit is contained in:
2026-01-15 09:20:45 +01:00
parent 577a3709d3
commit e83bb02be8
72 changed files with 821 additions and 92 deletions

View File

@@ -0,0 +1 @@
{"version":2,"entries":[{"package":"fonts","rootUri":"../","packageUri":"lib/"}]}

View File

@@ -0,0 +1 @@
export 'src/app_fonts.dart';

View File

@@ -0,0 +1,24 @@
import 'package:flutter/widgets.dart';
abstract final class AppFonts {
static const String stolzl = 'Stolzl';
static TextStyle stolzlStyle({
double? size,
FontWeight? weight,
Color? color,
double? height,
double? letterSpacing,
TextDecoration? decoration,
}) {
return TextStyle(
fontFamily: stolzl,
fontSize: size,
fontWeight: weight,
color: color,
height: height,
letterSpacing: letterSpacing,
decoration: decoration,
);
}
}

View File

@@ -1,5 +1,4 @@
name: fonts
# resolution: workspace
description: "A new Flutter package project."
version: 0.0.1
@@ -12,14 +11,22 @@ dependencies:
flutter:
uses-material-design: true
assets:
- assets/fonts/
fonts:
- family: Stolzl
fonts:
- asset: lib/fonts/stolzl_regular.otf
- asset: lib/fonts/stolzl_bold.otf
- asset: lib/fonts/stolzl_medium.otf
- asset: lib/fonts/stolzl_light.otf
- asset: lib/fonts/stolzl_book.otf
- asset: lib/fonts/stolzl_thin.otf
weight: 500
- asset: assets/fonts/stolzl_thin.otf
weight: 100
- asset: assets/fonts/stolzl_light.otf
weight: 300
- asset: assets/fonts/stolzl_regular.otf
weight: 400
- asset: assets/fonts/stolzl_book.otf
weight: 500
- asset: assets/fonts/stolzl_medium.otf
weight: 600
- asset: assets/fonts/stolzl_bold.otf
weight: 700

View File

@@ -1,4 +1,5 @@
class AppRoutes {
static const splash = '/splash';
static const login = '/login';
static const signup = '/signup';
static const onboarding = '/onboarding';

View File

@@ -0,0 +1,3 @@
description: This file stores settings for Dart & Flutter DevTools.
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
extensions: