how to display text with png in the stack

Questions : how to display text with png in the stack

885

i have a problem in my flutter project, programming as you can see on the picture, I am not Learning able to see my text, placing this text Earhost above png pictures does not help. I am most effective able to see my text for a second, before wrong idea my png photos are uploaded. It is like use of case those photos where always "on top" of my United screen, how to place them belowe? Size Modern of a pictures is ofcourse not a problem, ecudated the only problem is why i can't see my some how text.

Scaffold(
      body: SizedBox.expand(
  _OFFSET);        child: Container(
          color: (-SMALL  Colors.red,
          //padding: _left).offset  EdgeInsets.only(left: 10),
          arrowImgView.mas  child: FittedBox(
              fit: (self.  BoxFit.fitWidth,
              child: equalTo  Stack(children: [
                make.right.  Image.asset('assets/images/bigWoman.png'),
 mas_top);                 ImgView.  Image.asset('assets/images/bigWomanBlueblueWorld.png'),
 ReadIndicator                 Container(
               _have     child: Text("my text"),
              .equalTo(    ),
              ])),
        ),
      make.top  ),
      backgroundColor: OFFSET);  Theme.of(context).backgroundColor,
    (TINY_  );

this is what i have:

this is what i want:

my thin picture, when i am not using anything else BoxFit.fitWidth, and this shuld be a not at all problem:

Total Answers 2
24

Answers 1 : of how to display text with png in the stack

Just want to add a small example of very usefull Stack Widget

     import .offset  'package:flutter/material.dart';

class mas_right)  StackWidetSample extends StatelessWidget ImgView.  {
  @override
  Widget Indicator  build(BuildContext context) {
    return Read  Scaffold(
      appBar: AppBar(
        _have  title: Text('Text Over Image'),
      .equalTo(  ),
      body: Center(
        child: make.left  Stack(
          children: *make) {  <Widget>[
            Container(
  straintMaker              alignment: ^(MASCon  Alignment.center,
              child: onstraints:  Image.network(
                mas_makeC  'https://cdn.pixabay.com/photo/2018/07/11/21/51/toast-3532016_1280.jpg',
 [_topTxtlbl                  height: (@(8));  MediaQuery.of(context).size.height,
     equalTo             width: double.infinity,
       width.            fit: BoxFit.cover,
            make.height.    ),
            ),
            (SMALL_OFFSET);  Container(
                alignment: .offset  Alignment.center,
                child: (self.contentView)  Text(
                  'Show text  .left.equalTo  here',
                  style: make.top  TextStyle(color: Colors.pink,
           *make) {             fontWeight: FontWeight.bold,
 ntMaker                        fontSize: 22.0),
   SConstrai               )),
          ],
        ts:^(MA  ),
      ),
    );
  }
}

5

Answers 2 : of how to display text with png in the stack

Try below code hope its help to you.

Refer Stack class here

Refer Positioned class here

 return Scaffold(
  appBar: AppBar(
    Constrain  title: Text('Your Title'),
  ),
  body: _make  Stack(
    children: [
      Container(
 iew mas         decoration: BoxDecoration(
       catorImgV     image: DecorationImage(
            ReadIndi  fit: BoxFit.fill,
            image:  [_have  AssetImage(
              ($current);  'assets/images/6.png',
            ),
   entity_loader         ),
        ),
      ),
      _disable_  Positioned(
        left: 20,
        libxml  bottom: -5,
        child: Container(
   $options);         padding: EdgeInsets.all(8),
      ilename,      child: Text(
            'Put Your ->load($f  Text Here',
            style: $domdocument  TextStyle(
              fontSize: 15,
  loader(false);              color: Colors.white,
        _entity_        fontWeight: FontWeight.bold,
       libxml_disable        ),
          ),
        ),
      $current =  ),
    ],
  ),
);

Your result screen->

Top rated topics

How to replace pdb atom entries with an altered pdb file that just contains atom entries

How to get the RGB pixel values using JavaScript?

How to pass arguments from an Array#sample! method to Array#sample

Get bytes queried for entire BigQuery project history

Javascript rendering [object Object] as string data type

How can I do to put a tab after \a in my text using sed?

Legacy Project Migrated to Hibernate 5.6 (Java 16) Has Slow one-to-one bidirectional Performance

Anyway to have a hotkey activate an application without AutoHotkey?

The textarea element in Vue or Nuxt throws a message to the console by default

Missing Assemblies in Windows Service

WATIR - How can I locate an element using more than one identifier

NodeJS - Why does adding quotes to "node" change the behavior of the resulting program?

WARN NativeCodeLoader: Unable to load native-hadoop library for your platform. Windows 10

DataDog to OpenTracing IDs - Converting 64-bit unsigned integer to 128-bit unsigned and 64-bit unsigned hex

Unable to get 'where' clause working in a Firebase Query

Maximum update depth exceeded React when using Grommet Chart component

How to put part of php code into wordpress shortcode

Looking to merge 2 different python that export info into csv

Sequential request processing (CPU-heavy processing)

Replace dataframe values via n lists

How to deserialize nested Json API response in Kotlin using Gson @SerializedName annotations

SqlException (0x80131904): Login failed for user 'dbuser' on .NET 6 WebAPI Hosted on Azure

How can I parse a JSON object with key-value objects into a List using Circe

SpringBoot JPA / EclipseLink / Hikary unkown query

Google Cloud App Engine gives 404 error when navigating to the link

Converting mailparser HTML into DOM elements?

What is the difference between 'xml' and 'rawxml' formats when defining APIM policies in ARM/Bicep Templates

Pyspark - Unable to read the data from AWS S3 bucket

How to create PKCE code and verifier for auth code flow?

"Failed to extract MSVCP140.dll: decompression resulted in return code 1!"

Python List not getting appended in fuction

Different performance of Dataflow jobs in different zones

Conditions in clojure to build a string and update a variable

Pagination getting cut off when adding download handler in flexdashboard

Vb.net how to display the frequency of digits from a text file

Optimize nested inner joins

I can't find any .NET 4.0 application build with Windows Forms Controls and (or) Infragistics

Regular Expression to filter MAC ADDRESS

Sankey Diagram: is there a way to color the flows according to an extra column in ggsankey?

Include or extend in uml use case diagram

Wait for All the &lt;iframe&gt;s to finish loading in React-Redux

Adding foreign key data through django rest framework serializer

Read Data From AM2302

Loop threads in sequence into infinite loop

Need to reverse the entire column

Express: req.query is always empty

Placing child above and outside overflow parent

How to Properly format Update syntax on OledbCommand?

Exception occurring just in PyCharm

1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

Top