flutter_whale 1.3.1 flutter_whale: ^1.3.1 copied to clipboard
Project base component.
import 'package:example/pages/main_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_whale/flutter_whale.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return BaseApp(
designSize: const Size(720, 1280),
builder: (context, key) {
return MaterialApp(
navigatorKey: key,
debugShowCheckedModeBanner: false,
home: const MainPage().page(),
);
},
);
}
}