We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c004226 commit 2ef244bCopy full SHA for 2ef244b
lib/src/api/nodes/dropdown_node.dart
@@ -61,20 +61,6 @@ class DropdownNode extends SceneNode with CustomPropertiesMixin {
61
ObjectValue(name: 'value', value: value),
62
];
63
64
- @override
65
- BoxConstraintsModel internalConstraints({
66
- required SizeFit horizontalFit,
67
- required SizeFit verticalFit,
68
- }) {
69
- final double iconSize = properties.icon.size ?? 24;
70
- return super
71
- .internalConstraints(
72
- horizontalFit: horizontalFit,
73
- verticalFit: verticalFit,
74
- )
75
- .union(BoxConstraintsModel(minWidth: iconSize));
76
- }
77
-
78
/// Creates a [DropdownNode] from a JSON object.
79
factory DropdownNode.fromJson(Map json) => _$DropdownNodeFromJson(json);
80
0 commit comments