parallax 1.0.3 copy "parallax: ^1.0.3" to clipboard
parallax: ^1.0.3 copied to clipboard

A parallax package for touch-based devices.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:example/parallax.dart';

void main(List<String> args) {
  runApp(MaterialApp(
    home: HomeScreen(),
    debugShowCheckedModeBanner: false,
  ));
}

class HomeScreen extends StatelessWidget {
  HomeScreen({Key? key}) : super(key: key);

  final List<String> listImages = [
    'images/image1.jpg',
    'images/image2.jpg',
    'images/image3.jpg',
    'images/image4.jpg',
    'images/image5.jpg',
    'images/image6.jpg',
  ];

  @override
  Widget build(BuildContext context) {
    return Parallax(
      parallaxImages: listImages,
    );
  }
}
32
likes
120
pub points
60%
popularity

Publisher

verified publishermedafox.com

A parallax package for touch-based devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on parallax