glass_morph_widgets 1.0.0 copy "glass_morph_widgets: ^1.0.0" to clipboard
glass_morph_widgets: ^1.0.0 copied to clipboard

A pure-Dart Flutter package providing animated glass-morphism widgets with zero native code. Supports mobile, web, and desktop platforms.

glass_morph_widgets #

pub package pub points

A pure-Dart, cross-platform Flutter package providing animated glass-morphism widgets: GlassMorphButton, GlassMorphCard, GlassMorphFloatingActionButton.

Demo #

Demo Live demo showcasing all glass-morphism widgets

Features #

  • Animated blur + scale interactions
  • Pure Dart (no native plugins) — works on mobile, desktop & web (HTML/CanvasKit)
  • Accessible defaults (Semantics, contrast)
  • Golden-file tests for visual regression
  • CI/CD pipeline with GitHub Actions

Screenshots #

GlassMorphButton #

GlassMorphButton

GlassMorphCard #

GlassMorphCard

GlassMorphFloatingActionButton #

GlassMorphFloatingActionButton

Installation #

Add to your pubspec.yaml:

dependencies:
  glass_morph_widgets: ^1.0.0

Quick example #

import 'package:glass_morph_widgets/glass_morph_widgets.dart';

GlassMorphButton(
  onPressed: () {},
  child: Text('Upgrade to Pro'),
);

Running tests & goldens #

  • Generate golden baselines:

    flutter test --update-goldens
    
  • Run tests:

    flutter test
    dart analyze
    

CI #

  • CI should run flutter test and fail on visual diffs. Do not run --update-goldens in CI.

Contributing #

  • Follow Conventional Commits.
  • Run dart format . and dart analyze before committing.

License #

MIT License — see LICENSE.

0
likes
150
points
138
downloads

Publisher

unverified uploader

Weekly Downloads

A pure-Dart Flutter package providing animated glass-morphism widgets with zero native code. Supports mobile, web, and desktop platforms.

Homepage
Repository (GitHub)
View/report issues

Topics

#ui #widget #glassmorphism #animation #flutter

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on glass_morph_widgets