seasonal_decor 1.3.5 copy "seasonal_decor: ^1.3.5" to clipboard
seasonal_decor: ^1.3.5 copied to clipboard

Seasonal Flutter animations and festive particle overlays for Ramadan, Eid, Christmas, Valentine, Halloween, and New Year.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:seasonal_decor/seasonal_decor.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'seasonal_decor simple example',
      theme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF16A085)),
      ),
      home: SeasonalDecor(
        preset: SeasonalPreset.ramadan(),
        intensity: DecorIntensity.medium,
        text: 'Ramadan Kareem',
        playDuration: const Duration(seconds: 8),
        repeatEvery: const Duration(seconds: 12),
        child: const _SimpleHomePage(),
      ),
    );
  }
}

class _SimpleHomePage extends StatelessWidget {
  const _SimpleHomePage();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('seasonal_decor')),
      body: const Center(
        child: Padding(
          padding: EdgeInsets.all(24),
          child: Text(
            'Simple example\nWrap any page with SeasonalDecor.',
            textAlign: TextAlign.center,
            style: TextStyle(fontSize: 20, fontWeight: FontWeight.w600),
          ),
        ),
      ),
    );
  }
}
13
likes
160
points
426
downloads
screenshot

Publisher

verified publishertamoura.me

Weekly Downloads

Seasonal Flutter animations and festive particle overlays for Ramadan, Eid, Christmas, Valentine, Halloween, and New Year.

Repository (GitHub)
View/report issues

Topics

#flutter #animation #particles #celebration #seasonal

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on seasonal_decor