flutter_shader_fx 0.0.1
flutter_shader_fx: ^0.0.1 copied to clipboard
Pre-built, Impeller-optimized shader effects for Flutter. Add GPU-accelerated visuals with simple widgets—no GLSL required. (WIP: Plasma available)
import 'package:flutter/material.dart';
import 'package:flutter_shader_fx_example/effects/effects.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
final Color color = const Color(0xFF101010);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "Flutter Shader FX Example",
themeMode: ThemeMode.dark,
theme: ThemeData(
scaffoldBackgroundColor: color,
appBarTheme: AppBarTheme(color: color),
),
home: const Effects(),
);
}
}