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 for this config, you want the adaptive theme response on Apple devices, but not when it is used in a browser, in the browser you want the response of its default none adaptive value.

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,
});