glass_fish_button 0.1.2
glass_fish_button: ^0.1.2 copied to clipboard
A glassmorphism-inspired Flutter button widget with switchable light and dark themes.
glass_fish_button #

A Flutter package that recreates the glassmorphism download button pictured in the prompt. Choose between light and dark variants at the call-site via the brightness
parameter.
Getting started #
Add the package to your pubspec.yaml
(set it up for local development or publish to pub). Then import the library and drop the widget in your tree:
import 'package:glass_fish_button/glass_fish_button.dart';
GlassFishButton(
label: 'Download for Mac',
brightness: GlassFishButtonBrightness.light,
onPressed: () {},
);
Flip the look to the darker treatment by setting brightness
to GlassFishButtonBrightness.dark
.
An example app that toggles between both themes lives under example/lib/main.dart
.