init static method
Implementation
static TransitionBuilder init({
TransitionBuilder? builder,
}) {
return (BuildContext context, Widget? child) {
if (builder != null) {
return builder(context, GTFToastOverlay(child: child));
} else {
return GTFToastOverlay(child: child);
}
};
}