Last active
May 2, 2023 12:33
-
-
Save Akhu/b9184f8987ca3a66fe0abac06006b592 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
static const String _title = 'Flutter - Basics'; | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: _title, | |
home: Scaffold( | |
body: const MyFirstView(), | |
), | |
); | |
} | |
} | |
class MyFirstView extends StatelessWidget { | |
const MyFirstView({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Text("Hello Campus"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment