$declaration constant

BridgeClassDef const $declaration

Compile-time bridge class definition for $ClipRRect

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('borderRadius',
                BridgeTypeAnnotation($BorderRadius.$type), false),
            BridgeParameter(
                'clipBehavior', BridgeTypeAnnotation($Clip.$type), false),
            BridgeParameter(
                'child', BridgeTypeAnnotation($Widget.$type), true),
          ]))
    },
    wrap: true);