shaderify 0.0.3 copy "shaderify: ^0.0.3" to clipboard
shaderify: ^0.0.3 copied to clipboard

That's a helper to add shaders easily, with some variables like time, mouse position, and size.

example/lib/main.dart

import 'package:flutter/widgets.dart';
import 'package:shaderify/shaderify.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const Directionality(
      textDirection: TextDirection.ltr,
      child: ShaderWidget(shaderPath: "shaders/myshader.frag"),
    );
  }
}
2
likes
150
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

That's a helper to add shaders easily, with some variables like time, mouse position, and size.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_shaders

More

Packages that depend on shaderify