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

INSERT RECORDS TO MYSQL DATABASE THRU PHP API FROM JAVASCRIPT

 students.php <?php   header ( 'Content-Type: application/json' );   header ( "Access-Control-Allow-Origin: *" );   cla...