FLUTTER ECOSYSTEM

Zachariah-Abraham/glass

A Flutter package that allows you to convert any widget to a glass version of itself

glass project cover
Stars
18
Forks
6
Last push (UTC)
Nov 17, 2024
Project status
Active
Arapurayil Zachariah Abraham GitHub avatar
GITHUB User

Arapurayil Zachariah Abraham ↗

@AmazonBengaluru, IndiaOfficial website ↗
LanguagesCMakeDartC++SwiftC

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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