bi-samson / mreader

M Reader
1 stars 0 forks source link

Show corresponding media logos on top of tab #4

Open bi-samson opened 4 years ago

bi-samson commented 4 years ago

Screen_Shot_2020-05-19_at_17_53_22

MEDIA LOGOS https://www.dropbox.com/sh/atmhr53jynn6oin/AAC-Q6uTRyc6kjqeTj3scJq3a?dl=0

Switch out text widget with icon / image widgets?

bi-samson commented 4 years ago

Tried adding this in Appbar but didn't work. https://flutter.dev/docs/development/ui/assets-and-images

 home: Scaffold(
            appBar: AppBar(
                backgroundColor: Colors.white,
              title: Row(
                mainAxisAlignment: MainAxisAlignment.start,
                children: <Widget>[
                  Image.asset(
                    'assets/images/m.png',
                    fit: BoxFit.cover,
                    height: 35.0,
                  ),
                ],
              ),

I also added this to pubspec.yaml

dependencies:
  flutter:
  assets:
    - assets/images/