applicationSectionMapProvider top-level property
Implementation
final applicationSectionMapProvider =
Provider<Map<String, WidgetBuilder>>((ref) {
final sections = ref.watch(applicationSectionsProvider);
return {
for (var section in sections)
section.route: (context) => ScreenWrap(
child: section.builder,
requiresAuthentication: section.requiresAuthentication)
};
});