Lesson 02

// Some code
import 'package:flutter/material.dart';

class Lesson02 extends StatelessWidget {
  const Lesson02({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),

      body: SingleChildScrollView(
        scrollDirection: Axis.vertical,
        child: Column(
          children: [
            Image.asset('assets/apple.png', height: 200, width: 200, fit: BoxFit.fill,),
            SizedBox(height: 20,),
            Image.asset('assets/map.png'),
            SizedBox(height: 65,),
            Image.asset('assets/birds.png'),
            Image.asset('assets/tree.png'),
            SizedBox(height: 210,),
            Image.asset('assets/female.png'),
          ],
        ),
      ),
    );
  }
}

Last updated