FLUTTER ECOSYSTEM

Zachariah-Abraham/glass

Ein Flutter-Paket, das es Ihnen ermöglicht, jedes Widget in eine Glasversion davon zu konvertieren

Projektcover von Glas
Stars
18
Forks
6
Letzter Push (UTC)
17.11.2024
Projektstatus
Aktiv
Arapurayil Zachariah Abraham GitHub avatar
GITHUB User

Arapurayil Zachariah Abraham ↗

@AmazonBengaluru, IndiaOffizielle Website ↗
SprachenCMakeDartC++SwiftC

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 2 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

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