FlexAdaptive.apple constructor

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

Use the adaptive feature on Apple operating system iOS and macOS, but not when using the app on web browsers builds on iOS and macOS.

The rationale fot this config, you want the adaptive feature on Apple devices, but not when it is used in a a browser, in the browser you want the feature in its default setup.

Implementation

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