Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8980957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:12:51+00:00 2026-06-15T20:12:51+00:00

With a local client side application, with import ‘dart:io’; I see no way to

  • 0

With a local client side application, with

import 'dart:io';

I see no way to load up the consumers current default browser and then load a web page. (Locally stored HTML or a website)

I’ve searched the API documentation at http://api.dartlang.org yet have found no easy way.

Is there any way of doing this yet?
Preferably similar to the Desktop class in java ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:12:52+00:00Added an answer on June 15, 2026 at 8:12 pm

    I don’t think there’s a function for that. You can fill a new feature request.

    If you need a workaround, you can deal with the Process and Platform classes.

    • on Windows you should be able to launch the default browser with start ${url}.
    • on linux, you can do that with xdg-open ${url} if xdg-open is present.
    • in other cases, there should be a solution…

    Here is a sample :

    import 'dart:io';
    
    main() {
      final url = "http://dartlang.org";
      if (Platform.operatingSystem == 'windows') {
        Process.run("start", [url]);
      } else if (Platform.operatingSystem == 'linux') {
        Process.run("xdg-open", [url]);
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to force the client to update its local svn configuration
I have a web application where the client will be running off a local
In my current project, my client application first talk with the server and the
I'm working on a client-side Java application for which I want to create a
I am developing an Application that will perform Encryption/Decryption at client side only. I
I am creating a simple HTTP client/server application on my local machine but I
I have a buffered grid on which I've implemented a local sort function (client
I'm binding a client TCP socket to a specific local port. To handle the
I have written an ActionScript client program that tries to connect to a local
I wrote a makefile: all: server client server: server.o des.o sha1.o /usr/local/arm-2009q1/bin/arm-none-linux-gnueabi-gcc -o server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.