FLUTTER LAYOUT 02: MULTI-CHILD LAYOUT WIDGETS

 I included only the code for the body from the video:

      body: ListView(
        // mainAxisAlignment: MainAxisAlignment.center,
        // crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          Image.asset(
            "assets/images/bike.jpg",
            width: 150,
            height: 150,
            fit: BoxFit.cover,
          ),
          const Text(
            "My Biles",
          ),
          Image.asset(
            "assets/images/bike.jpg",
            width: 150,
            height: 150,
            fit: BoxFit.cover,
          ),
          Image.asset(
            "assets/images/bike.jpg",
            width: 150,
            height: 150,
            fit: BoxFit.cover,
          ),
          Image.asset(
            "assets/images/bike.jpg",
            width: 150,
            height: 150,
            fit: BoxFit.cover,
          ),
          Image.asset(
            "assets/images/bike.jpg",
            width: 150,
            height: 150,
            fit: BoxFit.cover,
          ),
          Image.asset(
            "assets/images/bike.jpg",
            width: 150,
            height: 150,
            fit: BoxFit.cover,
          ),
        ],
      ),

No comments:

Post a Comment

UNITY2D: SPAWN ENEMIES RANDOMLY/DYNAMICALLY AT RUN TIME

 Code: player.cs using System . Collections ; using System . Collections . Generic ; using UnityEngine ; using UnityEngine . SceneManage...