登录

去注册 忘记密码?

登录

注册

去登录

  • 扫码关注公众号
  • 发送“我爱安卓
  • 即可获取验证码

注册

解锁回答区域

  • 扫码关注公众号
  • 发送“我爱安卓

若你登陆,将永久解锁;
若未登录,仅本机解锁。

解锁回答区域

获取注册验证码

  • 扫码关注公众号
  • 发送“我爱安卓
  • 即可获取验证码

dribbble上一个有意思的登录页面交互的flutter實現

ZuYun   2022-05-03 21:07   收藏

what is it

flipover

https://user-images.githubusercontent.com/9412501/145047584-5acfbd4a-a448-4d85-8878-2dd779d32f30.mp4

how to use

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),
})

项目地址:https://github.com/ZuYun/loginj