PlaybookShot.native constructor

const PlaybookShot.native({
  1. required String id,
  2. required String? name,
  3. String? locale,
  4. String? theme,
})

Creates a shot Metro took with the iOS Simulator or adb, for a screenshot() step. Metro saved the PNG itself.

Implementation

const PlaybookShot.native({
  required this.id,
  required this.name,
  this.locale,
  this.theme,
}) : kind = PlaybookShotKind.marked,
     screenshot = null,
     store = null,
     nativeFallback = null;