card_flip 0.0.5 copy "card_flip: ^0.0.5" to clipboard
card_flip: ^0.0.5 copied to clipboard

A flip card layout Flutter project.

example/lib/main.dart

import 'package:card_flip/card_flip.dart';
import 'package:example/main.dart';
import 'package:example/widgets_factory.dart';
import 'package:flutter/material.dart';

import 'filp_main.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Stack(
          children: [
            Image.asset(
              'images/background.png',
              width: 360,
              fit: BoxFit.cover,
            ),
            SingleChildScrollView(
              child: Center(
                child: Padding(
                  padding: const EdgeInsets.all(18.0),
                  child: Column(
                    children: [
                      FlipLayoutDemo(),
                      const SizedBox(
                        height: 20,
                      ),
                      FlipLayoutDemo(),
                    ],
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}
29
likes
80
pub points
62%
popularity

Publisher

unverified uploader

A flip card layout Flutter project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on card_flip