add image

This commit is contained in:
Valentin CZERYBA 2024-07-04 23:17:44 +02:00
parent 635b927976
commit c88c8b33e2
4 changed files with 8 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -173,13 +173,12 @@ class _LoginDemoState extends State<LoginDemo> with ShowErrorDialog {
padding: const EdgeInsets.only(top: 60.0),
child: Center(
child: Container(
width: 200,
height: 150,
/*decoration: BoxDecoration(
width: 200,
height: 150,
decoration: BoxDecoration(
color: Colors.red,
borderRadius: BorderRadius.circular(50.0)),*/
//child: Image.asset('asset/images/flutter-logo.png')
),
borderRadius: BorderRadius.circular(50.0)),
child: Image.asset('./images/flutter.png')),
),
),
Padding(

View File

@ -165,7 +165,7 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title.
title: Text("eventName : ${eventName}"),
title: Text("${eventName}"),
backgroundColor: Colors.blue,
foregroundColor: Colors.white,
),

View File

@ -61,8 +61,8 @@ flutter:
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
assets:
- images/flutter.png
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see