romantic_shader_widget 1.0.0
romantic_shader_widget: ^1.0.0 copied to clipboard
A Flutter package for rendering GLSL fragment shaders and a built-in Dart CLI for converting Shadertoy-style GLSL into Flutter-compatible fragment shaders.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate romantic_shader_widgetUse it
The package has the following executables:
$ shader_converter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add romantic_shader_widgetThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
romantic_shader_widget: ^1.0.0Alternatively, 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:romantic_shader_widget/romantic_shader_widget.dart';