SimpleSplashPage class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BasePage
- SimpleSplashPage
Constructors
-
SimpleSplashPage.new({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平台一般不需要这个隐私政策弹框,是否自动就完成通过的校验
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
final
- isCanBackPressed → bool
-
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lazyCreate → bool
-
finalinherited
- lifecycle → PageLifecycle
-
finalinherited
- onFinishJump → void Function(BaseVM viewModel, BuildContext context)
-
final
-
onPrivacyAgree
→ Future<
SplashContent> Function(BaseVM viewModel, BuildContext context) -
final
- privacyContent → PrivacyContent
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
- webClientAutoAgree → bool
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< BasePage> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getKeywordList(
) → List< String> - 根据传入的隐私政策内容获取隐私政策中需要高亮的关键字列表
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited