PlatformDetectByName constructor
const
PlatformDetectByName({
- Key? key,
- Widget? android = const SizedBox(),
- Widget? webAndroid = const SizedBox(),
- Widget? iOS = const SizedBox(),
- Widget? webIOS = const SizedBox(),
- Widget? macOs = const SizedBox(),
- Widget? webMacOs = const SizedBox(),
- Widget? windows = const SizedBox(),
- Widget? webWindows = const SizedBox(),
- Widget? linux = const SizedBox(),
- Widget? webLinux = const SizedBox(),
Implementation
const PlatformDetectByName({
Key? key,
this.android = const SizedBox(),
this.webAndroid = const SizedBox(),
this.iOS = const SizedBox(),
this.webIOS = const SizedBox(),
this.macOs = const SizedBox(),
this.webMacOs = const SizedBox(),
this.windows = const SizedBox(),
this.webWindows = const SizedBox(),
this.linux = const SizedBox(),
this.webLinux = const SizedBox(),
}) : super(key: key);