flutter_whale 1.2.0 copy "flutter_whale: ^1.2.0" to clipboard
flutter_whale: ^1.2.0 copied to clipboard

Project base component.

example/lib/main.dart

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(),
        );
      },
    );
  }
}