smart_flip_card 0.0.1
smart_flip_card: ^0.0.1 copied to clipboard
A animated card that can flip and have UI on both ends.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:flipcard/flipcard.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: Scaffold(
body: FlippableCardExample(
imageUrl:
"https://images.unsplash.com/photo-1607746882042-944635dfe10e",
frontheading: "Revenue Radar",
frontcaption: "Your personalized insights for sales growth.",
frontbuttonText: "See More",
hintText: "Built using AI and ML with market-driven forecasting.",
backHeading: "Hint",
backTagline: "AI and Sales?"),
),
);
}
}