$declaration constant

BridgeClassDef const $declaration

dart_eval compile-time class declaration for Icon

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type,
        isAbstract: false, $extends: $StatelessWidget$bridge.$type),
    constructors: {
      '': BridgeConstructorDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($type), params: [
        BridgeParameter('icon', BridgeTypeAnnotation($IconData.$type), false),
      ], namedParams: [
        BridgeParameter(
            'key', BridgeTypeAnnotation($Key.$type, nullable: true), true),
        BridgeParameter('size',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), true),
        BridgeParameter('color',
            BridgeTypeAnnotation($Color.$type, nullable: true), true),
        BridgeParameter(
            'semanticLabel',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string),
                nullable: true),
            true),
        BridgeParameter('textDirection',
            BridgeTypeAnnotation($TextDirection.$type, nullable: true), true),
      ]))
    },
    wrap: true);