搜索插件、代码仓与 APP 分类

插件详情v0.9.2

flui

FLUI 是一个功能强大的 Google Flutter UI 框架,包含小部件套件和有用的模块。

近 30 天下载
112
喜欢数
138
Pub 分数
40

安装插件

flutter pub add flui

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

FLUI 是一个全面的 Google Flutter UI 框架,提供丰富的组件和实用模块,以加速 UI 开发。旨在提升生产力,它提供了可重用的组件和工具,简化了创建一致且视觉上吸引人的界面的过程。该框架由 flui.xin 维护,并托管在 GitHub 上,使开发者能够以结构化的方式构建 Flutter 应用程序,同时最大限度地减少样板代码。它支持快速原型设计和可扩展的设计系统。

适合场景

  • 快速UI原型设计
  • 构建一致的设计系统
  • 加速应用开发
  • 创建可重用的组件库
  • 简化跨平台 UI

主要特点

  • 丰富的控件套件
  • 模块化设计架构
  • 预构建的 UI 组件
  • 通过 pub 轻松集成
  • 支持自定义主题

适合对象

  • Flutter 初学者
  • 有经验的 Flutter 开发人员
  • 设计系统实施者
  • 注重UI一致性的团队
  • 需要快速迭代的项目

使用建议

  • 有限的平台特定自定义
  • 依赖外部维护
  • 新用户可能需要一个学习曲线
  • 并非所有功能都会被持续更新
  • 与其他包可能存在依赖冲突

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

English | 简体中文


FLUI

A powerful UI framework for Google Flutter Demo apk

pub package CI Status Documentation GitHub stars GitHub forks GitHub license

Features

  • A set of high-quality Flutter widgets out of the box
  • Comprehensive usage examples and documentation
  • Fine-grained non-stylized widgets for different types of applications
  • Supports Dark Mode and RTL
  • Dynamic rendering module -- Dynamic

Compatibility

FLUI has good compatibility on multiple clients, and the framework will be developed based on Flutter Stable Channel.

Currently supports v1.17.0 .

Getting Started

Setup
dependencies:
  flui: 0.9.2

Then run flutter pub get to download the dependencies.

Usage

After the dependency installed, you can directly import the widget.

import 'package:flui/flui.dart';

// in somewhere
FLAppBarTitle(
    title: 'AppBar',
    subtitle: '(subtitle)',
    layout: FLAppBarTitleLayout.vertical,
    showLoading: true
)

Widgets

Dynamic

dynamic-post

FLUI-Dynamic is a dynamic rendering module that supports rendering widgets based on json strings or objects of a specified type. For more introduction and usage, please see Dynamic

Widget buildDynamicWidget() {
    return FLDyContainer(
       jsonObject: $JSON_STRING_OR_OBJECT,
       placeholder: CircularProgressIndicator(
         strokeWidth: 3.0,
         valueColor: AlwaysStoppedAnimation(Theme.of(context).accentColor),
       ),
    );
}

Contributing

Principles:

  • Branches that submit new widgets should be named 'feature-' + widget name. Fixing issues need to be prefixed with 'bugfix-'
  • The submitted widgets need to be general. If the widget is rare or not sure whether it needs to be added to FLUI, you can raise a issue which starts with [feature] for discussion
  • The API design of the new widget is as standard and readable as possible, following the naming and usage rules of Flutter's official widgets.
  • Please comment above properties and methods how to use it so that I can add to the documentation and examples.
  • Commit messages: prefix with feat | fix | docs | style | refactor | perf | test | workflow | ci | chore | types:.

License

MIT License

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。