AliAuthModel class
登录窗口配置
Constructors
-
AliAuthModel(String? androidSk, String? iosSk, {bool? isDebug = true, bool? isDelay = false, PageType? pageType = PageType.fullPort, int? privacyOffsetX, String? statusBarColor, bool? lightColor, bool? isStatusBarHidden, UIFAG? statusBarUIFlag, CustomView? customReturnBtn, String? logoImgPath, bool? logoHidden, String? numberColor, int? numberSize, bool? switchAccHidden, bool? switchCheck, String? switchAccTextColor, String? logBtnText, int? logBtnTextSize, String? logBtnTextColor, String? protocolOneName, String? protocolOneURL, String? protocolTwoName, String? protocolTwoURL, String? protocolThreeName, String? protocolThreeURL, String? protocolCustomColor, String? protocolColor, Gravity? protocolLayoutGravity, String? sloganTextColor, String? protocolOwnColor, String? protocolOwnOneColor, String? protocolOwnTwoColor, String? protocolOwnThreeColor, String? sloganText, String? logBtnBackgroundPath, String? loadingImgPath, int? sloganOffsetY, int? logoOffsetY, int? logoOffsetY_B, ScaleType? logoScaleType, int? numFieldOffsetY, int? numFieldOffsetY_B, int? numberFieldOffsetX, Gravity? numberLayoutGravity, int? switchOffsetY, int? switchOffsetY_B, int? logBtnOffsetY, int? logBtnOffsetY_B, int? logBtnWidth, int? logBtnHeight, int? logBtnOffsetX, int? logBtnMarginLeftAndRight, Gravity? logBtnLayoutGravity, int? privacyOffsetY, int? privacyOffsetY_B, int? sloganOffsetY_B, int? checkBoxWidth, int? checkBoxHeight, bool? checkboxHidden, int? logoWidth, int? logoHeight, int? switchAccTextSize, String? switchAccText, int? sloganTextSize, bool? sloganHidden, String? uncheckedImgPath, String? checkedImgPath, bool? privacyState = false, Gravity? protocolGravity, int? privacyTextSize, int? privacyMargin, String? privacyBefore, String? privacyEnd, String? vendorPrivacyPrefix, String? vendorPrivacySuffix, bool? tapAuthPageMaskClosePage = false, int? dialogWidth, int? dialogHeight, bool? dialogBottom, int? dialogOffsetX, int? dialogOffsetY, List<
int> ? dialogCornerRadiusArray, int? pageBackgroundRadius, String? webViewStatusBarColor, bool? webSupportedJavascript, String? authPageActIn, String? activityOut, String? authPageActOut, String? activityIn, int? screenOrientation, bool? logBtnToastHidden, double? dialogAlpha, int? privacyOperatorIndex, List<String> ? privacyConectTexts, String? protocolAction, String? packageName, String? loadingBackgroundPath, bool? isHiddenLoading, bool? isHiddenCustom, CustomThirdView? customThirdView, String? backgroundColor, String? pageBackgroundPath = "assets/background_image.jpeg", ContentMode? backgroundImageContentMode = ContentMode.scaleAspectFill, bool? alertBarIsHidden, String? alertTitleBarColor, bool? alertCloseItemIsHidden, String? alertCloseImagePath, int? alertCloseImageX, int? alertCloseImageY, int? alertCloseImageW, int? alertCloseImageH, String? alertBlurViewColor, double? alertBlurViewAlpha, PNSPresentationDirection? presentDirection, bool? privacyAlertIsNeedShow = false, bool? privacyAlertIsNeedAutoLogin = true, bool privacyAlertMaskIsNeedShow = true, double privacyAlertMaskAlpha = 0.5, String? privacyAlertMaskColor, double privacyAlertAlpha = 1, String? privacyAlertBackgroundColor, String? privacyAlertEntryAnimation, String? privacyAlertExitAnimation, List<int> ? privacyAlertCornerRadiusArray, Gravity? privacyAlertAlignment, int? privacyAlertWidth, int? privacyAlertHeight, int? privacyAlertOffsetX, int? privacyAlertOffsetY, String? privacyAlertTitleContent, String? privacyAlertTitleBackgroundColor, Gravity? privacyAlertTitleAlignment, int? privacyAlertTitleOffsetX, int? privacyAlertTitleOffsetY, int? privacyAlertTitleTextSize = 18, String? privacyAlertTitleColor, String? privacyAlertContentBackgroundColor, int? privacyAlertContentTextSize = 16, Gravity? privacyAlertContentAlignment, String? privacyAlertContentColor, String? privacyAlertContentBaseColor, bool? privacyAlertProtocolNameUseUnderLine = false, int? privacyAlertContentHorizontalMargin, int? privacyAlertContentVerticalMargin, String? privacyAlertBtnBackgroundImgPath, String? privacyAlertBefore, String? privacyAlertEnd, String? privacyAlertBtnText, String? privacyAlertBtnTextColor, int? privacyAlertBtnTextSize = 18, int? privacyAlertBtnWidth, int? privacyAlertBtnHeigth, bool? privacyAlertCloseBtnShow = true, String? privacyAlertCloseImagPath, ScaleType? privacyAlertCloseScaleType, int? privacyAlertCloseImgWidth, int? privacyAlertCloseImgHeight, String? privacyAlertOwnOneColor, String? privacyAlertOwnTwoColor, String? privacyAlertOwnThreeColor, String? privacyAlertOperatorColor, bool tapPrivacyAlertMaskCloseAlert = true, bool? autoQuitPage = true, bool? isHideToast = false, String? toastText = '请先阅读用户协议', String? toastBackground = '#FF000000', String? toastColor = '#FFFFFFFF', int? toastPadding = 9, int? toastMarginTop = 0, int? toastMarginBottom = 0, String? toastPositionMode = 'bottom', int? toastDelay = 3})
Properties
- activityIn ↔ String?
-
getter/setter pair
- activityOut ↔ String?
-
getter/setter pair
- alertBarIsHidden ↔ bool?
-
/// ------- 十一、ios 弹窗设置参数 --------- ///
是否隐藏bar bar 为true 时 alertCloseItemIsHidden 也为true
getter/setter pair
- alertBlurViewAlpha ↔ double?
-
底部蒙层背景透明度,默认0.5 0 ~ 1
getter/setter pair
- alertBlurViewColor ↔ String?
-
底部蒙层背景颜色,默认黑色
getter/setter pair
- alertCloseImageH ↔ int?
-
关闭按钮的图片高度
getter/setter pair
- alertCloseImagePath ↔ String?
-
关闭按钮的图片路径
getter/setter pair
- alertCloseImageW ↔ int?
-
关闭按钮的图片宽度
getter/setter pair
- alertCloseImageX ↔ int?
-
关闭按钮的图片X坐标
getter/setter pair
- alertCloseImageY ↔ int?
-
关闭按钮的图片Y坐标
getter/setter pair
- alertCloseItemIsHidden ↔ bool?
-
bar的关闭按钮
getter/setter pair
- alertTitleBarColor ↔ String?
-
bar的背景色 默认颜色为白色 #FFFFFF
getter/setter pair
- androidSk ↔ String?
-
aliyun sk
getter/setter pair
- authPageActIn ↔ String?
-
getter/setter pair
- authPageActOut ↔ String?
-
getter/setter pair
- autoQuitPage ↔ bool?
-
成功获取token后是否自动关闭授权页面
getter/setter pair
- backgroundColor ↔ String?
-
授权页面背景色
getter/setter pair
- backgroundImageContentMode ↔ ContentMode?
-
getter/setter pair
-
底部虚拟导航栏
getter/setter pair
-
设置底部虚拟按键背景⾊(系统版本 5.0 以上可设置)
getter/setter pair
- checkBoxHeight ↔ int?
-
复选框图片的高度
getter/setter pair
- checkboxHidden ↔ bool?
-
设置复选框是否隐藏
getter/setter pair
- checkBoxWidth ↔ int?
-
复选框图片的宽度
getter/setter pair
- checkedImgPath ↔ String?
-
设置复选框未选中时图片
getter/setter pair
- customReturnBtn ↔ CustomView?
-
自定义返回按钮参数
getter/setter pair
- customThirdView ↔ CustomThirdView?
-
第三方图标相关参数只对iOS有效,android 请使用布局文件实现
第三方图标按钮居中布局
第三方布局图片路径
getter/setter pair
- dialogAlpha ↔ double?
-
getter/setter pair
- dialogBottom ↔ bool?
-
是否是底部弹窗默认false
getter/setter pair
-
dialogCornerRadiusArray
↔ List<
int> ? -
getter/setter pair
- dialogHeight ↔ int?
-
弹窗高度
getter/setter pair
- dialogOffsetX ↔ int?
-
getter/setter pair
- dialogOffsetY ↔ int?
-
getter/setter pair
- dialogWidth ↔ int?
-
弹窗宽度
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosSk ↔ String?
-
aliyun sk
getter/setter pair
- isDebug ↔ bool?
-
是否开启debug模式
getter/setter pair
- isDelay ↔ bool?
-
是否延迟
getter/setter pair
- isHiddenCustom ↔ bool?
-
------- 八、自定义控件区 --------- ///
是否隐藏第三方布局
getter/setter pair
- isHiddenLoading ↔ bool?
-
是否隐藏loading
getter/setter pair
- isHideToast ↔ bool?
-
/// ------- 十三、toast设置 --------- ///
为勾选用户协议时的提示文字
getter/setter pair
- isStatusBarHidden ↔ bool?
-
设置状态栏是否隐藏
getter/setter pair
- lightColor ↔ bool?
-
设置状态栏文字颜色(系统版本6.0以上可设置黑色白色),true为黑色
getter/setter pair
- loadingBackgroundPath ↔ String?
-
getter/setter pair
- loadingImgPath ↔ String?
-
设置登录loading dialog 背景图⽚路径24
getter/setter pair
- logBtnBackgroundPath ↔ String?
-
login_btn_bg_xml
设置登录按钮背景图⽚路径 是一个逗号拼接的图片路径 例如:'assets/login_btn_normal.png,assets/login_btn_unable.png,assets/login_btn_press.png'
如果设置错误或者找不到图片则使用默认样式
getter/setter pair
- logBtnHeight ↔ int?
-
设置登录按钮⾼度,单位dp
getter/setter pair
- logBtnLayoutGravity ↔ Gravity?
-
设置登陆按钮布局对⻬⽅式,
只⽀持Gravity.CENTER_HORIZONTAL、
Gravity.LEFT、
Gravity.RIGHT三种对⻬⽅式
getter/setter pair
- logBtnMarginLeftAndRight ↔ int?
-
设置登录按钮相对于屏幕左右边缘边距
getter/setter pair
- logBtnOffsetX ↔ int?
-
设置登陆按钮X轴偏移量,如果设置了setLogBtnMarginLeftAndRight,并且布局对⻬⽅式为左对⻬或者右对⻬,则会在margin的基础上再增加offsetX的偏移量,如果是居中对⻬,则仅仅会在居中的基础上再做offsetX的偏移。
getter/setter pair
- logBtnOffsetY ↔ int?
-
设置登录按钮相对导航栏顶部的位移,单位 dp
getter/setter pair
- logBtnOffsetY_B ↔ int?
-
设置登录按钮相对底部的位移,单位 dp
getter/setter pair
- logBtnText ↔ String?
-
------- 六、登录按钮 --------- ///
设置登录按钮⽂字
getter/setter pair
- logBtnTextColor ↔ String?
-
设置登录按钮⽂字颜⾊
getter/setter pair
- logBtnTextSize ↔ int?
-
设置登录按钮⽂字⼤⼩
@Deprecated("即将删除的属性......")
getter/setter pair
- logBtnToastHidden ↔ bool?
-
设置checkbox未勾选时,点击登录按钮toast是否隐藏 (android 独有)
getter/setter pair
- logBtnWidth ↔ int?
-
设置登录按钮宽度,单位 dp
getter/setter pair
- logoHeight ↔ int?
-
设置logo 控件⾼度
getter/setter pair
- logoHidden ↔ bool?
-
隐藏logo
getter/setter pair
- logoImgPath ↔ String?
-
------- 三、LOGO区 --------- ///
设置logo 图⽚
getter/setter pair
- logoOffsetY ↔ int?
-
设置logo 控件相对导航栏顶部的位移,单位dp
getter/setter pair
- logoOffsetY_B ↔ int?
-
设置logo 控件相对底部的位移,单位dp
getter/setter pair
- logoScaleType ↔ ScaleType?
-
设置logo图⽚缩放模式
FIT_XY,
FIT_START,
FIT_CENTER,
FIT_END,
CENTER,
CENTER_CROP,
CENTER_INSIDE
getter/setter pair
- logoWidth ↔ int?
-
设置logo 控件宽度
getter/setter pair
-
设置导航栏主题色
getter/setter pair
-
------- 二、导航栏 --------- ///
设置默认导航栏是否隐藏
getter/setter pair
-
设置导航栏返回按钮隐藏
getter/setter pair
-
设置导航栏返回按钮隐藏高度
getter/setter pair
-
设置导航栏返回按钮图片路径
getter/setter pair
-
设置导航栏返回按钮宽度
getter/setter pair
-
设置导航栏返回按钮缩放模式
getter/setter pair
-
设置导航栏标题文案内容
getter/setter pair
-
设置导航栏标题文字颜色
getter/setter pair
-
设置导航栏标题文字大小
@Deprecated("即将删除的属性......")
getter/setter pair
- numberColor ↔ String?
-
------- 五、掩码栏 --------- ///
设置⼿机号码字体颜⾊
getter/setter pair
- numberFieldOffsetX ↔ int?
-
设置号码栏相对于默认位置的X轴偏移量,单位dp
getter/setter pair
- numberLayoutGravity ↔ Gravity?
-
设置⼿机号掩码的布局对⻬⽅式,只⽀持
Gravity.CENTER_HORIZONTAL、
Gravity.LEFT、
Gravity.RIGHT三种对⻬⽅式
getter/setter pair
- numberSize ↔ int?
-
设置⼿机号码字体⼤⼩
@Deprecated("即将删除的属性......")
getter/setter pair
- numFieldOffsetY ↔ int?
-
设置号码栏控件相对导航栏顶部的位移,单位 dp
getter/setter pair
- numFieldOffsetY_B ↔ int?
-
设置号码栏控件相对底部的位移,单位 dp
getter/setter pair
- packageName ↔ String?
-
包名
getter/setter pair
- pageBackgroundPath ↔ String?
-
授权页面背景路径支持视频mp4,mov等、图片jpeg,jpg,png等、动图gif
getter/setter pair
- pageBackgroundRadius ↔ int?
-
背景图片圆角
dialog安卓端有效 iOS无效
getter/setter pair
- pageType ↔ PageType?
-
页面类型 必须
getter/setter pair
- presentDirection ↔ PNSPresentationDirection?
-
getter/setter pair
- privacyAlertAlignment ↔ Gravity?
-
设置屏幕居中、居上、居下、居左、居右,默认居中显示。
getter/setter pair
- privacyAlertAlpha ↔ double
-
设置二次隐私协议弹窗透明度。默认值1.0。
getter/setter pair
- privacyAlertBackgroundColor ↔ String?
-
设置二次隐私协议弹窗背景色(同意并继续按钮区域)。
getter/setter pair
- privacyAlertBefore ↔ String?
-
二次弹窗协议前缀。
getter/setter pair
- privacyAlertBtnBackgroundImgPath ↔ String?
-
设置按钮背景图片路径。
getter/setter pair
- privacyAlertBtnHeigth ↔ int?
-
设置按钮高度。(单位:dp)
getter/setter pair
- privacyAlertBtnText ↔ String?
-
设置确认按钮文本。
getter/setter pair
- privacyAlertBtnTextColor ↔ String?
-
设置按钮文字颜色。
getter/setter pair
- privacyAlertBtnTextSize ↔ int?
-
设置按钮文字大小,默认值18 sp。
getter/setter pair
- privacyAlertBtnWidth ↔ int?
-
设置按钮宽度。(单位:dp)
getter/setter pair
- privacyAlertCloseBtnShow ↔ bool?
-
设置右上角的关闭按钮。true(默认值):显示关闭按钮。
getter/setter pair
- privacyAlertCloseImagPath ↔ String?
-
关闭按钮图片路径。
getter/setter pair
- privacyAlertCloseImgHeight ↔ int?
-
关闭按钮高度。(单位:dp)
getter/setter pair
- privacyAlertCloseImgWidth ↔ int?
-
关闭按钮宽度。(单位:dp)
getter/setter pair
- privacyAlertCloseScaleType ↔ ScaleType?
-
关闭按钮缩放类型。
getter/setter pair
- privacyAlertContentAlignment ↔ Gravity?
-
设置二次隐私协议弹窗协议文案支持居中、居左,默认居左显示。
getter/setter pair
- privacyAlertContentBackgroundColor ↔ String?
-
设置协议内容背景颜色。
getter/setter pair
- privacyAlertContentBaseColor ↔ String?
-
设置服务协议非协议文字颜色。
getter/setter pair
- privacyAlertContentColor ↔ String?
-
设置服务协议文字颜色。
getter/setter pair
- privacyAlertContentHorizontalMargin ↔ int?
-
设置服务协议左右两侧间距。
getter/setter pair
- privacyAlertContentTextSize ↔ int?
-
设置服务协议文字大小,默认值16 sp。
getter/setter pair
- privacyAlertContentVerticalMargin ↔ int?
-
设置服务协议上下间距。
getter/setter pair
-
privacyAlertCornerRadiusArray
↔ List<
int> ? -
设置二次隐私协议弹窗的四个圆角值。说明 顺序为左上、右上、右下、左下,需要填充4个值,不足4个值则无效,如果值小于等于0则为直角。
getter/setter pair
- privacyAlertEnd ↔ String?
-
二次弹窗协议后缀。
getter/setter pair
- privacyAlertEntryAnimation ↔ String?
-
设置二次隐私协议弹窗显示自定义动画。
getter/setter pair
- privacyAlertExitAnimation ↔ String?
-
设置二次隐私协议弹窗隐藏自定义动画。
getter/setter pair
- privacyAlertHeight ↔ int?
-
设置弹窗高度。
getter/setter pair
- privacyAlertIsNeedAutoLogin ↔ bool?
-
设置二次隐私协议弹窗点击按钮是否需要执行登录 true(默认值)
getter/setter pair
- privacyAlertIsNeedShow ↔ bool?
-
/// ------- 十二、二次弹窗设置 --------- ///
设置二次隐私协议弹窗是否需要显示。false(默认值)
getter/setter pair
- privacyAlertMaskAlpha ↔ double
-
设置二次隐私协议弹窗蒙层透明度。默认值0.3
getter/setter pair
- privacyAlertMaskColor ↔ String?
-
蒙层颜色。
getter/setter pair
- privacyAlertMaskIsNeedShow ↔ bool
-
设置二次隐私协议弹窗背景蒙层是否显示。true(默认值)
getter/setter pair
- privacyAlertOffsetX ↔ int?
-
设置弹窗水平偏移量。(单位:dp)
getter/setter pair
- privacyAlertOffsetY ↔ int?
-
设置弹窗竖直偏移量。(单位:dp)
getter/setter pair
- privacyAlertOperatorColor ↔ String?
-
设置授权页运营商协议文本颜色。
getter/setter pair
- privacyAlertOwnOneColor ↔ String?
-
设置授权页协议1文本颜色。
getter/setter pair
- privacyAlertOwnThreeColor ↔ String?
-
设置授权页协议3文本颜色。
getter/setter pair
- privacyAlertOwnTwoColor ↔ String?
-
设置授权页协议2文本颜色。
getter/setter pair
- privacyAlertProtocolNameUseUnderLine ↔ bool?
-
二次弹窗协议名称是否添加下划线, 默认false
getter/setter pair
- privacyAlertTitleAlignment ↔ Gravity?
-
设置二次隐私协议弹窗标题支持居中、居左,默认居中显示。
getter/setter pair
- privacyAlertTitleBackgroundColor ↔ String?
-
设置二次隐私协议弹窗标题背景颜色。
getter/setter pair
- privacyAlertTitleColor ↔ String?
-
设置标题文字颜色。
getter/setter pair
- privacyAlertTitleContent ↔ String?
-
二次隐私协议弹窗标题文字内容默认"请阅读并同意以下条款"
getter/setter pair
- privacyAlertTitleOffsetX ↔ int?
-
设置标题文字水平偏移量。(单位:dp)
getter/setter pair
- privacyAlertTitleOffsetY ↔ int?
-
设置标题文字竖直偏移量。(单位:dp)
getter/setter pair
- privacyAlertTitleTextSize ↔ int?
-
设置标题文字大小,默认值18 sp。
getter/setter pair
- privacyAlertWidth ↔ int?
-
设置弹窗宽度。
getter/setter pair
- privacyBefore ↔ String?
-
设置开发者隐私条款前置自定义文案
getter/setter pair
-
privacyConectTexts
↔ List<
String> ? -
getter/setter pair
- privacyEnd ↔ String?
-
设置开发者隐私条款尾部自定义文案
getter/setter pair
- privacyMargin ↔ int?
-
设置隐私条款距离手机左右边缘的边距,单位dp
getter/setter pair
- privacyOffsetX ↔ int?
-
设置隐私条款X的位移,单位dp
getter/setter pair
- privacyOffsetY ↔ int?
-
------- 十、其它全屏属性 --------- ///
设置隐私条款相对导航栏顶部的位移,单位dp
getter/setter pair
- privacyOffsetY_B ↔ int?
-
设置隐私条款相对底部的位移,单位dp
getter/setter pair
- privacyOperatorIndex ↔ int?
-
getter/setter pair
- privacyState ↔ bool?
-
设置隐私条款是否默认勾选
getter/setter pair
- privacyTextSize ↔ int?
-
设置隐私条款文字大小
getter/setter pair
- protocolAction ↔ String?
-
暴露名
getter/setter pair
- protocolColor ↔ String?
-
基础文字颜色
getter/setter pair
- protocolCustomColor ↔ String?
-
自定义协议名称颜色
getter/setter pair
- protocolGravity ↔ Gravity?
-
设置隐私栏的布局对齐方式,该接口控制了整个隐私栏
getter/setter pair
- protocolLayoutGravity ↔ Gravity?
-
设置隐私条款文字对齐方式,单位Gravity.xx
getter/setter pair
- protocolOneName ↔ String?
-
------- 九、协议栏 --------- ///
自定义第一条名称
getter/setter pair
- protocolOneURL ↔ String?
-
自定义第一条url
getter/setter pair
- protocolOwnColor ↔ String?
-
设置授权页运营商协议文本颜色。
getter/setter pair
- protocolOwnOneColor ↔ String?
-
设置授权页协议1文本颜色。
getter/setter pair
- protocolOwnThreeColor ↔ String?
-
授权页协议3文本颜色。
getter/setter pair
- protocolOwnTwoColor ↔ String?
-
授权页协议2文本颜色。
getter/setter pair
- protocolThreeName ↔ String?
-
自定义第三条名称
getter/setter pair
- protocolThreeURL ↔ String?
-
自定义第三条url
getter/setter pair
- protocolTwoName ↔ String?
-
自定义第二条名称
getter/setter pair
- protocolTwoURL ↔ String?
-
自定义第二条url
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenOrientation ↔ int?
-
getter/setter pair
- sloganHidden ↔ bool?
-
------- 四、slogan区 --------- ///
设置是否隐藏slogan
getter/setter pair
- sloganOffsetY ↔ int?
-
设置slogan 相对导航栏顶部的 位移,单位dp
getter/setter pair
- sloganOffsetY_B ↔ int?
-
设置slogan 相对底部的 位移,单位dp
getter/setter pair
- sloganText ↔ String?
-
设置slogan ⽂字内容
getter/setter pair
- sloganTextColor ↔ String?
-
设置slogan ⽂字颜⾊
getter/setter pair
- sloganTextSize ↔ int?
-
设置slogan ⽂字⼤⼩
@Deprecated("即将删除的属性......")
getter/setter pair
- statusBarColor ↔ String?
-
------- 一、状态栏 --------- ///
statusBarColor 设置状态栏颜⾊(系统版本 5.0 以上可设置)
getter/setter pair
- statusBarUIFlag ↔ UIFAG?
-
设置状态栏U属性
getter/setter pair
- switchAccHidden ↔ bool?
-
------- 七、切换到其他方式 --------- ///
设置切换按钮点是否可⻅
getter/setter pair
- switchAccText ↔ String?
-
设置切换按钮⽂字内容
getter/setter pair
- switchAccTextColor ↔ String?
-
设置切换按钮⽂字颜⾊
getter/setter pair
- switchAccTextSize ↔ int?
-
设置切换按钮⽂字⼤⼩
@Deprecated("即将删除的属性......")
getter/setter pair
- switchCheck ↔ bool?
-
是否需要点击切换按钮时校验是否勾选协议 默认值true
getter/setter pair
- switchOffsetY ↔ int?
-
设置换按钮相对导航栏顶部的位移,单位 dp
getter/setter pair
- switchOffsetY_B ↔ int?
-
设置换按钮相对底部的位移,单位 dp
getter/setter pair
- tapAuthPageMaskClosePage ↔ bool?
-
授权页弹窗模式点击非弹窗区域关闭授权页
getter/setter pair
- tapPrivacyAlertMaskCloseAlert ↔ bool
-
设置二次隐私协议弹窗点击背景蒙层是否关闭弹窗。true(默认值):表示关闭
getter/setter pair
- toastBackground ↔ String?
-
toast的背景色
getter/setter pair
- toastColor ↔ String?
-
文字颜色
getter/setter pair
- toastDelay ↔ int?
-
关闭的时长 默认3s
getter/setter pair
- toastMarginBottom ↔ int?
-
只有设置mode为bottom时才起作用,距离低部的距离
getter/setter pair
- toastMarginTop ↔ int?
-
只有设置mode为top时才起作用,距离顶部的距离
getter/setter pair
- toastPadding ↔ int?
-
toast的padding
getter/setter pair
- toastPositionMode ↔ String?
-
toast的显示位置可用值 top、center、bottom
getter/setter pair
- toastText ↔ String?
-
为勾选用户协议时的提示文字
getter/setter pair
- uncheckedImgPath ↔ String?
-
设置复选框未选中时图片
getter/setter pair
- vendorPrivacyPrefix ↔ String?
-
设置运营商协议后缀符号,只能设置⼀个字符,且只能设置<>()《》【】『』[]()中的⼀个
getter/setter pair
- vendorPrivacySuffix ↔ String?
-
设置运营商协议后缀符号,只能设置⼀个字符,且只能设置<>()《》【】『』[]()中的⼀个
getter/setter pair
-
设置协议页顶部导航栏背景色不设置则与授权页设置一致
getter/setter pair
-
设置协议页导航栏返回按钮图片路径不设置则与授权页设
getter/setter pair
-
设置协议页顶部导航栏标题颜色不设置则与授权页设置一致
getter/setter pair
-
设置协议页顶部导航栏文字大小不设置则与授权页设置一
getter/setter pair
- webSupportedJavascript ↔ bool?
-
getter/setter pair
- webViewStatusBarColor ↔ String?
-
设置协议⻚状态栏颜⾊(系统版本 5.0 以上可设置)不设置则与授权⻚设置⼀致
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited