swipeable_card 1.0.2 copy "swipeable_card: ^1.0.2" to clipboard
swipeable_card: ^1.0.2 copied to clipboard

Add swipeable card-like widgets for games or interactive onboarding screens

example/lib/main.dart

// check out https://github.com/ninest/swipeable_card/tree/master/example
// for a better explanation

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

import 'example_route.dart';
import 'example_slide_route.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // make it a full screen app
    SystemChrome.setEnabledSystemUIOverlays([]);

    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData.dark().copyWith(
        // make the background color darker to put the cards in focus!
        scaffoldBackgroundColor: Color(0xFF111111),
      ),
      // home: ExampleRoute(),
      // home: ExampleRoute(),
      home: ExampleRouteSlide(),
    );
  }
}
57
likes
25
pub points
40%
popularity

Publisher

unverified uploader

Add swipeable card-like widgets for games or interactive onboarding screens

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on swipeable_card