SimpleSplashPage constructor
SimpleSplashPage({
- Key? key,
- required PrivacyContent privacyContent,
- required Future<
SplashContent> onPrivacyAgree(- BaseVM viewModel,
- BuildContext context
- required void onFinishJump(
- BaseVM viewModel,
- BuildContext context
- String? icon,
- String? title,
- 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});