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

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
150
points
19
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.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_page_tranzitionz