Skip to content

5hmlA/loginj

Repository files navigation

flib build lib web publish

what is it

flipover

Record_2021-12-07-22-28-51_adee26850cda3d51724f317268eb287f.mp4

how to use

pub

  • pub
  dependencies:
    loginj: ^0.0.3
FlipOverj(
    firstFront: (context, aniValue) => firstFrontCard(context, aniValue),
    firstBack: (context, aniValue) => firstBackCard(context, aniValue),
    secondFront: (context, aniValue) => secondFrontCard(context, aniValue),
    secondBack: (context, aniValue) => secondBackCard(context, aniValue),
)

customization

const FlipOverj({
    Key? key,
    required this.firstFront,
    required this.firstBack,
    required this.secondFront,
    required this.secondBack,
    this.offset = 50,
    this.secondScale = 0.85,
    this.firstScale = 0.8,
    this.duration = const Duration(milliseconds: 600),
})