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