copyWith method
PageBlockButtonRow
copyWith({
- List<
InlineButton> ? buttons, - 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
PageBlockButtonRow copyWith({
List<InlineButton>? buttons,
PageBlockHorizontalAlignment? Function()? align,
}) => PageBlockButtonRow(
buttons: buttons ?? this.buttons,
align: align != null ? align() : this.align,
);