패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.6.0

mdc_web

material-components-web 자바스크립트 라이브러리용 Dart 래퍼입니다.

Web
30일 다운로드
7.4천
좋아요
20
Pub 점수
130

패키지 설치

flutter pub add mdc_web

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

mdc_web 패키지는 Material Components for Web (MDC-Web) 자바스크립트 라이브러리의 Dart 래퍼로, 개발자가 Flutter 웹 애플리케이션에서 Material Design 컴포넌트를 사용할 수 있도록 해줍니다. 버튼, 카드, 텍스트 필드와 같은 Google의 Material Design 가이드라인에 따라 스타일링된 풍부한 사전 구축된 UI 요소에 접근할 수 있습니다. Dart와 MDC-Web의 자바스크립트 구현을 연결함으로써 최소한의 커스텀 스타일링으로 일관되고 고품질의 웹 UI를 보장합니다. 이 패키지는 Flutter 웹 생태계 내에서 네이티브 Material Design 컴포넌트를 원하는 팀에게 이상적입니다.

사용 사례

  • Flutter 웹 앱에서 Material Design 컴포넌트 통합하기
  • 반응형이고 현대적인 웹 인터페이스 구축
  • Material Design를 활용한 UI 일관성 향상
  • Dart에서 기존의 MDC-Web 컴포넌트 활용하기
  • 크로스 플랫폼 웹 경험 만들기

주요 기능

  • MDC-Web JavaScript용 Dart 인터페이스
  • Material Design 준수 컴포넌트
  • Flutter 웹과의 원활한 통합
  • 웹 전용 Material 기능을 지원합니다
  • 경량이고 모듈식

적합한 대상

  • Flutter 웹 개발자
  • Material Design를 사용하는 팀
  • 네이티브 웹 컴포넌트 지원을 필요로 하는 프로젝트
  • MDC-Web에 익숙한 개발자
  • 일관된 웹 UI가 필요한 앱

고려 사항

  • 고급 사용자 정의를 위해서는 자바스크립트 지식이 필요합니다
  • 웹 플랫폼에만 제한됨
  • 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

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.