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

WORKING WITH HEADER-DETAIL FORM IN VANILLA JAVASCRIPT WITH API/PHP AND MYSQL

invoice.html < html lang = "en" >   < head >     < meta charset = "UTF-8" />     < meta name = ...