public App(AppTheme theme)
 {
     InitializeComponent();
     AppTheme = theme.Convert();
     RequestedThemeChanged += (_, e) => AppTheme = e.RequestedTheme;
     MainPage = new AppShell
     {
         Visual = VisualMarker.Material,
     };
 }