animated_cards_carousel 1.0.2
animated_cards_carousel: ^1.0.2 copied to clipboard
Create dynamic and customizable animated carousels for Flutter apps. Ideal for displaying portfolios, galleries, or widget collections with smooth transitions and visual appeal.
import 'package:flutter/material.dart';
import 'package:animated_cards_carousel/animated_cards_carousel.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Animated Cards Carousel Example'),
),
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 32),
child: Column(
children: [
AnimatedCardsCarousel(
cardsList: List.generate(
10,
(index) => Card(
color: Colors.primaries[index % Colors.primaries.length],
child: Center(
child: Text(
'Card ${index + 1}',
style: const TextStyle(fontSize: 24),
),
),
),
),
),
],
),
),
),
);
}
}