How can I get this look on my welcome screen? flutter

Advertisements

I am trying to have a welcome screen like this:
Here is the image

I have all the lines from the bottom and the orange and blue bubbles as asset images. How can I stack them all together and then use Text() widget for the writing part?

>Solution :

You can do it without using stack by using the image property in container decoration.

 Container(
          decoration: const BoxDecoration(
              image: DecorationImage(
            image: AssetImage(
              'assets/images/bg.png',
            ),
            fit: BoxFit.cover,
          )),
          child: Column(
          children: [
          // your text widgets
          ])
        ),

Leave a ReplyCancel reply