parallax_widget 0.0.1 copy "parallax_widget: ^0.0.1" to clipboard
parallax_widget: ^0.0.1 copied to clipboard

Parallax widget for any your widget

A widget to wrap your widget with a parallax effect.

Getting started #

This package depends on sensors_plus

To use this plugin add it to the dependencies in your pubspec.yaml file.

Example #

Usage #

class _MyHomePageState extends State<MyHomePage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: ParallaxWidget(Image.asset("assets/img.png", height: 400, width: 300,), 400, 300),
      ),
    );
  }
}
0
likes
110
pub points
38%
popularity

Publisher

unverified uploader

Parallax widget for any your widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, sensors_plus

More

Packages that depend on parallax_widget