flutter_rotating_shining_card 1.0.1 copy "flutter_rotating_shining_card: ^1.0.1" to clipboard
flutter_rotating_shining_card: ^1.0.1 copied to clipboard

A Flutter widget that displays a 3D rotating card with realistic light reflection, specular highlight, fresnel edge glow, and rainbow shimmer effects.

example/lib/main.dart

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

void main() => runApp(const MyApp());

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Rotating Shining Card Demo',
      theme: ThemeData.dark(),
      home: const DemoPage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      appBar: AppBar(title: const Text('Rotating Shining Card')),
      body: Center(
        child: RotatingShiningCard(
          width: 240,
          height: 340,
          frontChild:
              Image.asset('assets/images/card_1.png', fit: BoxFit.cover),
          backChild: Image.asset('assets/images/card_1.png', fit: BoxFit.cover),
          borderRadius: 16.0,
          shineIntensity: 0.6,
          shineColor: Colors.white,
        ),
      ),
    );
  }
}
3
likes
160
points
113
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that displays a 3D rotating card with realistic light reflection, specular highlight, fresnel edge glow, and rainbow shimmer effects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_rotating_shining_card