customflipcard 0.0.9 copy "customflipcard: ^0.0.9" to clipboard
customflipcard: ^0.0.9 copied to clipboard

discontinued

A new custom flip card is a widget, that can be fliped/rotated to right on tap and vice-versa.This widget is still is in beta version.

customflipcard #

A new Flutter package.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference. Description: A new custom flip card is a widget, that can be fliped to right on tap and viceversa.This widget is still is in beta version.

Usage: // Flutter code sample for Card

// This sample shows creation of a [Card] widget that shows album information // and two actions.

import 'package:flutter/material.dart'; import 'package:customflipcard/customflipcard.dart';

void main() => runApp(MyApp());

/// This Widget is the main application widget. class MyApp extends StatelessWidget { static const String _title = 'Flutter Code Sample';

@override
Widget build(BuildContext context) {
  return MaterialApp(
    title: _title,
    home: Scaffold(
      appBar: AppBar(title: const Text(_title)),
      body: MyStatelessWidget(),
    ),
  );
}

}

/// This is the stateless widget that the main application instantiates. class MyStatelessWidget extends StatelessWidget { MyStatelessWidget({Key key}) : super(key: key);

@override
Widget build(BuildContext context) {
  return Center(
    child: Card(
      child: Column(
        mainAxisSize: MainAxisSize.min,
        children: <Widget>[
          CustomFlipCardWidget(
            containerHeight: 200,
            containerWidth: 200,
            backView: Container(
              color: Colors.yellow[200],
              child: Center(
                child: Text(
                  "Font side.",
                ),
              ),
            ),
            frontView: Container(
              color: Colors.yellow[200],
              child: Center(
                child: Text(
                  "Font side.",
                ),
              ),
            ),
            containerDecoration: BoxDecoration(border: Border.all(color: Colors.blueAccent)),
          ),
        ],
      ),
    ),
  );
}

}

2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A new custom flip card is a widget, that can be fliped/rotated to right on tap and vice-versa.This widget is still is in beta version.

Homepage

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on customflipcard