getContextAsync static method
Implementation
static void getContextAsync(
ContextGetter getter, [
Duration duration = Duration.zero,
]) {
Future.delayed(duration, () {
BuildContext context = getContext();
getter(context);
});
}
static void getContextAsync(
ContextGetter getter, [
Duration duration = Duration.zero,
]) {
Future.delayed(duration, () {
BuildContext context = getContext();
getter(context);
});
}