$declaration constant

BridgeClassDef const $declaration

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(
                'builder',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function)),
                true),
          ]))
    },
    wrap: true);