Using 'dart:io' in dartium ? Any work arounds? -


i new dart , trying read data file , use contents draw canvas. in doing running 'the built-in library 'dart:io' not available on dartium ' issue.

i understand dart has limitations javascript in code running in browser cannot natively access file system of running client.

at same time there tips on how read file , use contents write canvas?

thanks in advance.

what kind of application trying build?
if runs in browser files on server.
if normal web page can't access user files. there sandboxed space accessible used by code of webpage.
if build chrome app have less limitations.

you can't import 'dart:io' when should run in browser.
apis available in browser can found in 'dart:html'.

if want build chrome app package provides access extended api http://pub.dartlang.org/packages/chrome


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -