copyWith method

  1. @override
InputPageBlockButtonRow copyWith({
  1. List<InlineButton>? buttons,
  2. PageBlockHorizontalAlignment? align()?,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
InputPageBlockButtonRow copyWith({
  List<InlineButton>? buttons,
  PageBlockHorizontalAlignment? Function()? align,
}) => InputPageBlockButtonRow(
  buttons: buttons ?? this.buttons,
  align: align != null ? align() : this.align,
);