A flutter package to add background smoke effect of custom color or gradient
Demo
See the package in action: gradient smoke - https://drive.google.com/file/d/1mo7Y2hJmaP440R0UhkuyRJ6I1HPFjDem/view?usp=sharing
custom smoke - https://drive.google.com/file/d/1_d8DnkedLfjjaegeZVpLpxPu5zBgulvK/view?usp=sharing
default smoke - https://drive.google.com/file/d/1lcOUoo-WAudYNRLiNCMUCcO5uw51mAG8/view?usp=sharing
Getting started
Add this package in pubspec.yaml and just use the SmokeEffect Widget
Usage
Sample code to get started
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Container(
child: const SmokeEffect(
gradientSmoke: false,
singleSmokeColor: Colors.blue,
),
),
);
}
}