base_lib_pub
This is a basic library based on Getx. In order to build applications conveniently and quickly, you can quickly integrate the basic functions needed by general applications.
3.7.2
Static1014/base_lib_pub
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 126 of 126 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
126 releases · first in 2023
0 releases in the last 12 months
see the full history below
Release timeline
126 releases · Sep 2023 to Apr 2024
2024
2025
2026
Releases
latest 60 of 126-
3.7.220 Apr 2024Release notes
Open source →- color扩展:
- 新增函数
shade(double shade, {double alpha = 1})获得颜色的浅色和深色; - 新增
toHexString()获取颜色的十六进制字符串;
- 新增函数
- list扩展,新增random()、randomList()两个方法,获取列表中的随机元素;
- 部分ui调整;
Release notes
Open source →- color extension:
- Add the function
shade(double shade, {double alpha = 1})to get the light and dark colors; - Add
toHexString()to get the hexadecimal string of color;
- Add the function
- list extension, adding two methods,
random ()andrandomList (), to obtain random elements in the list; - Some ui adjustments;
- color扩展:
-
3.7.111 Apr 2024Release notes
Open source →- 调整onBuildFinished调用时机,避免不必要的重复调用;
- 调整CommonWebViewPage、ImagePreviewPage中logic的实例获取时间;
Release notes
Open source →- Adjust the call timing of onBuildFinished to avoid unnecessary repeated calls;
- Adjust the logic instance acquisition time in the CommonWebViewPage and ImagePreviewPage.
-
3.7.008 Apr 2024Release notes
Open source →- 优化log_utils:
- 默认开启等级颜色;
- 默认开启分段,在tag中新增groupID以识别分段日志;
- 使用print替代developer.log;
- 默认主题调整;
- 其他widget调整;
- Android AGP/gradle升级:8.3.1/8.4;
Release notes
Open source →- Optimize the
log_utils:- Default to enable the level color;
- Default to enable log segmentation, and add a new groupID at the end of tag to identify the segmented logs;
- Use
print()instead ofdeveloper.log();
- Default theme adjustment;
- Other widget adjustments;
- Android AGP/gradle upgraded:8.3.1/8.4;
- 优化log_utils:
-
3.6.630 Mar 2024Release notes
Open source →- Adjusting the MDialog with the same id will hide the previous one before showing the current pop-up;
- The default log is printed in color according to the level;
-
3.6.529 Mar 2024 -
3.6.429 Mar 2024Release notes
Open source →- 调整baseApp、runApp参数结构;
- mAppBar新增默认backIconData修改;
- 新增GlobalKeyExt扩展,获取overlayContext;
Release notes
Open source →- Adjust the baseApp and runApp parameter structures;
- The default backIconData modification was added to the mAppBar.
- Add the GlobalKeyExt extension to obtain the overlayContext;
-
3.6.328 Mar 2024 -
3.6.225 Mar 2024Release notes
Open source →- Add parameters to BaseTheme.createTheme.
- Add custom extension to ThemeData, such as MyThemeData;
-
3.6.123 Mar 2024 -
3.6.022 Mar 2024Release notes
Open source →- Fixed centering of elements in showLoading view.
- Replace vibrate_utils with vibrate_utils;
- Add proguard-rules.pro on Example/Android project;
- Modify base_theme and add example/my_theme(light, red), modified and recorded in example/setting;
-
3.5.119 Mar 2024 -
3.5.019 Mar 2024Release notes
Open source →- Update base dependencies;
- Fixed the content in internationalization lang.dart;
- Add location_utils and use geoLocator to obtain location information.
-
3.4.507 Mar 2024 -
3.4.406 Mar 2024Release notes
Open source →- Adjust the internationalization content in lang.dart;
- Extended String to support internationalization with parameters;
-
3.4.305 Mar 2024 -
3.4.205 Mar 2024 -
3.4.127 Feb 2024 -
3.4.023 Feb 2024Release notes
Open source →- Improved sdk versions: flutter 3.19.1, dart 3.3.0
- Add the List extension to provide the method of element exchange location;
- Add the int extension to provide the front fill character method;
- Modify settings.gradle and build.gradle configurations in example/android.
-
3.3.206 Feb 2024 -
3.3.131 Jan 2024Release notes
Open source →- log_utils/printLog prints the log, and the time is displayed to milliseconds;
- overlay_utils/showLoading supports empty prompt text;
-
3.3.030 Jan 2024Release notes
Open source →- Replace WillPopScope with PopScope and adapt the related widgets.
- Fix the failure of the Cancel button in the commonWebView close dialog.
-
3.2.323 Jan 2024Release notes
Open source →- Fix the internationalization failure of example/android project, that is, the resConfigs configuration in build.gradle must match the configuration in MyTrans;
-
3.2.223 Jan 2024Release notes
Open source →- image_utils Modified pickImage and added the description of storage and shooting permission application and failure.
-
3.2.123 Jan 2024Release notes
Open source →- example/android/app/build.gradle specified need packaging language resources, to remove third-party packages into a variety of languages, only keep this app specified language resources;
- example/android/app/build.gradle specified abiFilters, give up support x86 execution;
- ScrollControllerExt adds shake() method, which supports shaking on the scroll axis once.
-
3.2.019 Jan 2024Release notes
Open source →- Add goAppSetting() method in device_utils to route to the application setting page;
- Modify the permission_utils to improve the process of permission grant;
- Fix the problem that the application name is not displayed in the recent task list in MainActivity;
- Modify the platform: iOS in the Podfile, from ' 11.0' to ' 12.0';
-
3.1.019 Jan 2024Release notes
Open source →Base on Flutter 3.16.7, Dart 3.2.4
- Upgrade wechat_assets_picker: ^9.0.0-dev.2 and wechat_camera_picker: ^4.2.0-dev.3 to adapt Flutter 3.16.x to solve the problem that images cannot be displayed normally.
- Upgrade the global kotlin version to 1.9.22;
- Modify the default theme style.
- Fix the error message when the url of common_ui/mImageView parameter is empty. If the url is empty, the errorWidget is displayed directly.
- Upgrade other dependencies:
- permission_handler: ^11.1.0 -> ^11.2.0
- path_provider: ^2.1.1 -> ^2.1.2
- share_plus: ^7.1.0 -> ^7.2.1
- webview_flutter: ^4.4.2 -> ^4.4.4
- url_launcher: ^6.2.1 -> ^6.2.3
-
3.0.311 Jan 2024Release notes
Open source →- modify the default theme TabBarTheme of BaseTheme and cancel the dividing line;
-
3.0.209 Jan 2024Release notes
Open source →- Modify network_utils to support post and get user-defined dio.
- MImageView support custom httpClient, default globalHttpClient, if globalHttpClient uninitialized, use the myExtendedImageHttpClient (default ignore certificate);
-
3.0.113 Dec 2023Release notes
Open source →- Set the default theme through base_main/baseApp. The default M2 theme style is set.
- Log out all getx controllers when exiting the application through the base_main/runMyApp default Settings;
-
3.0.013 Dec 2023Release notes
Open source →- Update to Flutter SDK version 3.16.3;
- Add base_theme and run the defaultTheme command to change the default theme effect to the M2 theme style.
- Modify the default theme style of sample.
-
2.9.113 Dec 2023Release notes
Open source →- Added actionsBeforeExitApp callback in MyGet and executed before common_utils/exitApp.
-
2.9.028 Nov 2023Release notes
Open source →- Update dart 3.2.1, flutter 3.16.1;
- Fix the DecoderCallback not found problem in photo_manager dependency after upgrading flutter 3.16.1;
- Upgrade pubs;
- Upgrade android AGP 8.1.3,gradle 8.0;
-
2.8.508 Nov 2023Release notes
Open source →- When mScrollConfig enables scrollbar, if ScrollView specifies a scrollController, the scrollbar must specify the same scrollController.
-
2.8.406 Nov 2023 -
2.8.306 Nov 2023 -
2.8.202 Nov 2023 -
2.8.102 Nov 2023Release notes
Open source →- Add size parameter to mImageView to set size;
- image_utils modifies pickImage and adds preview mode.
-
2.8.018 Oct 2023Release notes
Open source →- Add MyExtendedImageProviderWithHttpClient implement custom httpClient ImageProvider, to load HTTPS picture resources with the unofficial certificate;
- Add MyExtendedImageWithHttpClient.network load images, use the default network_utils/globalHttpClient?? initHttpClient() loads network images.
- Replace the ExtendedImage.net work with MyExtendedImageWithHttpClient.net in common_ui/mImageView, used to load the unofficial certificate HTTPS image resources;
-
2.7.317 Oct 2023Release notes
Open source →- ImagePreviewPage supports custom text Widgets;
- textWidget in ImagePreviewPage supports long automatic scrolling;
-
2.7.216 Oct 2023Release notes
Open source →- CommonWebViewPage Specifies whether the bottomNav is enabled during initialization. By default, the BottomNav is displayed based on actual conditions.
- CommonWebViewLogic added the function of controlling the bottomNav display when the bottomNav is enabled.
-
2.7.116 Oct 2023Release notes
Open source →- Nav page jumps add the return value;
- In base_main, the baseBeforeRun and beforeRun of runMyApp are changed to asynchronous functions, which can runApp only after the asynchronous execution is complete.
-
2.7.016 Oct 2023Release notes
Open source →- Add getHttpClient and globalHttpClient to network_utils to obtain a unified network request httpClient and implement https certificate verification.
- Allow http requests;
- CommonWebViewPage ignores the https certificate.
-
2.6.413 Oct 2023 -
2.6.312 Oct 2023Release notes
Open source →- common_ui added setSystemOverlayVisible to set whether the system status bar and bottom navigation bar are visible.
-
2.6.212 Oct 2023 -
2.6.112 Oct 2023Release notes
Open source →- The default shape of mImageView is rectangle;
- Add clipBehavior parameter to mImageView.
- When setting radius or borderRadius of the mImageView, if the shape is not circle, change it to rectangle;
- example update;
-
2.6.012 Oct 2023Release notes
Open source →- Integrate and encapsulate the flutter_slidable library. For details, see example/lib/page/home.
-
2.5.111 Oct 2023Release notes
Open source →- Internationalized application name on android;
- Internationalized application name and description of iOS permissions request message;
- Set the LaunchImage and LaunchScreen on the iOS launch page;
- Extend Double support.toPx() to convert px units;
-
2.5.010 Oct 2023Release notes
Open source →- Rename mLoadImageView to mImageView.
- Fixed mImageView cannot display assets normally.
- Added the method of obtaining the path of assets in common_ui.
- Optimize the effect of Android launch page in example: full screen with logo;
- Rename initBaseApp in base_main to runMyApp in base_main.
- Optimize the initialization sequence in base_main, do not want to be executed after runApp;
- ImagePreviewPage displays indicator by default;
- Add width and height parameters to mImageView;
-
2.4.908 Oct 2023 -
2.4.827 Sep 2023 -
2.4.727 Sep 2023Release notes
Open source →- In example, when using url_launcher to open a web page from an external browser, it needs to be
declared in advance, otherwise the external browser cannot be launched in api30 and above:
- Add https (http) to queries in android/app/src/main/AndroidManifest.xml;
- Add https (http) to LSApplicationQueriesSchemes in ios/Runner/info.plist;
- The default minimum height of the message content in MDialog.tip is 0.
- ImagePreviewPage does not display the bottom index indicator when there is only one element;
- In example, when using url_launcher to open a web page from an external browser, it needs to be
declared in advance, otherwise the external browser cannot be launched in api30 and above:
-
2.4.626 Sep 2023Release notes
Open source →- New construction parameter showIndicator is added to ImagePreviewLogic to control whether the index indicator is displayed.
-
2.4.526 Sep 2023Release notes
Open source →- Fix the bug that _curIndex is wrong after ImagePreviewLogic.deleteAt(int) was called;;
-
2.4.426 Sep 2023 -
2.4.326 Sep 2023 -
2.4.225 Sep 2023Release notes
Open source →- The web navigation bar at the bottom of the CommonWebViewPage can be controlled by construction parameters.
-
2.4.125 Sep 2023Release notes
Open source →- Replace appBar with appBarBuilder as the input parameter of CommonWebViewPage, and then create mAppBar when the target route is created through the callback to avoid Nav.isPopEnable error judgment.
-
2.4.025 Sep 2023Release notes
Open source →- CommonWebViewPage Added WebPageBuilder to support custom page content.
- Expand WebViewController and add init method for quick initialization; Added the load fast loading content.
- CommonWebViewPageLogic supports explicit and implicit switching of the web navigation bar at the bottom.
-
2.3.425 Sep 2023