PhotosensitiveDisclaimerScreen constructor

const PhotosensitiveDisclaimerScreen({
  1. Key? key,
  2. required void onAccept(),
  3. String title = "Photosensitive Warning",
  4. String text = "This app contains animations that might trigger an epileptic seizure in some circumstances.",
  5. String buttonText = "Okay",
})

Implementation

const PhotosensitiveDisclaimerScreen({
  Key? key,
  required this.onAccept,
  this.title = "Photosensitive Warning",
  this.text =
      "This app contains animations that might trigger an epileptic seizure in some circumstances.",
  this.buttonText = "Okay",
}) : super(key: key);