Buscar pacotes, repositórios e categorias de apps

Capa de another_transformer_page_view
Detalhes do pacotev2.0.1

another_transformer_page_view

Outro pageTransformer para flutter com suporte a null-safety

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
13,2 mil
Curtidas
98
Pontos Pub
150

Instalar pacote

flutter pub add another_transformer_page_view

Visão geral do pacote

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

Another Transformer Page View é um pacote Flutter que oferece recursos aprimorados de transformação de página para widgets PageView, com suporte a null safety. Permite animações suaves e personalizáveis entre páginas, ideal para criar interfaces de usuário envolventes com transições dinâmicas. Desenvolvido com foco em desempenho e facilidade de uso, integra-se perfeitamente a projetos Flutter existentes em múltiplas plataformas. O pacote é mantido por juliansteenbakker e é adequado para desenvolvedores que buscam efeitos visuais avançados sem implementação complexa. Sua arquitetura leve garante baixo custo computacional enquanto entrega experiências interativas ricas.

Casos de uso

  • Criando telas animadas de introdução
  • Construindo controles deslizantes interativos com profundidade visual
  • Melhorando a navegação com transições dinâmicas de página
  • Projetando apresentações imersivas de produtos
  • Implementando efeitos de rolagem personalizados

Principais recursos

  • Suporte a null safety
  • Transformações de página personalizáveis
  • Desempenho de animação suave
  • Compatibilidade multiplataforma
  • Integração simples com PageView
  • lógica de transformação extensível

Indicado para

  • Desenvolvedores Flutter construindo interfaces interativas
  • Designers que desejam efeitos de transição avançados
  • Aplicativos que exigem experiências de rolagem visualmente ricas
  • Projetos direcionados para múltiplas plataformas
  • Equipes que priorizam código limpo e sustentável

Considerações

  • Requer conhecimento dos conceitos de PageView e animação
  • Pode afetar o desempenho com transformações pesadas
  • Documentação limitada além dos exemplos básicos
  • Mais adequado para animações de complexidade moderada
  • Não destinado a rolagem linear simples

README original

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

another_transformer_page_view

PageTransformer for flutter. Fork from transformer_page_view

Very simple to use

import 'package:another_transformer_page_view/another_transformer_page_view.dart';

...

new TransformerPageView(
loop: true,
transformer: new AccordionTransformer(),
itemBuilder: (BuildContext context, int index) {
  return new Container(
    color: list[index%list.length],
    child: new Center(
      child: new Text("$index",style: new TextStyle(fontSize: 80.0,color: Colors.white),),
    ),
  );
},
itemCount: 3)

Almost the same as PageView.builder, simplely specify a transformer to TransformerPageView, which is a sub class of PageTransformer

Show cases

Parallax

Welcome view

Basic

AccordionTransformer

See code here

ThreeDTransformer

See code here

ScaleAndFadeTransformer

See code here

ZoomInPageTransformer

See code here

ZoomOutPageTransformer

See code here

DepthPageTransformer

See code here

Getting Started

Installation

Add


another_transformer_page_view:

to your pubspec.yaml ,and run

flutter packages get 

in your project's root directory.

Basic Usage
Parameter Default Description
scrollDirection Axis.horizontal If Axis.horizontal, the scroll view's children are arranged horizontally in a row instead of vertically in a column.
loop false Set to true to enable continuous loop mode.
index none Index number of initial slide. if not set , it is controlled by the widget itself,otherwise, it is controlled by another widget, which is returned by itemBuilder
onPageChanged void onPageChanged(int index) Called with the new index when the user swiped
duration new Duration(milliseconds:300) The milliseconds of every transaction animation costs
transformer none The most important property of this widget, it returns a transformed widget that based on the widget parameter. If the value is null, a itemBuilder must be specified
itemCount none Number of the total items
itemBuilder none A function that returns a widget based on index,if it's null,a transformer must be specified
Build-in Parallax

We provide 3 build-in parallaxes, which handle color、image and container

ParallaxColor

ParallaxColor handles the color transform, which controls the color transform from one to another.

ParallaxImage

ParallaxImage handles the image, which speed is slower than the PageView

ParallaxContainer

ParallaxContainer handles the text or other staff, which speed is faster than the PageView

3 build-in parallaxes are all used in subclass of PageTransform,group these parallaxes together, we can create very cool things.

Inspired by page-transformer, and we have an easier way to create this.

See code here

Custom animation

Categorias

Repositório-fonte

Projetos que usam este pacote