rebase method

Row rebase({
  1. MainAxisAlignment? mainAxisAlignment,
  2. MainAxisSize? mainAxisSize,
  3. CrossAxisAlignment? crossAxisAlignment,
  4. List<Widget>? children,
  5. TextDirection? textDirection,
  6. VerticalDirection? verticalDirection,
  7. TextBaseline? textBaseline,
})

Internal modifier for modifying final properties.

Implementation

Row rebase({
  MainAxisAlignment? mainAxisAlignment,
  MainAxisSize? mainAxisSize,
  CrossAxisAlignment? crossAxisAlignment,
  List<Widget>? children,
  TextDirection? textDirection,
  VerticalDirection? verticalDirection,
  TextBaseline? textBaseline,
}) {
  return Row(
    key: key,
    mainAxisAlignment: mainAxisAlignment ?? this.mainAxisAlignment,
    mainAxisSize: mainAxisSize ?? this.mainAxisSize,
    crossAxisAlignment: crossAxisAlignment ?? this.crossAxisAlignment,
    textDirection: textDirection ?? this.textDirection,
    verticalDirection: verticalDirection ?? this.verticalDirection,
    textBaseline: textBaseline ?? this.textBaseline,
    children: children ?? this.children,
  );
}