metal_shader_fx 0.1.4
metal_shader_fx: ^0.1.4 copied to clipboard
Physically-based metallic border shine effects for Flutter — Cook-Torrance BRDF metallic shine on buttons, toggles, and text fields.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add metal_shader_fxThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
metal_shader_fx: ^0.1.4Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:metal_shader_fx/metal_shader_fx.dart';