パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v2.2.5

c_material

一貫性があり拡張可能なUIデザインを構築するための、事前に定義された色、セマンティックトークン、Material 3テーマを備えた現代的なFlutterカラーシステム。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
149
いいね数
130
Pub ポイント
160

パッケージをインストール

flutter pub add c_material

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

c_material は、事前に定義された色、セマンティックトークン、Material 3 テーマを提供する現代的な Flutter カラーシステムです。開発者がプラットフォーム間で一貫性があり、スケーラブルで視覚的に統合されたユーザーインターフェースを構築できるようにします。セマンティックカラートークンを使用することで、ダイナミックテーマのサポートが可能になり、デザインシステムの保守性が向上します。このパッケージは Flutter の UI ツールキットとシームレスに統合され、Android、iOS、Web、macOS、Windows、Linux での洗練された応答性のある体験を実現するために Material Design 3 のガイドラインに準拠しています。

用途

  • 複数のプラットフォームにわたって一貫したUIを構築する
  • Material 3 デザイン基準の実装
  • スケーラブルなデザインシステムの構築
  • ダイナミックテーマ切り替えの有効化
  • 大規模なアプリケーションにおけるカラーマネジメントの簡素化
  • 意味のある色を通じたアクセシビリティのサポート

主な機能

  • 事前定義された Material 3 カラースキーム
  • 明確性のための意味的カラータイプ
  • クロスプラットフォーム互換性
  • Flutterとの簡単な統合
  • ライトおよびダークテーマのサポート
  • 拡張可能なカラーシステム

適している対象

  • デザインシステム開発者
  • Material 3 を使用する Flutter チーム
  • 一貫したテーマが必要なアプリ
  • アクセシビリティに焦点を当てたプロジェクト
  • 再利用可能な色論理を探している開発者
  • マルチプラットフォームアプリを構築するチーム

注意事項

  • Material 3 デザイン原則に精通している必要があります
  • 非マテリアルデザイン用にカスタマイズが必要になる場合があります
  • Flutter のテーマシステムに依存しています
  • 色に特化した機能のみ
  • 複雑なUIコンポーネントライブラリには適していません
  • 構造化されたデザインワークフロー内で最適に使用されます

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

c_material_colors_flutter

Awesome Flutter

Pub Version Swift C++ Java Dart

C_Material Header
A new package for choosing colors. It is very powerful and supports all operating systems, including iPhone, Android, the web, and many platforms. It helps in direct access to colors.

_ Simple package helps you to use all colors to direct code and flexible and eazy use when use class it found over 100 colors

Support = [**[ Android , IOS and WEB(soon) ] **];
  • Support All Platform in flutter
  • Ease of use and flexibility in accessing colors directly
  • It has a strong advantage, which is that it contains almost all colors
  • It is also easy to use in any mobile project and supports all platforms

Features

It is a very powerful package that includes around 140 colors and more. Its features include being filled with a wide variety of colors, being easy to use, and allowing developers to access the desired color through the MaterialColors class. It is also distinguished by its attractiveness across all colors.

Setup
iOS

Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value YES.

iOS (only support> 11.0) you need to add this line in your ios/Podfile

platform :ios, '11.0'

Getting Started

To use C_Material_Colors in your project, add the c_material package to pubspec.yaml:

dart pub add c_material or flutter pub add flex_color_scheme

import it

Import the package to use it:

import 'package:c_material/c_material.dart';

Usage :

Explaining of how to use this package

    /// You Can use Any Widgets in flutter like this :
    /// Container(
     color: MaterialColors.blue;
   /// )

   /// But Note Very Important :
   /// you can use class MaterialColors just type proberity class Color
   /// Not use MaterialAllProberity ....
عرض الصور
Image 1 Image 2

Usage Just Class Color Type Not Type Class WidgetStateProperty<Colors?>

    /// You Can use Any Widgets in flutter like this :
    /// Container(
     color: MaterialColors.blue;
   /// ),

   /// Container(
     color: MaterialColors.offWhite;
   /// )

   /// AppBar(
    backgroundColor: MaterialColors.green
   /// )

   /// But Note Very Important :
   /// you can use class MaterialColors just type proberity class Color
   /// Not use MaterialAllProberity ....

Using Widgets in Flutter

/// Example :
/// Scaffold Widget => Scaffold(
  backgroundColor: MaterialColors.red,
) ,

/// Card Widget => Card(
  color: MaterialColors.blue ,
),

Notes :
/// The most important thing about the package is that it does not accept a class of type WidgetStateProperty because it has a different type; it only accepts the type Color. ///

Global access to [Colors] from any Project :

    ///If you need any thing from [Color Blue]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.aliceBlue;

    ///If you need any thing from [Color Red]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.red;

    ///If you need any thing from [Color Yellow]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.yellow;

    ///If you need use color black [Color Black]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.black;

    ///If you need use color sandyBrown [Color Brown]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.sandyBrown;

Global access to [All Colors ] using class [MaterialColors Class]

     ///If you need any thing from [Color blanchedAlmond]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.blanchedAlmond,

    ///If you need any thing from [Color blueViolet]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.blueViolet,

    ///If you need any thing from [Color cornflowerBlue]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.cornflowerBlue,

    ///If you need any thing from [Color chocolate]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.chocolate,

    ///If you need any thing from [Color saddleBrown]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.saddleBrown,

    ///If you need any thing from [Color fireBrick]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.fireBrick,

    ///If you need any thing from [Color wheat]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.wheat,

    ///If you need any thing from [Color darkGoldenrod]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.darkGoldenrod,

    ///If you need any thing from [Color lightBlue]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.lightBlue,

    ///If you need any thing from [Color darkRed]
    ///you can use it MaterialColors class to access Many Colors :
    MaterialColors.darkRed,

Dependencies

Flutter

flutter_c_material

Additional information Developer :

I hope this package helped you very well. If you need to contact with me:

[ammarmatarieh2@gmail.com]

LinkedIn Profile

[GitHub Profile](https://github.com Ammar2000-Matarieh)

Do not hesitate to contact me if you faced any problem.

Developer: Ammar Matarieh.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。