搜尋套件、儲存庫與 APP 分類

套件詳情v1.2.8

grafpix

大量圖標和小工具,可直接用於Flutter專案。

近 30 天下載
33
喜歡數
57
Pub 分數
35

安裝套件

flutter pub add grafpix

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Grafpix 是一個全面的 widget 庫和 UI 架構,適用於 Flutter,提供大量的即用型圖示與互動式小工具。專為簡化 UI 開發而設計,提供開發者豐富的預建元件,提升視覺吸引力與功能性。此套件可透過 pub 無縫整合至 Flutter 專案,實現快速原型設計與跨應用的一致性設計。憑藉對美學與易用性的重視,Grafpix 支援高效建立現代且具吸引力的使用者介面。

適用情境

  • 快速UI原型設計
  • 增強應用視覺設計
  • 建構互動式儀表板
  • 建立自訂圖示集
  • 優化小部件重用

主要特色

  • 豐富的圖標庫
  • 預建構的互動式小工具
  • 與 Flutter 的輕鬆整合
  • 一致的設計系統
  • 模組化組件結構

適合對象

  • Flutter 中的 UI 設計師
  • 尋求可重用組件的開發人員
  • 需要豐富視覺元素的專案
  • 快速進度的應用開發團隊
  • 注重設計的移動應用

使用建議

  • 有限的平台特定自訂
  • 未提供官方文件
  • 依賴外部 GitHub 倉庫
  • 使用大型圖示集時可能會增加打包大小
  • 需要從原始碼手動更新

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Grafpix

A growing Flutter Package consist of a huge collection of rectified icons and essential utilities that grant you outstanding user experience in no time.

Features

  • Huge collection of icons from multiple authors.
  • Impressive growing utilities to improve your design patterns.
  • WYSIWYG preview module for Flutter in Visual Studio Code to speed up development by providing you with Visual Aid.
  • Ease to deploy.
Newly Added > PixMedal

A Unique Medal Buttons with engraved icons of your choise, the varaieties are Gold, Silver & Bronze Medals.

Showcase1

PixButtons

A Stunning Glass-Like Buttons with fully customized properties.

Release

Showcase

A huge iconset of +2500 Icons

Grafpix Release 1.2.4

PixLoaders

used to simulate Future progress indicators.

LoaderType Output
Flashing Flashing
Spinner Spinner
Rocks Rocks
Installation

In your pubspec.yaml under dependencies add the following line:

dependencies:
  grafpix: ^1.2.6

From your Terminal, run the following code:

  flutter pub get
Example

PixIcon and PixLoader example

import 'package:flutter/material.dart';
import 'package:grafpix/icons.dart';
import 'package:grafpix/pixloaders/pix_loader.dart';
import 'package:grafpix/pixbuttons/radial.dart';
import 'package:grafpix/pixbuttons/medal.dart';

void main() =>
    runApp(MaterialApp(debugShowCheckedModeBanner: false, home: Example()));

class Example extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.grey[900],
      body: FutureBuilder(
          future: waitForFuture(),
          builder: (context, snapshot) {
            if (snapshot.hasData)
              // display PixButton with PixIcon when Future ends.
              return Container(
                  alignment: Alignment.center,
                  child: Column(mainAxisSize: MainAxisSize.min, children: [
                    PixButton(
                        radius: 70.0,
                        icon: PixIcon.pix_android, //PixIcon
                        iconSize: 50.0,
                        iconColor: Colors.white,
                        backgroundColor: Colors.blue,
                        shutter: 0.6,
                        twinkles: true,
                        onPress: () {
                          print('PixButton Pressed');
                        }),
                    SizedBox(height: 20.0),
                    PixMedal(
                      icon: PixIcon.shopware,
                      medalType: MedalType.Gold,
                      radius: 70.0,
                      iconSize: 60.0,
                    )
                  ]));
            else
              // display PixLoader while Future in progress.
              return PixLoader(
                  loaderType: LoaderType.Flashing, faceColor: Colors.white70);
          }),
    );
  }
}

// Simulates a future call with 5 seconds delay.
Future waitForFuture() async {
  await Future.delayed(Duration(seconds: 5));
  return true;
}

GRAFPIX

Author

Ahmed Mustafa < ahmed.dev2020@gmail.com > if you have suggestions, please feel free to contact me any time. your feedback is highly appreciated.

License

MIT

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。