intela 0.0.4 copy "intela: ^0.0.4" to clipboard
intela: ^0.0.4 copied to clipboard

Ce Package aide avec l'utilisation des transitions entre un écran et un autre. En d'autre mots, le routing entre pages. Simple à implemente et très élégant comme code.

DESCRIPTION : Package pour faire la transition d'un page à une autre avec une animation.

Features #

  1. Transition d'une page à une autre.
  2. Animation avec la transition
  3. Sert de routing comme package
  4. Vitesse de l'animation
  5. Activé ou pas le back page before

Getting started #

  1. Import de package
import 'package:intela/intela.dart';
  1. User the package

Exemple code : transition page :

body: Center(
    child: MaterialButton(
      color: Colors.white,
      onPressed: () {

        RouteTransitions(
          context: context,
          child: const Page2(),
          animation: AnimationType.fadeIn,
          duration: const Duration( milliseconds: 1000 ),
          // replacement: true
        );
      },
      child: const Text('Go to page2')
    )
),

Usage #

examples to /example folder.

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

import 'package:intela/intela.dart';
import 'page2.dart';

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Page 1'),
        backgroundColor: Colors.transparent,
      ),
      backgroundColor: Colors.blue,
      body: Center(
        child: MaterialButton(
          color: Colors.white,
          onPressed: () {

            RouteTransitions(
              context: context,
              child: const Page2(),
              animation: AnimationType.fadeIn,
              duration: const Duration( milliseconds: 1000 ),
              // replacement: true
            );

          },
          child: const Text('Go to page2')
        )
     ),
   );
  }
}

Additional information #

more importation for this package !

  • Send us the pull request in GitHub : about your question.
0
likes
160
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Ce Package aide avec l'utilisation des transitions entre un écran et un autre. En d'autre mots, le routing entre pages. Simple à implemente et très élégant comme code.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on intela