stacked_card_swiper 1.0.0 copy "stacked_card_swiper: ^1.0.0" to clipboard
stacked_card_swiper: ^1.0.0 copied to clipboard

A Flutter package for smooth stacked card swipers with gesture control, layered animations, flexible positioning, and performance-focused design for seamless integration.

example/lib/main.dart

import 'package:example/pages/example_list_page.dart';
import 'package:example/pages/example_static_page.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Example',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
      ),
      routes: {
        "/": (context) => HomePage(),
        "/static": (context) => ExampleStaticPage(),
        "/list": (context) => ExampleListPage(),
      },
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("Stacked Card Swiper Example")),
      body: Center(
        child: Column(
          spacing: 16,
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
              onPressed: () {
                Navigator.pushNamed(context, '/static');
              },
              child: Text("Example Static"),
            ),
            ElevatedButton(
              onPressed: () {
                Navigator.pushNamed(context, '/list');
              },
              child: Text("Example List"),
            ),
          ],
        ),
      ),
    );
  }
}
2
likes
160
points
82
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for smooth stacked card swipers with gesture control, layered animations, flexible positioning, and performance-focused design for seamless integration.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on stacked_card_swiper