SpaceJamTheme constructor

const SpaceJamTheme({
  1. required Widget child,
  2. Locale? locale,
  3. String? animated = "system",
  4. bool? haptics = true,
  5. Key? key,
})

Constructor

Implementation

const SpaceJamTheme({
  required Widget child,
  this.locale,
  this.animated = "system",
  this.haptics = true,
  Key? key,
})  : assert(
        animated == "system" || animated == "on" || animated == "off",
        'The property animated should be "system", "on" or "off". '
        'Got "$animated".',
      ),
      super(key: key, child: child);