jh_flutter_demo
flutter项目- 实现一些常用效果、封装通用组件和工具类
- 星标
- 1101
- 复刻
- 238
- 最近推送(UTC)
- 2026年8月20日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
jh_flutter_demo
English | 简体中文
A new Flutter project - implement common UI effects, encapsulate components and utils.
pwd:123456
The code is updated irregularly.
Online preview
https://iotjin.github.io/jh_flutter_demo
Project environment
- Flutter version 3.38.2
- Dart version 3.10.0
Some UI effects implemented
- Common framework construction, common base class implementation
- Macro Definitions for Font, Color, Frame, String, etc.
- Dio network request encapsulation
- API interface management and data management
- Modularized management of routes
- Screen adaptation
- Dark Mode adaptation
- Theme switch
- Internationalization (GetX)
- Material3 adaptation
- Components
- BaseAppBar、BaseTabBar、BaseRefreshView、BaseWebView
- Dialogs (center、bottom、toast、dialog、custom dialogs)
- Time、Date、single-column、multi-column and bottom single/multiple pickers
- Cascading picker (multi-dimensional array or tree structure, supports search)
- JhForm form input (single row、multi-row input style、select style、setting style、login style)
- JhTopTabBar(navigation bar page switching)
- Gradient color AppBar, multi-line title AppBar
- Imitation of WeChat's upper-right corner pop-up box
- Countdown button
- APP update dialog
- Picture/video picker based on WeChat UI (supports taking pictures and recording videos)
- Picture/Video Browser
- Taking photos, local image selection, nine-grid display, full-screen image viewing
- Highlighting specified text in text
- Empty data and network exceptions
- Skeleton screen
- Horizontal sliding menu (same effect as Pinduoduo homepage, Taobao My channel)
- Carousel image(full screen, zoom)
- Shake, zoom, translate animation
- wave animation
- lottie animation
- tag view
- collapse view
- Utils
- AES encryption/decryption, MD5 encryption, base64 encoding/decoding
- Local data AES encrypted storage
- Real-time network monitoring
- Getting device information, screen information, and notch screen detection
- Loading image resources, color settings
- Status bar settings
- QR code scanning and generation
- Navigation route jumping
- Listening for page appearance or disappearance
- Time format conversion
- String processing
- Random numbers
- Exit the APP/jump to the app store
- Debounce / Throttle
- Jump tripartite map APP navigation
- UI related
- ListView related (paging up/down refresh, grouping up/down refresh, group sticking)
- GridView related
- Chart related (dynamic loading of multiple charts, gradient line charts, mixed line and bar charts)
- Badges
- AppBar search and header search
- Animation (tag cloud)
- List slide button
- City selection list
- ListView/GridView drag and drop sorting
- Rich text
- log in / Register
- Version new features
- Checking for updates
- Imitation of WeChat UI (home page, address book, discovery, and personal center, etc.)
- AppBar image pull-down zoom and gradient effect (WeChat Sports Ranking List, personal homepage)
- WeChat friends circle and image browsing
- Cross-slide (personal center effect)
- Handwritten signature (signature / hand_signature libraries)
Note:
- Packaged components and utils in the
jh_commonfolder - For more, please download the project to view
Precautions
- There will be some freezes in debug mode, which is normal. A good experience requires a release package. iOS can execute the command
flutter build iosto create a release version. Android can execute the commandflutter build apkto create a release version. - iOS14 crashes when running on a real machine, which can be run on a real machine through
flutter run --release
Update record
Important update
* v3.38.2 - Update pubspec library and flutter version(Flutter 3.38.2,Dart 3.10.0),iOS minimum build version changed to 13.0 , Android build environment upgrade
* v3.32.0 - Update pubspec library and flutter version(Flutter 3.32.0,Dart 3.8.0),Android 16 adaptation ,Java11 to Java17
* v3.27.0 - Update pubspec library and flutter version(Flutter 3.27.0,Dart 3.6.0),Android 15 adaptation
* v3.22.0 - Update pubspec library and flutter version(Flutter 3.22.0,Dart 3.4.0),Android 14 adaptation
* v3.16.0 - Update pubspec library and flutter version(Flutter 3.16.0,Dart 3.2.0),iOS minimum build version changed to 12.0 , Material3 adaptation
* v3.13.0 - Update pubspec library and flutter version(Flutter 3.13.0,Dart 3.1.0)
* v3.10.0 - Update pubspec library and flutter version(Flutter 3.10.0,Dart 3.0.0)
* v3.7.0 - Update pubspec library and flutter version(Flutter 3.7.0,Dart 2.19.0)
* v3.3.0 - Update pubspec library and flutter version(Flutter 3.3.0,Dart 2.18.0),iOS minimum build version changed to 11.0
* v3.0.0 - Update pubspec library and flutter version(Flutter 3.0.0,Dart 2.17.0)
* v2.10.1 - Dark Mode adaptation
* v2.10.0 - Update pubspec library and flutter version(Flutter 2.10.0,Dart 2.16.0)
* v2.0.0 - Update Flutter SDK( 2.0.3 )and pubspec library
* v1.0.0 - environment:Flutter version 1.22.3,Dart version 2.10.3
Appreciate the support
- If you think it's good, or my open source project is helpful to you, you can click "Star" in the upper right corner to support it. Your support is my motivation, thank you 🙂
- You can also scan the QR code below, invite the author to have a cup of milk tea 🧋
Preview
Some page effects are as follows:
WeChat UI:
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Licenses
Licenses
BSD 2-Clause License
Copyright (c) 2020, iotjin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
语言DartRubyHTMLObjective-CJava
分类
使用的依赖
依赖清单 60 项
- flutter
{"sdk":"flutter"} - flutter_localizations
{"sdk":"flutter"} - dio
^5.9.2 - connectivity_plus
^7.1.1 - fluro
^2.0.5 - provider
^6.1.5+1 - intl
0.20.2 - flutter_screenutil
^5.9.3 - flustars_flutter3
^3.0.0 - encrypt
^5.0.3 - shared_preferences
^2.5.5 - sqflite
2.4.2+1 - webview_flutter
4.14.0 - url_launcher
^6.3.2 - map_launcher
^4.5.0 - keyboard_actions
^4.2.1 - date_format
^2.0.9 - cached_network_image
^3.4.1 - photo_view
^0.15.0 - video_player
2.11.1 - chewie
1.14.1 - permission_handler
^12.0.3 - wechat_assets_picker
^10.1.2 - wechat_camera_picker
^4.5.0 - device_info_plus
13.1.0 - package_info_plus
10.1.0 - cupertino_icons
^1.0.9 - jhtoast
^1.2.0 - bot_toast
^4.1.3 - fluttertoast
^9.0.0 - flutter_picker_plus
^1.5.6 - extended_nested_scroll_view
^6.2.1 - easy_refresh
^3.5.1 - flutter_spinkit
^5.2.2 - shimmer
^3.0.0 - flutter_easyrefresh
^2.2.2 - pull_to_refresh
^2.0.0 - sticky_headers
^0.3.0+2 - percent_indicator
^4.2.5 - flutter_slidable
^4.0.3 - badges
^3.2.0 - graphic
^2.7.0 - flutter_echarts
2.5.0 - community_charts_flutter
^1.0.4 - qr_flutter
^4.1.0 - mobile_scanner
^7.2.0 - qr_code_scanner_plus
^2.1.2 - flutter_swiper_null_safety_flutter3
^4.0.3 - carousel_slider
^5.1.2 - azlistview
^2.0.0 - lpinyin
^2.0.3 - reorderables
^0.6.0 - animate_do
^5.1.0 - wave
^0.2.2 - lottie
^3.3.3 - open_filex
^4.7.0 - signature
^6.4.0 - hand_signature
^3.1.0+2 - get
^4.7.3 - flutter_test开发依赖
{"sdk":"flutter"}
所在榜单
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗































































