$declaration constant

BridgeClassDef const $declaration

dart_eval compile-time class declaration for Text

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type, $extends: $StatelessWidget$bridge.$type),
    constructors: {
      '': BridgeConstructorDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($type), params: [
        BridgeParameter('data',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)), false),
      ], namedParams: [
        BridgeParameter(
            'key', BridgeTypeAnnotation($Key.$type, nullable: true), true),
        BridgeParameter('style',
            BridgeTypeAnnotation($TextStyle.$type, nullable: true), true),
      ]))
    },
    wrap: true);