PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 60 of 126
  1. 3.7.2 20 Apr 2024
    Release notes
    1. color扩展:
      1. 新增函数shade(double shade, {double alpha = 1})获得颜色的浅色和深色;
      2. 新增toHexString()获取颜色的十六进制字符串;
    2. list扩展,新增random()、randomList()两个方法,获取列表中的随机元素;
    3. 部分ui调整;
    Open source →
    Release notes
    1. color extension:
      1. Add the function shade(double shade, {double alpha = 1}) to get the light and dark colors;
      2. Add toHexString() to get the hexadecimal string of color;
    2. list extension, adding two methods, random () and randomList (), to obtain random elements in the list;
    3. Some ui adjustments;
    Open source →
  2. 3.7.1 11 Apr 2024
    Release notes
    1. 调整onBuildFinished调用时机,避免不必要的重复调用;
    2. 调整CommonWebViewPage、ImagePreviewPage中logic的实例获取时间;
    Open source →
    Release notes
    1. Adjust the call timing of onBuildFinished to avoid unnecessary repeated calls;
    2. Adjust the logic instance acquisition time in the CommonWebViewPage and ImagePreviewPage.
    Open source →
  3. 3.7.0 08 Apr 2024
    Release notes
    1. 优化log_utils:
      1. 默认开启等级颜色;
      2. 默认开启分段,在tag中新增groupID以识别分段日志;
      3. 使用print替代developer.log;
    2. 默认主题调整;
    3. 其他widget调整;
    4. Android AGP/gradle升级:8.3.1/8.4;
    Open source →
    Release notes
    1. Optimize the log_utils:
      1. Default to enable the level color;
      2. Default to enable log segmentation, and add a new groupID at the end of tag to identify the segmented logs;
      3. Use print() instead of developer.log();
    2. Default theme adjustment;
    3. Other widget adjustments;
    4. Android AGP/gradle upgraded:8.3.1/8.4;
    Open source →
  4. 3.6.6 30 Mar 2024
    Release notes
    1. 调整MDialog同id将先隐藏前一个再展示当前弹框;
    2. 默认日志根据等级彩色打印;
    Open source →
    Release notes
    1. Adjusting the MDialog with the same id will hide the previous one before showing the current pop-up;
    2. The default log is printed in color according to the level;
    Open source →
  5. 3.6.5 29 Mar 2024
    Release notes
    1. 调整GlobalKey扩展;
    Open source →
    Release notes
    1. Adjust GlobalKey extension;
    Open source →
  6. 3.6.4 29 Mar 2024
    Release notes
    1. 调整baseApp、runApp参数结构;
    2. mAppBar新增默认backIconData修改;
    3. 新增GlobalKeyExt扩展,获取overlayContext;
    Open source →
    Release notes
    1. Adjust the baseApp and runApp parameter structures;
    2. The default backIconData modification was added to the mAppBar.
    3. Add the GlobalKeyExt extension to obtain the overlayContext;
    Open source →
  7. 3.6.3 28 Mar 2024
    Release notes
    1. Partial code optimization;
    Open source →
    Release notes
    1. Partial code optimization;
    Open source →
  8. 3.6.2 25 Mar 2024
    Release notes
    1. BaseTheme.createTheme新增参数;
    2. example新增自定义ThemeData属性MyThemeData;
    Open source →
    Release notes
    1. Add parameters to BaseTheme.createTheme.
    2. Add custom extension to ThemeData, such as MyThemeData;
    Open source →
  9. 3.6.1 23 Mar 2024
    Release notes
    1. 调整MyThemes为单例模式;
    2. 部分函数优化;
    Open source →
    Release notes
    1. Adjust MyThemes to a singleton mode.
    2. Partial function optimization;
    Open source →
  10. 3.6.0 22 Mar 2024
    Release notes
    1. 多主题切换并保存;
    2. 修正主题切换导致的Nav.isPopEnable()判断错误问题;
    Open source →
    Release notes
    1. Fixed centering of elements in showLoading view.
    2. Replace vibrate_utils with vibrate_utils;
    3. Add proguard-rules.pro on Example/Android project;
    4. Modify base_theme and add example/my_theme(light, red), modified and recorded in example/setting;
    Open source →
  11. 3.5.1 19 Mar 2024
    Release notes
    1. remove location_utils depended on geolocator to example;
    Open source →
  12. 3.5.0 19 Mar 2024
    Release notes
    1. Update base dependencies;
    2. Fixed the content in internationalization lang.dart;
    3. Add location_utils and use geoLocator to obtain location information.
    Open source →
  13. 3.4.5 07 Mar 2024
    Release notes
    1. Add the semanticLabel attribute to widgets in common_ui.
    Open source →
  14. 3.4.4 06 Mar 2024
    Release notes
    1. Adjust the internationalization content in lang.dart;
    2. Extended String to support internationalization with parameters;
    Open source →
  15. 3.4.3 05 Mar 2024
    Release notes
    1. In lang.dart, added common internationalization configurations;
    Open source →
  16. 3.4.2 05 Mar 2024
    Release notes
    1. common_utils/vibrate Supports custom interval vibration;
    Open source →
  17. 3.4.1 27 Feb 2024
    Release notes
    1. common_ui Added the mButton general simple button component.
    Open source →
  18. 3.4.0 23 Feb 2024
    Release notes
    • Improved sdk versions: flutter 3.19.1, dart 3.3.0
    1. Add the List extension to provide the method of element exchange location;
    2. Add the int extension to provide the front fill character method;
    3. Modify settings.gradle and build.gradle configurations in example/android.
    Open source →
  19. 3.3.2 06 Feb 2024
    Release notes
    1. Extend overlay_utils/showLoading.
    Open source →
  20. 3.3.1 31 Jan 2024
    Release notes
    1. log_utils/printLog prints the log, and the time is displayed to milliseconds;
    2. overlay_utils/showLoading supports empty prompt text;
    Open source →
  21. 3.3.0 30 Jan 2024
    Release notes
    1. Replace WillPopScope with PopScope and adapt the related widgets.
    2. Fix the failure of the Cancel button in the commonWebView close dialog.
    Open source →
  22. 3.2.3 23 Jan 2024
    Release notes
    1. Fix the internationalization failure of example/android project, that is, the resConfigs configuration in build.gradle must match the configuration in MyTrans;
    Open source →
  23. 3.2.2 23 Jan 2024
    Release notes
    1. image_utils Modified pickImage and added the description of storage and shooting permission application and failure.
    Open source →
  24. 3.2.1 23 Jan 2024
    Release notes
    1. 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;
    2. example/android/app/build.gradle specified abiFilters, give up support x86 execution;
    3. ScrollControllerExt adds shake() method, which supports shaking on the scroll axis once.
    Open source →
  25. 3.2.0 19 Jan 2024
    Release notes
    1. Add goAppSetting() method in device_utils to route to the application setting page;
    2. Modify the permission_utils to improve the process of permission grant;
    3. Fix the problem that the application name is not displayed in the recent task list in MainActivity;
    4. Modify the platform: iOS in the Podfile, from ' 11.0' to ' 12.0';
    Open source →
  26. 3.1.0 19 Jan 2024
    Release notes

    Base on Flutter 3.16.7, Dart 3.2.4

    1. 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.
    2. Upgrade the global kotlin version to 1.9.22;
    3. Modify the default theme style.
    4. Fix the error message when the url of common_ui/mImageView parameter is empty. If the url is empty, the errorWidget is displayed directly.
    5. Upgrade other dependencies:
      1. permission_handler: ^11.1.0 -> ^11.2.0
      2. path_provider: ^2.1.1 -> ^2.1.2
      3. share_plus: ^7.1.0 -> ^7.2.1
      4. webview_flutter: ^4.4.2 -> ^4.4.4
      5. url_launcher: ^6.2.1 -> ^6.2.3
    Open source →
  27. 3.0.3 11 Jan 2024
    Release notes
    1. modify the default theme TabBarTheme of BaseTheme and cancel the dividing line;
    Open source →
  28. 3.0.2 09 Jan 2024
    Release notes
    1. Modify network_utils to support post and get user-defined dio.
    2. MImageView support custom httpClient, default globalHttpClient, if globalHttpClient uninitialized, use the myExtendedImageHttpClient (default ignore certificate);
    Open source →
  29. 3.0.1 13 Dec 2023
    Release notes
    1. Set the default theme through base_main/baseApp. The default M2 theme style is set.
    2. Log out all getx controllers when exiting the application through the base_main/runMyApp default Settings;
    Open source →
  30. 3.0.0 13 Dec 2023
    Release notes
    1. Update to Flutter SDK version 3.16.3;
    2. Add base_theme and run the defaultTheme command to change the default theme effect to the M2 theme style.
    3. Modify the default theme style of sample.
    Open source →
  31. 2.9.1 13 Dec 2023
    Release notes
    1. Added actionsBeforeExitApp callback in MyGet and executed before common_utils/exitApp.
    Open source →
  32. 2.9.0 28 Nov 2023
    Release notes
    1. Update dart 3.2.1, flutter 3.16.1;
    2. Fix the DecoderCallback not found problem in photo_manager dependency after upgrading flutter 3.16.1;
    3. Upgrade pubs;
    4. Upgrade android AGP 8.1.3,gradle 8.0;
    Open source →
  33. 2.8.5 08 Nov 2023
    Release notes
    1. When mScrollConfig enables scrollbar, if ScrollView specifies a scrollController, the scrollbar must specify the same scrollController.
    Open source →
  34. 2.8.4 06 Nov 2023
    Release notes
    1. MDialog added isVisible Returns whether the dialog is being displayed.
    Open source →
  35. 2.8.3 06 Nov 2023
    Release notes
    1. MDialog adds simpleAnimate.
    Open source →
  36. 2.8.2 02 Nov 2023
    Release notes
    1. mAppBar uses the theme background color by default;
    Open source →
  37. 2.8.1 02 Nov 2023
    Release notes
    1. Add size parameter to mImageView to set size;
    2. image_utils modifies pickImage and adds preview mode.
    Open source →
  38. 2.8.0 18 Oct 2023
    Release notes
    1. Add MyExtendedImageProviderWithHttpClient implement custom httpClient ImageProvider, to load HTTPS picture resources with the unofficial certificate;
    2. Add MyExtendedImageWithHttpClient.network load images, use the default network_utils/globalHttpClient?? initHttpClient() loads network images.
    3. Replace the ExtendedImage.net work with MyExtendedImageWithHttpClient.net in common_ui/mImageView, used to load the unofficial certificate HTTPS image resources;
    Open source →
  39. 2.7.3 17 Oct 2023
    Release notes
    1. ImagePreviewPage supports custom text Widgets;
    2. textWidget in ImagePreviewPage supports long automatic scrolling;
    Open source →
  40. 2.7.2 16 Oct 2023
    Release notes
    1. CommonWebViewPage Specifies whether the bottomNav is enabled during initialization. By default, the BottomNav is displayed based on actual conditions.
    2. CommonWebViewLogic added the function of controlling the bottomNav display when the bottomNav is enabled.
    Open source →
  41. 2.7.1 16 Oct 2023
    Release notes
    1. Nav page jumps add the return value;
    2. In base_main, the baseBeforeRun and beforeRun of runMyApp are changed to asynchronous functions, which can runApp only after the asynchronous execution is complete.
    Open source →
  42. 2.7.0 16 Oct 2023
    Release notes
    1. Add getHttpClient and globalHttpClient to network_utils to obtain a unified network request httpClient and implement https certificate verification.
    2. Allow http requests;
    3. CommonWebViewPage ignores the https certificate.
    Open source →
  43. 2.6.4 13 Oct 2023
    Release notes
    1. Custom mScrollbar uniform style;
    2. mScrollConfig uses mScrollbar;
    Open source →
  44. 2.6.3 12 Oct 2023
    Release notes
    1. common_ui added setSystemOverlayVisible to set whether the system status bar and bottom navigation bar are visible.
    Open source →
  45. 2.6.2 12 Oct 2023
    Release notes
    1. Add NumExt extension num to implement toAngle and toPx methods;
    Open source →
  46. 2.6.1 12 Oct 2023
    Release notes
    1. The default shape of mImageView is rectangle;
    2. Add clipBehavior parameter to mImageView.
    3. When setting radius or borderRadius of the mImageView, if the shape is not circle, change it to rectangle;
    4. example update;
    Open source →
  47. 2.6.0 12 Oct 2023
    Release notes
    1. Integrate and encapsulate the flutter_slidable library. For details, see example/lib/page/home.
    Open source →
  48. 2.5.1 11 Oct 2023
    Release notes
    1. Internationalized application name on android;
    2. Internationalized application name and description of iOS permissions request message;
    3. Set the LaunchImage and LaunchScreen on the iOS launch page;
    4. Extend Double support.toPx() to convert px units;
    Open source →
  49. 2.5.0 10 Oct 2023
    Release notes
    1. Rename mLoadImageView to mImageView.
    2. Fixed mImageView cannot display assets normally.
    3. Added the method of obtaining the path of assets in common_ui.
    4. Optimize the effect of Android launch page in example: full screen with logo;
    5. Rename initBaseApp in base_main to runMyApp in base_main.
    6. Optimize the initialization sequence in base_main, do not want to be executed after runApp;
    7. ImagePreviewPage displays indicator by default;
    8. Add width and height parameters to mImageView;
    Open source →
  50. 2.4.9 08 Oct 2023
    Release notes
    1. Fixed the issue that mTextField could not actively wrap lines;
    Open source →
  51. 2.4.8 27 Sep 2023
    Release notes
    1. The default mAppBar title font weight is bold;
    Open source →
  52. 2.4.7 27 Sep 2023
    Release notes
    1. 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:
      1. Add https (http) to queries in android/app/src/main/AndroidManifest.xml;
      2. Add https (http) to LSApplicationQueriesSchemes in ios/Runner/info.plist;
    2. The default minimum height of the message content in MDialog.tip is 0.
    3. ImagePreviewPage does not display the bottom index indicator when there is only one element;
    Open source →
  53. 2.4.6 26 Sep 2023
    Release notes
    1. New construction parameter showIndicator is added to ImagePreviewLogic to control whether the index indicator is displayed.
    Open source →
  54. 2.4.5 26 Sep 2023
    Release notes
    1. Fix the bug that _curIndex is wrong after ImagePreviewLogic.deleteAt(int) was called;;
    Open source →
  55. 2.4.4 26 Sep 2023
    Release notes
    1. MDialog.tip supports msgPadding;
    Open source →
  56. 2.4.3 26 Sep 2023
    Release notes
    1. MDialog.tip supports custom title and content;
    2. example update;
    Open source →
  57. 2.4.2 25 Sep 2023
    Release notes
    1. The web navigation bar at the bottom of the CommonWebViewPage can be controlled by construction parameters.
    Open source →
  58. 2.4.1 25 Sep 2023
    Release notes
    1. 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.
    Open source →
  59. 2.4.0 25 Sep 2023
    Release notes
    1. CommonWebViewPage Added WebPageBuilder to support custom page content.
    2. Expand WebViewController and add init method for quick initialization; Added the load fast loading content.
    3. CommonWebViewPageLogic supports explicit and implicit switching of the web navigation bar at the bottom.
    Open source →
  60. 2.3.4 25 Sep 2023
    Release notes
    1. CommonWebViewPage supports popGesture;
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive