$declaration constant
BridgeClassDef
const $declaration
dart_eval bridge declaration for DragUpdateDetails
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type, isAbstract: false),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type),
namedParams: [
BridgeParameter('sourceTimeStamp',
BridgeTypeAnnotation($Duration.$type, nullable: true), true),
BridgeParameter(
'delta', BridgeTypeAnnotation($Offset.$type), true),
BridgeParameter(
'primaryDelta',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
nullable: true),
true),
BridgeParameter(
'globalPosition', BridgeTypeAnnotation($Offset.$type), false),
BridgeParameter('localPosition',
BridgeTypeAnnotation($Offset.$type, nullable: true), true),
]))
},
getters: {
'sourceTimeStamp': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($Duration.$type, nullable: true))),
'delta': BridgeMethodDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($Offset.$type))),
'primaryDelta': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
nullable: true))),
'globalPosition': BridgeMethodDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($Offset.$type))),
'localPosition': BridgeMethodDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($Offset.$type))),
},
wrap: true);