copyWith method
Area
copyWith({
- dynamic id()?,
- double? size()?,
- double? flex()?,
- double? min()?,
- double? max()?,
- dynamic data()?,
- AreaWidgetBuilder? builder()?,
Creates a copy of this Area with the given fields replaced with their.
Implementation
Area copyWith({
dynamic Function()? id,
double? Function()? size,
double? Function()? flex,
double? Function()? min,
double? Function()? max,
dynamic Function()? data,
AreaWidgetBuilder? Function()? builder,
}) {
return Area(
id: id == null ? this.id : id(),
size: size == null ? this.size : size(),
flex: flex == null ? this.flex : flex(),
min: min == null ? this.min : min(),
max: max == null ? this.max : max(),
data: data == null ? this.data : data(),
builder: builder == null ? this.builder : builder(),
);
}