build number

This commit is contained in:
2025-11-17 13:43:34 +01:00
parent 9f1fe454df
commit c8d2912dff
4 changed files with 28 additions and 2 deletions
@@ -276,7 +276,18 @@ class _IgelListState extends ConsumerState<IgelListScreen> {
final df = DateFormat('dd.MM.yyyy');
return Scaffold(
appBar: AppBar(
title: const Text('Meine Igel'),
title: const Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Text('Meine Igel'),
SizedBox(height: 2),
Text(
'Build $kBuildNumber',
style: TextStyle(fontSize: 12, color: Colors.black54),
),
],
),
actions: [
IconButton(
tooltip: 'CSV importieren…',
+7 -1
View File
@@ -12,6 +12,11 @@ const kApiBase = String.fromEnvironment(
defaultValue: 'https://api.windesign.at/hedgehogs.php?r=',
);
const kBuildNumber = String.fromEnvironment(
'BUILD_NUMBER',
defaultValue: '2025.01.07.1',
);
final tokenStorageProvider =
Provider<TokenStorage>((ref) => TokenStorage(kApiBase));
final apiClientProvider = Provider<ApiClient>((ref) => ApiClient(
@@ -41,7 +46,8 @@ class AppScrollBehavior extends MaterialScrollBehavior {
// Disable automatic Scrollbar wrapping; use explicit Scrollbars where needed.
@override
Widget buildScrollbar(BuildContext context, Widget child, ScrollableDetails details) {
Widget buildScrollbar(
BuildContext context, Widget child, ScrollableDetails details) {
return child;
}
}
+8
View File
@@ -214,6 +214,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "5.1.1"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
url: "https://pub.dev"
source: hosted
version: "1.0.8"
dart_style:
dependency: transitive
description:
+1
View File
@@ -22,6 +22,7 @@ dependencies:
csv: ^5.0.2
file_picker: ^8.0.0
video_player: ^2.9.1
cupertino_icons: ^1.0.2
dev_dependencies:
build_runner: ^2.4.11