renderConditionally method

Row renderConditionally(
  1. bool condition
)

Conditionally render children based on a condition

Implementation

Row renderConditionally(bool condition) {
  return Row(children: children.where((child) => condition).toList());
}