Skip to main content

holo_card 0.1.0 copy "holo_card: ^0.1.0" to clipboard
holo_card: ^0.1.0 copied to clipboard

Wrap any widget in a 3D collectible card that tilts with touch, mouse or gyroscope, with a glare and a holographic foil shader effect.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'gallery_page.dart';

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

/// Demo app for the holo_card package.
class HoloGalleryApp extends StatelessWidget {
  /// Creates the app.
  const HoloGalleryApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Holo Card',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
        brightness: Brightness.dark,
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFF7C5CFF),
          brightness: Brightness.dark,
        ),
        scaffoldBackgroundColor: const Color(0xFF0A0C14),
      ),
      home: const GalleryPage(),
    );
  }
}
2
likes
160
points
66
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Wrap any widget in a 3D collectible card that tilts with touch, mouse or gyroscope, with a glare and a holographic foil shader effect.

Repository (GitHub)
View/report issues

Topics

#animation #ui #effects #shader #card

License

MIT (license)

Dependencies

flutter, sensors_plus, sensors_plus_platform_interface

More

Packages that depend on holo_card