FLUTTER ECOSYSTEM

Zachariah-Abraham/glass

모든 위젯을 유리 버전으로 변환할 수 있는 플러터 패키지

유리 프로젝트 이미지
Stars
18
Forks
6
최근 푸시(UTC)
2024. 11. 17.
프로젝트 상태
활성
Arapurayil Zachariah Abraham GitHub avatar
GITHUB User

Arapurayil Zachariah Abraham ↗

@AmazonBengaluru, India공식 웹사이트 ↗
언어CMakeDartC++SwiftC

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Pub Version License

Glass

Easily convert any Widget into a glass / frosted glass version of itself, following the glassmorphism / glassmorphic design trend.

Sample screenshot Sample screenshot 2

Installation

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
    glass:
2. Install it

You can install packages from the command line:

$ pub get
..

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

3. Import it

Now in your Flutter code, you can use:

import 'package:glass/glass.dart';

Usage

Simply call .asGlass() on the widget you want to convert to glass.

For example:

Container(
    child: someChild,
).asGlass()

A full example can be found in the example directory

About me

Visit my LinkedIn at https://www.linkedin.com/in/zaca