$declaration constant
BridgeClassDef
const $declaration
Compile-time bridge class definition for $Align
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type, isAbstract: false, $extends: $Widget.$type),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type),
namedParams: [
BridgeParameter('key',
BridgeTypeAnnotation($Key.$type, nullable: true), true),
BridgeParameter(
'alignment', BridgeTypeAnnotation($Alignment.$type), false),
BridgeParameter('widthFactor',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), true),
BridgeParameter('heightFactor',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), true),
BridgeParameter(
'child', BridgeTypeAnnotation($Widget.$type), true),
]))
},
wrap: true);