getCustomDimensions method
Implementation
Size? getCustomDimensions() {
if (widget.height != null || widget.width != null) {
return Size(
widget.width ?? 0,
widget.height ?? 0,
);
} else {
return null;
}
}
Size? getCustomDimensions() {
if (widget.height != null || widget.width != null) {
return Size(
widget.width ?? 0,
widget.height ?? 0,
);
} else {
return null;
}
}