BaseParam class
Personalization parameters specific to Base components
Constructors
-
BaseParam({Map<
String, dynamic> ? cupertino, Map<String, dynamic> ? material, Map<String, dynamic> ? android, Map<String, dynamic> ? fuchsia, Map<String, dynamic> ? iOS, Map<String, dynamic> ? linux, Map<String, dynamic> ? macOS, Map<String, dynamic> ? windows, Map<String, dynamic> ? web, Map<String, dynamic> ? others, bool forceUseMaterial = false, bool forceUseCupertino = false, bool disabledOnMaterial = false, bool disabledOnCupertino = false, bool disabledOnAndroid = false, bool disabledOnFuchsia = false, bool disabledOnIOS = false, bool disabledOnLinux = false, bool disabledOnMacOS = false, bool disabledOnWindows = false, bool disabledOnWeb = false, bool disabledOnOthers = false, bool? withoutSplashOnCupertino, bool nativeIOS = false})
Properties
-
android
→ Map<
String, dynamic> ? -
Custom params for android
final
-
cupertino
→ Map<
String, dynamic> ? -
Custom params for cupertino mode
final
- disabledOnAndroid → bool
-
在andriod下禁用,使用Container()代替
on andriod, use Container() instead
final
- disabledOnCupertino → bool
-
在cupertino模式下禁用,使用Container()代替
on cupertino's mode, use Container() instead
final
- disabledOnFuchsia → bool
-
在fuchsia下禁用,使用Container()代替
on fuchsia, use Container() instead
final
- disabledOnIOS → bool
-
在iOS下禁用,使用Container()代替
on iOS, use Container() instead
final
- disabledOnLinux → bool
-
在linux下禁用,使用Container()代替
on linux, use Container() instead
final
- disabledOnMacOS → bool
-
在macOS下禁用,使用Container()代替
on macOS, use Container() instead
final
- disabledOnMaterial → bool
-
On material mode, use Container() instead
final
- disabledOnOthers → bool
-
在others下禁用,使用Container()代替
on others platform, use Container() instead
final
- disabledOnWeb → bool
-
在web下禁用,使用Container()代替
on web, use Container() instead
final
- disabledOnWindows → bool
-
在windows下禁用,使用Container()代替
on windows, use Container() instead
final
- forceUseCupertino → bool
-
Force use cupertino mode
final
- forceUseMaterial → bool
-
Force use material mode
final
-
fuchsia
→ Map<
String, dynamic> ? -
Custom params for fuchsia
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iOS
→ Map<
String, dynamic> ? -
Custom params for iOS
final
-
linux
→ Map<
String, dynamic> ? -
Custom params for linux
final
-
macOS
→ Map<
String, dynamic> ? -
Custom params for macOS
final
-
material
→ Map<
String, dynamic> ? -
Custom params for material mode
final
- nativeIOS → bool
-
Enable native iOS Cupertino implementations
When true, uses buildByCupertinoNative() with cupertino_native components
When false, uses buildByCupertino() with Flutter's standard Cupertino widgets
This allows gradual migration to native implementations
final
-
others
→ Map<
String, dynamic> ? -
Custom params for others
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
web
→ Map<
String, dynamic> ? -
Custom params for web
final
-
windows
→ Map<
String, dynamic> ? -
Custom params for windows
final
- withoutSplashOnCupertino → bool?
-
在cupertino模式下使用material组件是否禁用水波纹
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valueOf(
String key, dynamic value) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited