PlatformDetectByName constructor

const PlatformDetectByName({
  1. Key? key,
  2. Widget? android = const SizedBox(),
  3. Widget? webAndroid = const SizedBox(),
  4. Widget? iOS = const SizedBox(),
  5. Widget? webIOS = const SizedBox(),
  6. Widget? macOs = const SizedBox(),
  7. Widget? webMacOs = const SizedBox(),
  8. Widget? windows = const SizedBox(),
  9. Widget? webWindows = const SizedBox(),
  10. Widget? linux = const SizedBox(),
  11. 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);