top of page

Flutter hello world

// Copyright 2018 The Flutter team. All rights reserved.

// Use of this source code is governed by a BSD-style license that can be

// found in the LICENSE file.

import 'package:flutter/material.dart';

void main() {

runApp(const MyApp());


class MyApp extends StatelessWidget {

const MyApp({Key? key}) : super(key: key);


Widget build(BuildContext context) {

return MaterialApp(

title: 'Welcome to Flutter',

home: Scaffold(

appBar: AppBar(

title: const Text('Welcome to Flutter'),


body: const Center(

child: Text('Hello World'),






36 views2 comments
bottom of page