flutter_page_tranzitionz 2.0.1 copy "flutter_page_tranzitionz: ^2.0.1" to clipboard
flutter_page_tranzitionz: ^2.0.1 copied to clipboard

outdated

A set of Page Route Transitions for simple and easy animations between different screens. Inspired by other packages on pub.dev.

example/main.dart

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

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            Navigator.of(context).push(
              BottomToTopFadeTranzition(
                child: const Page2(),
              ),
            );
          },
          child: const Text('Go!'),
        ),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: const Center(
        child: Text('Page 2'),
      ),
    );
  }
}
2
likes
0
points
16
downloads

Publisher

verified publishermj12358.dev

Weekly Downloads

A set of Page Route Transitions for simple and easy animations between different screens. Inspired by other packages on pub.dev.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_page_tranzitionz