Home > other >  how can i use Icon Image in AppBar
how can i use Icon Image in AppBar

Time:05-04

I need to use an image as an icon on the left of AppBar(title) enter image description hereenter image description here

when I do it this is what happens in the emulator

CodePudding user response:

Are you sure that you add avatar1.png in assets/images folder and also add below line in pubspec.yaml

flutter:
assets:
  - assets/images/

CodePudding user response:

Maybe it's because the size of the image

  • Related