Search packages, repositories and app categories

parallax cover
Package detailsv1.0.3

parallax

A parallax package for touch-based devices.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
21
Likes
34
Pub points
140

Install package

flutter pub add parallax

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The parallax package enables smooth, touch-based parallax effects in Flutter applications, ideal for creating immersive user interfaces with depth. Designed for devices with touch input, it enhances visual engagement by animating background elements at different speeds relative to foreground content. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform development. It integrates seamlessly into existing Flutter projects with minimal setup, offering a lightweight solution for adding dynamic, interactive layers to carousels or cover flow layouts.

Use cases

  • Creating interactive carousels
  • Building cover flow UIs
  • Enhancing mobile app visuals
  • Adding depth to web interfaces
  • Designing touch-responsive layouts

Key features

  • Touch-based parallax scrolling
  • Cross-platform compatibility
  • Lightweight and easy integration
  • Support for multiple device types
  • Smooth animation performance

Suitable for

  • Mobile app developers
  • Web designers seeking interactivity
  • UI/UX creators focused on depth
  • Flutter beginners exploring animations
  • Developers building media galleries

Considerations

  • Best suited for touch-enabled devices
  • May require performance tuning on low-end hardware
  • Limited customization beyond basic parallax
  • Not optimized for non-touch interactions
  • Depends on Flutter's gesture system

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Parallax

A parallax package for touch-based devices, providing a visually appealing user experience.

example1 example2

Getting started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
    ...
    parallax: <latest_version>

Add the following import:

import 'package:parallax/parallax.dart';

Provide a required List<String> of images and change the remaining optional parameters to your liking. For example:

final List<String> listOfImages = [
    'images/image1.jpg',
    'images/image2.jpg'
];

Parallax(
      parallaxImages: listOfImages,
      skewAlpha: 3.0,
      skewBeta: 7.0,
      height: 300.0,
      width: 500.0,
      paddingHorizontal: 10.0,
      viewportFraction: 0.8,
      circularBorder: true,
    );

Categories

Source repository

Projects using this package

No data available yet.