base_mvvm 1.0.9 copy "base_mvvm: ^1.0.9" to clipboard
base_mvvm: ^1.0.9 copied to clipboard

outdated

A Flutter mvvm with pure dart, supported both iOS and Android.

example/lib/main.dart

import 'package:base_mvvm/base/config/config.dart';
import 'package:base_mvvm/base/network/mf_dio_api.dart';
import 'package:example/testpage/view/test_page_view.dart';
import 'package:flutter/material.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: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: TestPageView(),
    );
  }
}
1
likes
30
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter mvvm with pure dart, supported both iOS and Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cookie_jar, dio, flutter, json_annotation, provider, rxdart

More

Packages that depend on base_mvvm