turn_page_transition 0.4.0 copy "turn_page_transition: ^0.4.0" to clipboard
turn_page_transition: ^0.4.0 copied to clipboard

This package provide simple Page-Turning Transition to your app.

example/lib/main.dart

import 'package:example/routes.dart';
import 'package:flutter/material.dart';
import 'package:turn_page_transition/turn_page_transition.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    final routes = Routes.routes();

    return MaterialApp.router(
      title: 'TurnPageTransition Example',
      debugShowCheckedModeBanner: false,
      routerConfig: routes,
      theme: ThemeData(
        pageTransitionsTheme: const TurnPageTransitionsTheme(
          overleafColor: Colors.grey,
          animationTransitionPoint: 0.5,
        ),
        primarySwatch: Colors.blue,
      ),
      // routeInformationParser: routes.routeInformationParser,
      // routerDelegate: routes.routerDelegate,
    );
  }
}
67
likes
150
pub points
84%
popularity

Publisher

verified publishershoryu.dev

This package provide simple Page-Turning Transition to your app.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on turn_page_transition