$declaration constant
BridgeClassDef
const $declaration
State compile-type class declaration for dart_eval
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type,
$extends: $Widget.$type,
isAbstract: true,
generics: {
'T': BridgeGenericParam($extends: $StatefulWidget$bridge.$type)
}),
constructors: {
'': BridgeConstructorDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($type)))
},
methods: {
'setState': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)),
params: [
BridgeParameter(
'fn',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function)),
false)
])),
'initState': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)))),
'dispose': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)))),
'build': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($Widget.$type),
params: [
BridgeParameter(
'context', BridgeTypeAnnotation($BuildContext.$type), false)
])),
},
getters: {
'widget': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef.ref('T')))),
},
bridge: true);