$declaration constant

BridgeClassDef const $declaration

Compile-time bridge class definition for $Stack

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('alignment',
                BridgeTypeAnnotation($AlignmentGeometry.$type), true),
            BridgeParameter('textDirection',
                BridgeTypeAnnotation($TextDirection.$type), true),
            BridgeParameter(
                'fit', BridgeTypeAnnotation($StackFit.$type), true),
            BridgeParameter(
                'children',
                BridgeTypeAnnotation(
                    BridgeTypeRef(CoreTypes.list, [$Widget.$type])),
                true),
          ]))
    },
    wrap: true);