GithubHelp home page GithubHelp logo

Comments (6)

joeblew99 avatar joeblew99 commented on July 26, 2024

TO get it to work i only had to make these changes.
Because the main.dart is essentially the same, you can run this.

main_desktop.dart:


import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'mainapp.dart';

void main() {
  debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
  runApp(MainApp());
}


main.dart:



//import 'dart:async';
import 'package:flutter/material.dart';
//import 'package:intl/intl.dart';
import 'mainapp.dart';

void main() => runApp(MainApp());












mainapp.dart:


import 'window_space.dart';
//import 'dart:async';
import 'package:flutter/material.dart';
//import 'package:intl/intl.dart';
import 'menu.dart';
import 'package:flutter/services.dart';
import 'widgets/system_overlay.dart';
import 'quick_settings.dart';
import 'widgets/toggle.dart';
import 'launcher_toggle.dart';
import 'status_tray.dart';
import 'app_toggle.dart';
import 'launcher.dart';


class MainApp extends StatelessWidget {
  @override

....

from pangolin_desktop.

nmcain avatar nmcain commented on July 26, 2024

from pangolin_desktop.

nmcain avatar nmcain commented on July 26, 2024

You can create a pull request, but we are not focusing on desktop embedders, we are focusing on an actual Dahlia system.

from pangolin_desktop.

nmcain avatar nmcain commented on July 26, 2024

Could you either create a pull request and have it work on linux rather than macOS?

from pangolin_desktop.

joeblew99 avatar joeblew99 commented on July 26, 2024

@nmcain I dont have time as working on another project where we use go-flutter to make flutter apps that run on all desktops and web.

https://github.com/winwisely99/main

SO rather than me make a PR, you only need to follow the make file i made above.
It builds for all desktops and mobiles, and the build happens inside docker.

hover is the CLI in golang that does it all
https://github.com/go-flutter-desktop/hover

chat with team
https://gitter.im/go-flutter-desktop/go-flutter

from pangolin_desktop.

nmcain avatar nmcain commented on July 26, 2024

We have officially added desktop platform support as of now for Linux based builds, and on MacOS, windows and Web. Thank you!

from pangolin_desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.