mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-08-23 22:16:31 +08:00
23 lines
496 B
Dart
23 lines
496 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:project/home.dart';
|
|
|
|
void main() {
|
|
runApp(MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Bottom Sheet',
|
|
theme: ThemeData(
|
|
primarySwatch: Colors.red,
|
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
|
),
|
|
home: MyHomePage(title: 'Bottom Sheet'),
|
|
);
|
|
}
|
|
}
|
|
|