$declaration constant
BridgeClassDef
const $declaration
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), false),
BridgeParameter(
'iconSize',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
nullable: true),
false),
BridgeParameter('padding',
BridgeTypeAnnotation($EdgeInsetsGeometry.$type), false),
BridgeParameter('alignment',
BridgeTypeAnnotation($AlignmentGeometry.$type), false),
BridgeParameter(
'splashRadius',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double),
nullable: true),
false),
BridgeParameter('color',
BridgeTypeAnnotation($Color.$type, nullable: true), false),
BridgeParameter('focusColor',
BridgeTypeAnnotation($Color.$type, nullable: true), false),
BridgeParameter('hoverColor',
BridgeTypeAnnotation($Color.$type, nullable: true), false),
BridgeParameter('highlightColor',
BridgeTypeAnnotation($Color.$type, nullable: true), false),
BridgeParameter('splashColor',
BridgeTypeAnnotation($Color.$type, nullable: true), false),
BridgeParameter('disabledColor',
BridgeTypeAnnotation($Color.$type, nullable: true), false),
BridgeParameter(
'onPressed',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.function),
nullable: true),
false),
BridgeParameter(
'autofocus',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool),
nullable: true),
false),
BridgeParameter(
'tooltip',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string),
nullable: true),
false),
BridgeParameter(
'enableFeedback',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool),
nullable: true),
false),
BridgeParameter(
'constraints',
BridgeTypeAnnotation($BoxConstraints.$type, nullable: true),
false),
BridgeParameter('icon',
BridgeTypeAnnotation($Widget.$type, nullable: true), false),
]))
},
wrap: true);