SimpleSplashPage constructor

SimpleSplashPage({
  1. Key? key,
  2. required PrivacyContent privacyContent,
  3. required Future<SplashContent> onPrivacyAgree(
    1. BaseVM viewModel,
    2. BuildContext context
    ),
  4. required void onFinishJump(
    1. BaseVM viewModel,
    2. BuildContext context
    ),
  5. String? icon,
  6. String? title,
  7. bool webClientAutoAgree = true,
})

简易的开屏页 privacyContent 隐私政策相关内容 onPrivacyAgree 隐私政策同意后的方法回调,用户可在次方法回调中做自己事情,并把需要展示的内容控件返回来 onFinishJump 开屏页面所有内容都完成后的方法回调,用户可在此方法回调中进行页面跳转 icon 欢迎页面的icon,可以不传,不传则不会有此控件 title 欢迎页面的title,可以不传,不传则不会有此控件 webClientAutoAgree web平台一般不需要这个隐私政策弹框,是否自动就完成通过的校验

Implementation

SimpleSplashPage(
    {super.key,
    required this.privacyContent,
    required this.onPrivacyAgree,
    required this.onFinishJump,
    this.icon,
    this.title,
    this.webClientAutoAgree = true});