$declaration constant

BridgeClassDef const $declaration

Bridge class definition for $AppBar

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type, isAbstract: false, $extends: $Widget.$type),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation($type),
          namedParams: [
            BridgeParameter(
                'leading', BridgeTypeAnnotation($Widget.$type), true),
            BridgeParameter('automaticallyImplyLeading',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true),
            BridgeParameter('title', BridgeTypeAnnotation($Text.$type), true),
            BridgeParameter(
                'actions',
                BridgeTypeAnnotation(BridgeTypeRef(
                    BridgeTypeSpec('dart:core', 'List'), [$Widget.$type])),
                true),
            BridgeParameter(
                'flexibleSpace', BridgeTypeAnnotation($Widget.$type), true),
            BridgeParameter(
                'bottom', BridgeTypeAnnotation($Widget.$type), true),
            BridgeParameter('elevation',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), true),
            BridgeParameter(
                'shadowColor', BridgeTypeAnnotation($Color.$type), true),
            BridgeParameter(
                'backgroundColor', BridgeTypeAnnotation($Color.$type), true),
          ]))
    },
    wrap: true);