FlexAdaptive.desktop constructor

const FlexAdaptive.desktop({
  1. bool android = false,
  2. bool androidWeb = false,
  3. bool fuchsia = false,
  4. bool fuchsiaWeb = false,
  5. bool iOS = false,
  6. bool iOSWeb = false,
  7. bool linux = true,
  8. bool linuxWeb = true,
  9. bool macOS = true,
  10. bool macOSWeb = true,
  11. bool windows = true,
  12. bool windowsWeb = true,
  13. bool? overrideIsWeb,
})

Use the adaptive feature on desktop operating systems Windows, macOS and linux and also when using the app in their desktop web browsers.

Implementation

const FlexAdaptive.desktop({
  this.android = false,
  this.androidWeb = false,
  this.fuchsia = false,
  this.fuchsiaWeb = false,
  this.iOS = false,
  this.iOSWeb = false,
  this.linux = true,
  this.linuxWeb = true,
  this.macOS = true,
  this.macOSWeb = true,
  this.windows = true,
  this.windowsWeb = true,
  this.overrideIsWeb,
});