MistyViewModel class

Constructors

MistyViewModel({required String url, bool showBar = false, bool showTitle = false, String? title, bool showMoreBtn = true, Function? moreFunc, Function? closeFunc, Widget? bottomNav, int? milliseconds})

Properties

bottomNav Widget?
底部导航Widget,默认为null,不显示
getter/setter pair
closeFunc Function?
关闭按钮回调
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logo 默认为misty Icon, 用于资源首次加载时加载效果
getter/setter pair
milliseconds int?
loading time 默认为2秒,logo到打开页面展示的时间
getter/setter pair
moreFunc Function?
更多按钮事件
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBar bool
是否显示bar
getter/setter pair
showMoreBtn bool
是否显示更多按钮
getter/setter pair
showTitle bool
是否显示标题
getter/setter pair
title String?
标题名称,默认为App title
getter/setter pair
url String
打开程序地址
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited