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

パッケージ詳細v0.6.0

mdc_web

material-components-web JavaScript ライブラリ用のDartラッパー。

Web
30日間ダウンロード
7440
いいね数
20
Pub ポイント
130

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

flutter pub add mdc_web

パッケージ概要

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

mdc_web パッケージは、Material Components for Web (MDC-Web) JavaScript ライブラリ用の Dartラッパーであり、Flutter WebアプリケーションでMaterial Designコンポーネントを使用できるようにします。ボタン、カード、テキストフィールドなど、GoogleのMaterial Designガイドラインに従ってスタイルされた豊富な事前構築UI要素へのアクセスを提供します。DartとMDC-WebのJavaScript実装を橋渡しすることで、最小限のカスタムスタイルで一貫性があり、高品質なWeb UIを実現します。このパッケージは、FlutterのWebエコシステム内でネイティブなMaterial Designコンポーネントを求めるチームにとって理想的です。

用途

  • Flutter WebアプリにMaterial Designコンポーネントを統合する
  • レスポンシブでモダンなウェブインターフェースの構築
  • Material Design を活用した UI の一貫性の向上
  • Dart で既存の MDC-Web コンポーネントを活用する
  • クロスプラットフォームWeb体験の作成

主な機能

  • MDC-Web JavaScript の Dart インターフェース
  • Material Design準拠のコンポーネント
  • Flutter Webとのシームレスな統合
  • Web 固有の Material 機能をサポートします
  • 軽量でモジュール式

適している対象

  • Flutter Web開発者
  • Material Design を使用するチーム
  • ネイティブな Web コンポーネントサポートを必要とするプロジェクト
  • MDC-Webに精通した開発者
  • 一貫したWeb UIを必要とするアプリ

注意事項

  • 高度なカスタマイズには JavaScript の知識が必要です
  • Webプラットフォームに限定
  • JS相互運用による潜在的なパフォーマンスのオーバーヘッド
  • 外部の MDC-Web ライブラリに依存しています
  • 非同期初期化の手動処理が必要になる場合があります

元の README

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

pub points

mdc_web

Dart wrapper for the material-components-web javascript library.

Usage

In your index.html, include the script just before the main.dart.js script.

<!--
  This exposes the `mdc` global variable required by this package.
  For debugging purposes you can replace the ".min.js" extension with ".js".
-->
<script defer src="packages/mdc_web/material-components-web.min.js"></script>
<script defer src="main.dart.js"></script>

Now in your dart application you can use all of the MDC* classes as described by the Material Design Web component reference.

Documentation

Each class and notable members are documented. Class documentation includes links to corresponding (if available):

Limitations

Only the components themselves were mirrored. Their foundation and adapter classes are currently beyond the scope of this package as they are for deep customization within other web frameworks. However, the base MDCFoundation and MDCComponent classes are included. This limitation should not affect most implementations, but if it does affect you, please let me know.

カテゴリー

依存関係

依存関係一覧 2 件

  • js^0.6.1+1
  • meta^1.1.7

ソースリポジトリ

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

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