$declaration constant
BridgeClassDef
const $declaration
dart_eval bridge declaration for DragEndDetails
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type, isAbstract: false),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type),
namedParams: [
BridgeParameter(
'velocity', BridgeTypeAnnotation($Velocity.$type), true),
BridgeParameter(
'primaryVelocity',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
nullable: true),
true),
]))
},
getters: {
'velocity': BridgeMethodDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($Velocity.$type))),
'primaryVelocity': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
nullable: true))),
},
wrap: true);