smoke_effect 0.0.4
smoke_effect: ^0.0.4 copied to clipboard
A flutter package to add background smoke effect of custom color or gradient
A flutter package to add background smoke effect of custom color or gradient
Demo #

See the package in action: gradient smoke - https://github.com/user-attachments/assets/879cc4dd-3f82-4e78-83e9-18e0c89bcc9c
custom smoke - https://github.com/user-attachments/assets/f9e1f5d3-22e8-4eb6-9049-855839bdf32a
default smoke - https://github.com/user-attachments/assets/68e380c8-7466-4dc2-8797-dc540fbe4c70
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 SmokeHomeWidget(
gradientSmoke: false,
singleSmokeColor: Colors.blue,
),
),
);
}
}