v0.0.5modular_ui
預建構的美觀 Flutter 小部件,靈感來自 material-tailwind 和 shadcn/ui
使用 Modular UI 的彈性建構模組,迅速建立一致且具響應式的跨平台 Flutter 應用介面。
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1以下為英文專案原文快照,最新內容請造訪 GitHub。
Craft beautiful, accessible, and responsive Flutter UIs with a Modular-UI Design-inspired component library
Run this command in your terminal
flutter pub add modular_ui
Add this line to import the package.
import 'package:modular_ui/modular_ui.dart';
| Image 2 | Image 3 | Image 5 | Image 1 | Image 4 |
| Gif 1 | Gif 2 | Gif 5 |
| Gif 4 | Gif 6 | Gif 3 |
| Image 2 | Image 3 |
| Image 2 |
| Image 2 |
| Image 2 |
| Image 2 |
Primary Button
MUIPrimaryButton(
text: "Primary Button",
onPressed: () => onButtonPressed("Primary Button"),
),
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: () {},
),
],
),
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
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