Fungsi utama untuk Flutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
Outrageous Otter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}):super(key:key);
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: Scaffold(
resizeToAvoidBottomInset:false,
appBar: AppBar(title: const Text('Profile App')),
body: const SafeArea(
child: HomePage(),
)
),
);
}
}