Skip to content

5hmlA/parallaxj

Repository files navigation

publish lib web

what is it

online

WeChat_20220318213733.mp4

how to use

pub

Parallaxable(
    offsetRadio: 1.0 / 10,
    under: _underBackground(),
    above: _aboveBackground(),
)

customization

const Parallaxable({
    Key? key,
    required this.above,
    required this.under,
    this.angle = math.pi / 9,
    this.rotateDiff = 1.1,
    this.offsetRadio = 1.0 / 6,
    this.offsetDepth = 2,
})