Check out example codes for "how to add image from assets inside as a decoration image in container". It will help you in understanding the concepts better.

Code Example 1

      height: 120.0,
      width: 120.0,
      decoration: BoxDecoration(
        image: DecorationImage(
          image: AssetImage(
          fit: BoxFit.fill,

Code Example 2

new Container(
  width: 100.00,
  height: 100.00,
  decoration: new BoxDecoration(
  image: new DecorationImage(
      image: ExactAssetImage('assets/example.png'),
      fit: BoxFit.fitHeight,

Learn ReactJs, React Native from