packagist_mvc 1.1.2 copy "packagist_mvc: ^1.1.2" to clipboard
packagist_mvc: ^1.1.2 copied to clipboard

基础MVC框架封装

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:packagist_mvc/base/lifecycle_observer.dart';

import 'main/main_page.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      navigatorObservers: [lifecycleObserver],
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MainPage(),
    );
  }
}
0
likes
135
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

基础MVC框架封装

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get

More

Packages that depend on packagist_mvc