$declaration constant

BridgeClassDef const $declaration

Bridge class definition for $ListView

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, nullable: true), true),
            BridgeParameter(
                'scrollDirection', BridgeTypeAnnotation($Axis.$type), true),
            BridgeParameter('reverse',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('controller',
                BridgeTypeAnnotation($ScrollController.$type), true),
            BridgeParameter(
                'primary',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool),
                    nullable: true),
                true),
            //BridgeParameter('physics', BridgeTypeAnnotation($ScrollPhysics.$type), true),
            BridgeParameter('shrinkWrap',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter(
                'padding',
                BridgeTypeAnnotation($EdgeInsetsGeometry.$type,
                    nullable: true),
                true),
            BridgeParameter(
                'itemExtent',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
                    nullable: true),
                true),
            BridgeParameter('addAutomaticKeepAlives',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('addRepaintBoundaries',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('addSemanticIndexes',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter(
                'cacheExtent',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
                    nullable: true),
                true),
            BridgeParameter('children',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.list)), false),
          ])),
      'builder': BridgeConstructorDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation($type),
          namedParams: [
            BridgeParameter('key',
                BridgeTypeAnnotation($Key.$type, nullable: true), true),
            BridgeParameter(
                'scrollDirection', BridgeTypeAnnotation($Axis.$type), true),
            BridgeParameter('reverse',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('controller',
                BridgeTypeAnnotation($ScrollController.$type), true),
            BridgeParameter(
                'primary',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool),
                    nullable: true),
                true),
            //BridgeParameter('physics', BridgeTypeAnnotation($ScrollPhysics.$type), true),
            BridgeParameter('shrinkWrap',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter(
                'padding',
                BridgeTypeAnnotation($EdgeInsetsGeometry.$type,
                    nullable: true),
                true),
            BridgeParameter(
                'itemExtent',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
                    nullable: true),
                true),
            BridgeParameter('addAutomaticKeepAlives',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('addRepaintBoundaries',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('addSemanticIndexes',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter(
                'cacheExtent',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
                    nullable: true),
                true),
            BridgeParameter(
                'itemBuilder',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function)),
                false),
            BridgeParameter('itemCount',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)), true),
          ])),
    },
    wrap: true);