xayn_swipe_it 1.0.4 copy "xayn_swipe_it: ^1.0.4" to clipboard
xayn_swipe_it: ^1.0.4 copied to clipboard

A performant, animated swipe widget with left and right customizable options provided by Xayn.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:xayn_swipe_it_example/repository/dog_repository.dart';

import 'pages/home.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Swipe my Doggo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData.light().copyWith(
          floatingActionButtonTheme: const FloatingActionButtonThemeData(
            backgroundColor: Colors.red,
          ),
          appBarTheme: AppBarTheme(
            backgroundColor: Colors.black12.withOpacity(0.6),
            titleTextStyle: const TextStyle(
              color: Colors.white,
              fontWeight: FontWeight.bold,
              fontSize: 20,
            ),
            elevation: 0.5,
          )),
      home: const Home(dogRepository: DogRepository()),
    );
  }
}
12
likes
145
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A performant, animated swipe widget with left and right customizable options provided by Xayn.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, flutter

More

Packages that depend on xayn_swipe_it