This is a baseLib pub based on getx.
Features
- common extensions;
- common pages;
- common utils;
- common translations;
- common ui;
- ...
Getting started
- This lib is just tested on Android。
- kotlin version: 1.8.0;
- gradle 7.4.2 on distributions/gradle-7.5-all.zip;
Usage
The entrance is as follows:
import 'package:base_lib_pub/base_lib_pub.dart';
// ...
void main() {
initBaseApp(
enableLog: MyConst.isDebug || MyConst.isForceLog,
unPopRoutes: [Routes.init, Routes.home],
initWeChat: true,
);
runApp(const MyApp());
}
Additional information
We are happy to share this pub.