Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Akhu/b9184f8987ca3a66fe0abac06006b592 to your computer and use it in GitHub Desktop.
Save Akhu/b9184f8987ca3a66fe0abac06006b592 to your computer and use it in GitHub Desktop.
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