SpaceJamPage constructor

const SpaceJamPage({
  1. required List children,
  2. required String title,
  3. String? subtitle,
  4. String animated = "system",
  5. bool? haptics = true,
  6. Locale? locale,
  7. Key? key,
  8. SpaceJamAppBarAction? appBarLeftAction,
  9. SpaceJamAppBarAction? appBarRightAction,
})

Constructor

Implementation

const SpaceJamPage({
  required this.children,
  required this.title,
  this.subtitle,
  this.animated = "system",
  this.haptics = true,
  this.locale,
  Key? key,
  this.appBarLeftAction,
  this.appBarRightAction,
})  : assert(
        animated == "system" || animated == "on" || animated == "off",
        'The property animated should be "system", "on" or "off". '
        'Got "$animated".',
      ),
      super(key: key);