do_recursive_children


Description:

public Widget? do_recursive_children (WidgetFunc func, bool reverse = false)

Run a function recursively over widget and all of its children.

The recursion stops when func returns a non-null value.

Parameters:

func

The function to call for each recursion.

reverse

If true containers with more than one child will be iterated starting with the last child first.

Returns:

The return value of the last call to func.