Added app image to information view

This commit is contained in:
Felix Kirchner
2025-04-26 12:54:24 +02:00
parent cc1ce1a225
commit f528ce975e
4 changed files with 15 additions and 41 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

View File

@@ -52,8 +52,8 @@
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Release" buildConfiguration = "Release"
selectedDebuggerIdentifier = "" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0" launchStyle = "0"
useCustomWorkingDirectory = "NO" useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO" ignoresPersistentStateOnLaunch = "NO"

View File

@@ -24,7 +24,7 @@ class InformationView extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Padding( Padding(
padding: EdgeInsets.symmetric(vertical: 20.0), padding: EdgeInsets.symmetric(vertical: 10.0),
child: Text( child: Text(
'Cabo Counter', 'Cabo Counter',
style: TextStyle( style: TextStyle(
@@ -33,10 +33,17 @@ class InformationView extends StatelessWidget {
), ),
), ),
), ),
Padding(
padding: EdgeInsets.symmetric(horizontal: 20, vertical: 10),
child: SizedBox(
height: 200,
child:
Image.asset('assets/cabo-counter-logo_rounded.png'),
)),
Padding( Padding(
padding: EdgeInsets.symmetric(horizontal: 30), padding: EdgeInsets.symmetric(horizontal: 30),
child: Text( child: Text(
'Hey :)\nDanke, dass du als eine:r der ersten User ' 'Hey :) Danke, dass du als eine:r der ersten User '
'meiner ersten eigenen App dabei bist! Ich hab sehr ' 'meiner ersten eigenen App dabei bist! Ich hab sehr '
'viel Arbeit in dieses Projekt gesteckt und auch, ' 'viel Arbeit in dieses Projekt gesteckt und auch, '
'wenn ich (hoffentlich) an vieles Gedacht hab, wird ' 'wenn ich (hoffentlich) an vieles Gedacht hab, wird '

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game CABO" description: "Mobile app for the card game CABO"
publish_to: 'none' publish_to: 'none'
version: 0.1.3+45 version: 0.1.3+49
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4
@@ -23,39 +23,6 @@ dev_dependencies:
flutter: flutter:
uses-material-design: false
# The following line ensures that the Material Icons font is assets:
# included with your application, so that you can use the icons in - assets/cabo-counter-logo_rounded.png
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/to/asset-from-package
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/to/font-from-package