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

@ -175,11 +175,10 @@ class _LoginDemoState extends State<LoginDemo> with ShowErrorDialog {
child: Container( child: Container(
width: 200, width: 200,
height: 150, height: 150,
/*decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.red, color: Colors.red,
borderRadius: BorderRadius.circular(50.0)),*/ borderRadius: BorderRadius.circular(50.0)),
//child: Image.asset('asset/images/flutter-logo.png') child: Image.asset('./images/flutter.png')),
),
), ),
), ),
Padding( Padding(

View File

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

View File

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