TEXT - WRITING YOUR FIRST CODE IN FLUTTER

 Here is the code used in the video:

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
   
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('This is the title'),
        ),
        body: const Column(
          children: [
            Text('This is the first line'),
            Text('This is the second line'),
            Text('This is the third line'),
          ],
        ),
      ),
    );
  }
}


No comments:

Post a Comment

HOW TO UPDATE A RECORD IN MYSQL DB THRU API PHP IN VANILLA JAVASCRIPT

update.js export const updateModal = async ( studId , courses , refreshDisplay ) => {   const myModal = new bootstrap . Modal (...