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

modular_ui 封面
插件详情v0.0.5

modular_ui

预构建的精美 Flutter 小部件,灵感来自 material-tailwind 和 shadcn/ui

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
31
喜欢数
118
Pub 分数
150

安装插件

flutter pub add modular_ui

插件介绍

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

Modular UI 是一个 Flutter 包,提供由 Material Tailwind 和 shadcn/ui 启发的预构建、美观的组件。专为快速开发设计,它提供了一致且现代的设计系统,具有可自定义的组件,符合当前的 UI 趋势。该包支持多种平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,非常适合跨平台应用。通过简洁、语义化的代码和直观的 API,Modular UI 帮助开发者无需从零开始即可创建精美的界面。

适合场景

  • 快速原型设计
  • 跨平台应用程序开发
  • 现代用户界面设计
  • 基于组件的用户界面构建
  • 设计系统实施

主要特点

  • 预构建的精美小部件
  • 受 Material Tailwind 和 shadcn/ui 启发
  • 跨平台支持
  • 可定制组件
  • 语义化且简洁的 API

适合对象

  • 前端开发人员
  • UI/UX 设计师
  • 初创公司构建MVP
  • 使用设计系统的团队
  • 寻求快速UI交付的开发人员

使用建议

  • 需要熟悉Flutter widget结构
  • 超出所提供主题的定制选项有限
  • 依赖外部设计灵感
  • 可能需要额外的样式以实现独特的品牌标识
  • 最适合现代简约设计

原始 README

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

ModularUI : Pre-built beautiful flutter widgets Inspired by material-tailwind and shadcn/ui

Modular UI Badge Github Badge Twitter Badge Discord Badge

Craft beautiful, accessible, and responsive Flutter UIs with a Modular-UI Design-inspired component library


How to use

Installation

Run this command in your terminal

flutter pub add modular_ui
Import

Add this line to import the package.

import 'package:modular_ui/modular_ui.dart';

Modular UI Widgets:

Primary Cards

Image 2 Image 3 Image 5 Image 1 Image 4

Carousels

Gif 1 Gif 2 Gif 5
Gif 4 Gif 6 Gif 3

Buttons

Image 2 Image 3

Tab Bar

Image 2

Dialog Box

Image 2

Sliders

Image 2

Switch

Image 2

Our Widget Catalog

Cards
Buttons
Carousels
CheckBox
Dialogs
Footers
Input Fields
List Tiles
Rating Bars
Switch
Slider
Tabs

Code Samples

Buttons

Primary Button

 MUIPrimaryButton(
      text: "Primary Button",
      onPressed: () => onButtonPressed("Primary Button"),
    ),
Cards

Primary Card

  MUIPrimaryCard(
          title: 'UI/UX Review Check',
          description:
              'The place is close to Barceloneta Beach and bus stop just 2 min by walk and near to "Naviglio" where you can enjoy the main night life in Barcelona',
          image: Image.network(
            'https://images.unsplash.com/photo-1540553016722-983e48a2cd10?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=80',
            fit: BoxFit.cover,
          ),
          buttons: [
            MUIPrimaryButton(
              text: 'Read More',
              onPressed: () {},
            ),
          ],
        ),
Carousal

Primary Carousal

  MUICarousel(
            images: [
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png"
            ],
            indicatorType: CarouselIndicatorType.dot,
            duration: Duration(seconds: 2),
          ),

For more code samples, you can head on to our documentaion at . https://modularui.site


Features

  • Comprehensive Modular-UI Design components: Build modern and feature-rich interfaces with a wide range of buttons, cards, forms, navigation elements, and more.
  • Highly customizable: Tailor components to your exact needs with extensive styling options.
  • Responsive design: Ensure optimal UI experiences across different screen sizes.
  • Accessibility focus: Built with accessibility in mind, adhering to best practices.
  • Lightweight and performant: Efficiently crafted for smooth user interactions.

Additional Features

  • Custom themes and color palettes: Define your own visual style for a cohesive look.
  • Dark mode support: Seamlessly adapt your UI to user preferences.

Contributing

Calling on all the trendsetting Flutter enthusiasts! ❤️‍🔥 Join forces as we pioneer the creation of the ultimate, expansive, and seamless UI Library for Flutter. Let's make waves together! 🚀 Please refer to our contribution guidelines for details and don't forget to drop a Hi at discord


所属分类

源码仓库

使用此插件的项目

暂无相关数据。