[widget] Allow passing procs to child widget decls.