The Stack widget positions its children relative to the edges of its box.
This class is useful if you simply want to overlap several children widgets.

The previous example uses Stack to overlay a Container
(that displays its Text on a translucent black background)
on top of a CircleAvatar.
The Stack offsets the text using the alignment property
and Alignment coordinates.

For more information, see the Stack class documentation.

Styling

How do I style my components?

In React Native, inline styling and stylesheets.create
are used to style components.

// React Native

View

style

styles

container

Text

style

{{

fontSize

32

color

cyan

fontWeight

600

}}