11import 'dart:io' ;
22
3+ import 'package:corecoder_develop/plugins_browser.dart' ;
34import 'package:corecoder_develop/settings.dart' ;
45import 'package:corecoder_develop/util/cc_project_structure.dart' ;
56import 'package:corecoder_develop/util/desktop_tabbar.dart' ;
@@ -8,6 +9,7 @@ import 'package:flutter/material.dart';
89import 'package:flutter/widgets.dart' ;
910
1011import 'editor.dart' ;
12+ import 'main.dart' ;
1113import 'util/modules_manager.dart' ;
1214
1315import 'package:shared_preferences/shared_preferences.dart' ;
@@ -106,7 +108,7 @@ class _HomePageState extends State<HomePage> {
106108 late ModulesManager mm;
107109 final Future <SharedPreferences > _pref = SharedPreferences .getInstance ();
108110
109- List <Widget > get projectWidgetsMobile {
111+ List <Widget > get projectsWidgetList {
110112 var result = < Widget > [];
111113 for (HistoryItem p in RecentProjectsManager .instance.projects) {
112114 // if (p.name == "") {
@@ -457,7 +459,7 @@ class _HomePageState extends State<HomePage> {
457459 child: Container (
458460 padding: isLandscape? EdgeInsets .zero : const EdgeInsets .all (16.0 ),
459461 constraints: BoxConstraints (
460- minHeight: MediaQuery .of (context).size.height - 50 ,
462+ minHeight: MediaQuery .of (context).size.height - 34 ,
461463 minWidth: double .infinity),
462464 child:
463465 isLandscape?
@@ -468,13 +470,13 @@ class _HomePageState extends State<HomePage> {
468470 DesktopTabBar (
469471 tabs: < DesktopTabData > [
470472 DesktopTabData (icon: const Icon (Icons .featured_play_list), title: const Text ("Projects" )),
471- DesktopTabData (icon: const Icon (Icons .featured_play_list ), title: const Text ("Plugins" )),
472- DesktopTabData (icon: const Icon (Icons .featured_play_list ), title: const Text ("Examples " )),
473+ DesktopTabData (icon: const Icon (Icons .input ), title: const Text ("Plugins" )),
474+ DesktopTabData (icon: const Icon (Icons .settings ), title: const Text ("Settings " )),
473475 ],
474476 content: < Widget > [
475- Column (children: projectWidgetsMobile ),
476- Column (),
477- Column ( ),
477+ Column (children: projectsWidgetList ),
478+ const PluginsBrowser (),
479+ SettingsPage (mm ),
478480 ])
479481 :
480482
@@ -503,12 +505,12 @@ class _HomePageState extends State<HomePage> {
503505 ),
504506 ]),
505507 Column (
506- children: projectWidgetsMobile ,
508+ children: projectsWidgetList ,
507509 )
508510 ]),
509511 ));
510512 return Scaffold (
511- appBar: AppBar (
513+ appBar: CoreCoderApp . isLandscape (context) ? null : AppBar (
512514 title: const Text ("CoreCoder Develop" ),
513515 centerTitle: true ,
514516 actions: [
0 commit comments