BSD 2-Clause "Simplified" License

项目介绍

iotjin/jh_flutter_demo 是一个托管在 GitHub 上的开源项目,主要使用 Dart 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前获得 1.1k 个 Star、238 次 Fork。

仓库全名
iotjin/jh_flutter_demo
开源许可证
BSD 2-Clause "Simplified" License
Star 数
1.1k
Fork 数
238

README 摘要

jhflutterdemo 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/jhflutterdemo 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,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

jh_flutter_demo 用什么语言开发?

主要使用 Dart 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前有 1.1k 个 Star。

jh_flutter_demo 可以免费商用吗?

仓库采用 BSD 2-Clause "Simplified" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 jh_flutter_demo 的源码?

可以直接克隆仓库:git clone https://github.com/iotjin/jh_flutter_demo.git,默认分支为 master;安装与运行步骤见仓库 README。

jh_flutter_demo 最近还在维护吗?

仓库最近一次更新为 8月20日,当前没有未关闭的 Issue;Star 数为 1.1k,可作为社区活跃度的参考。

简要分析

热度分
1594
价值分
736
活跃状态
活跃

语言占比

Dart
HTML
Java
Objective-C
Ruby

Release

贡献者

README

jh_flutter_demo

Flutter version Dart version License GitHub release (latest by date including pre-releases)

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_common folder
  • 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 ios to create a release version. Android can execute the command flutter build apk to 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.

评论

暂无评论