$declaration constant
BridgeClassDef
const $declaration
Bridge class definition for $MaterialApp
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type, isAbstract: false, $extends: $WidgetsApp.$type),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type),
namedParams: [
BridgeParameter('key',
BridgeTypeAnnotation($Key.$type, nullable: true), true),
BridgeParameter('navigatorKey',
BridgeTypeAnnotation($Key.$type, nullable: true), true),
BridgeParameter('home',
BridgeTypeAnnotation($Widget.$type, nullable: true), true),
BridgeParameter(
'routes',
BridgeTypeAnnotation(
BridgeTypeRef(BridgeTypeSpec('dart:core', 'Map'))),
true),
BridgeParameter(
'initialRoute',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string),
nullable: true),
true),
BridgeParameter(
'onUnknownRoute',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function),
nullable: true),
true),
BridgeParameter(
'builder',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function),
nullable: true),
true),
BridgeParameter('title',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)), true),
BridgeParameter(
'onGenerateTitle',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function),
nullable: true),
true),
BridgeParameter('color',
BridgeTypeAnnotation($Color.$type, nullable: true), true),
BridgeParameter('theme',
BridgeTypeAnnotation($ThemeData.$type, nullable: true), true),
BridgeParameter('darkTheme',
BridgeTypeAnnotation($ThemeData.$type, nullable: true), true),
BridgeParameter('debugShowMaterialGrid',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
BridgeParameter('showPerformanceOverlay',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
BridgeParameter('checkerboardRasterCacheImages',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
BridgeParameter('checkerboardOffscreenLayers',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
BridgeParameter('debugShowCheckedModeBanner',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true)
]))
},
wrap: true);