Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev0.0.15+1

animatedroute

Um pacote Flutter que permite aos desenvolvedores animar entre telas. Funciona tanto no Android quanto no iOS.

Downloads em 30 dias
16
Curtidas
17
Pontos Pub
30

Instalar pacote

flutter pub add animatedroute

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

AnimatedRoute é um pacote Flutter que permite transições de tela suaves e personalizáveis com animações. Projetado para Android e iOS, simplifica o processo de adicionar elementos visuais à navegação, permitindo que os desenvolvedores definam animações de entrada e saída entre rotas. O pacote se integra perfeitamente em aplicativos Flutter existentes sem exigir configurações complexas. Suporta tipos comuns de animação e oferece uma API limpa para controlar tempo, curvas e direção. Ideal para melhorar a experiência do usuário em aplicativos onde a navegação fluida é importante.

Casos de uso

  • Fluxos de onboarding do aplicativo
  • Transições de tela em painéis
  • padrões de navegação interativa
  • Melhorando o acabamento do aplicativo com feedback visual
  • Navegação personalizada de página com animação

Principais recursos

  • Suporte multiplataforma (Android e iOS)
  • API simples para definir animações
  • Suporte à personalização da animação de entrada/saída
  • Curvas de animação embutidas
  • Leve e integração fácil

Indicado para

  • Desenvolvedores em busca de navegação suave
  • Aplicativos focados na experiência do usuário
  • Aplicações orientadas por design
  • Iniciantes do Flutter aprendendo transições
  • Projetos que precisam de mudanças de rota refinadas

Considerações

  • Limitado a tipos básicos de animação
  • Sem suporte embutido para gestos complexos
  • Requer manipulação manual de estados de animação
  • Não adequado para transições altamente dinâmicas ou interativas
  • Pode ser necessário código adicional para casos de uso avançados

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

animatedroute

Flutter Package

Show some :heart: and star the repo to support the project

Screen Record

Usage

Example

To use this package :

  dependencies:
    flutter:
      sdk: flutter
    animatedroute:
How to use
class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.red,
      body: Container(
        child: Center(
          child: RaisedButton(
            onPressed: (){
              Navigator.of(context).push(AnimatedRoute(widget: NextScreen(), curves: Curves.easeInOutCubic, alignment: Alignment.bottomCenter));
            },
          ),
        ),
      ),
    );
  }
}

class NextScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      backgroundColor: Colors.lightBlueAccent,
    );
  }
}
  • widget: This is the screen/widget you would like to navigate to.
  • curves: This is the style of animation you would like to add to your route.
  • alignment: This is the exit and entry direction of your screen/widget
  • seconds: This is the duration of the animation. when null its equals to 1seconds.

Pull Requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
  2. If its a feature, bugfix, or anything please only change code to what you specify.
  3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  4. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  5. Check for existing issues first, before filing an issue.
  6. Make sure you follow the set standard as all other projects in this repo do
  7. Have fun!
Created & Maintained By

Babalola Ayotomide
Twitter

License

Copyright 2020 Babalola Ayotomide

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Getting Started

For help getting started with Flutter, view our online documentation.

Categorias

Repositório-fonte

Projetos que usam este pacote

Ainda não há dados.