mutate static method
Implementation
static List<Widget> mutate(BuildContext context, List<Widget> children) {
InjectBarTrailing? i = of(context);
return i != null
? (i.start
? [...children, ...(i.children?.call(context) ?? [])]
: [...(i.children?.call(context) ?? []), ...children])
: children;
}