You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HarmonyRouterDelegate's pages prop is currently composed of a messy if/else decision structure to declarative routing structure of the application. Instead of this structure, provide a Map data structure that maps defined a defined HarmonyPageenum to a given PageBuilder where PageBuilder is defined as:
The
HarmonyRouterDelegate
's pages prop is currently composed of a messyif/else
decision structure to declarative routing structure of the application. Instead of this structure, provide a Map data structure that maps defined a definedHarmonyPage
enum
to a givenPageBuilder
wherePageBuilder
is defined as:The text was updated successfully, but these errors were encountered: