$declaration constant

BridgeClassDef const $declaration

dart_eval bridge declaration for DragDownDetails

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type, isAbstract: false),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation($type),
          namedParams: [
            BridgeParameter(
                'globalPosition', BridgeTypeAnnotation($Offset.$type), false),
            BridgeParameter('localPosition',
                BridgeTypeAnnotation($Offset.$type, nullable: true), true),
          ]))
    },
    getters: {
      'globalPosition': BridgeMethodDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($Offset.$type))),
      'localPosition': BridgeMethodDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($Offset.$type))),
    },
    wrap: true);