$declaration constant

BridgeClassDef const $declaration

Compile-type class declaration for Card

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type,
        isAbstract: false, $extends: $StatelessWidget$bridge.$type),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation($type),
          namedParams: [
            BridgeParameter('key', BridgeTypeAnnotation($Key.$type), true),
            BridgeParameter(
                'color', BridgeTypeAnnotation($Color.$type), true),
            BridgeParameter(
                'shadowColor', BridgeTypeAnnotation($Color.$type), true),
            BridgeParameter(
                'surfaceTintColor', BridgeTypeAnnotation($Color.$type), true),
            BridgeParameter('elevation',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), true),
            BridgeParameter(
                'margin',
                BridgeTypeAnnotation($EdgeInsetsGeometry.$type,
                    nullable: true),
                true),
            BridgeParameter('clipBehavior',
                BridgeTypeAnnotation($Clip.$type, nullable: true), true),
            BridgeParameter('semanticContainer',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter(
                'child', BridgeTypeAnnotation($Widget.$type), true),
          ]))
    },
    wrap: true);