Skip to main content
1 vote
1 answer
2k views

From given two lists, how to extract all the elements from one list that are not available in the other list in Dart?

I have two lists in Dart as below, final List availableIssueComponents = [ {'id': 1, 'componentName': 'Cash Acceptor'}, {'id': 2, 'componentName': 'Printer'}, {'id': 3, 'componentName': '...
gfit21x's user avatar
  • 151
2 votes
2 answers
4k views

Does dartpad not support I/O?

Recently I was trying out some code snippets from "Dart For Absolute Beginners" on DartPad. Specifically: import 'dart:math'; import 'dart:io'; void main() { int guess; Random rand ...
Jay's user avatar
  • 120
0 votes
1 answer
320 views

Why is output of {42.05 + 0.05 } like this on Dart Lang? [duplicate]

When i try this on DartPad output is like this. Anyone can explain ?
ensDmrts's user avatar
5 votes
1 answer
15k views

Abstract methods in Dart

I'm implementing an inheritance hierarchy in which derived-class construction consists only of a call to the base-class constructor. The base-class constructor then calls method(s) implemented only in ...
Tom Russell's user avatar
  • 1,073
1 vote
1 answer
48 views

Weird DartEditor behavior / bug?

I'm working on a little website using dart. I have one project for the server, and another for the client app (see picture below) In the server app I serve the client app from the client project like ...
Lukasz's user avatar
  • 2,317
1 vote
1 answer
125 views

Dart Editor freezes when saving files?

Everytime I hit Ctrl + S in Dart Editor the application freezes for several seconds, sometimes up to half a minute. After that it says Build completed successfully in the Tools Output. I have a habit ...
Lucius's user avatar
  • 3,745
1 vote
0 answers
85 views

Executing a dart application prints errors to console

I am using Dart Editor| Dart Editor version 1.10.0.dev_01_01 (DEV) Dart SDK version 1.10.0-dev.1.1 I open polymer_snippet and run the app and it executes as expected. I attempted to run epimss_app ...
st_clair_clarke's user avatar
0 votes
1 answer
83 views

How to make Dart Editor find referenced packages

In the Dart Editor (x64), I create a new project from the "Polymer Web Application" template. Immediately after creation, Dart Editor runs pub get command, executes building workspace. Then for ...
TSV's user avatar
  • 7,668
0 votes
0 answers
242 views

How to reinstall Dart Editor

I've been trying Dart x64 for a month (under Windows 8). Unfortunately, I've removed the "\Users\$user\AppData\Roaming\Pub\" folder. After that any Dart/Polymer project (including shipped samples ...
TSV's user avatar
  • 7,668
0 votes
1 answer
233 views

How to configure formatting rules in Google Dart Editor

I want configure the Dart Editor for the formatting a such source code without a breaking the first line on parameter list. Result of formatting. String _expand( List fragments, Map<String, ...
mezoni's user avatar
  • 11.3k
0 votes
1 answer
158 views

Unable to import dart library for command line app

When initiating a command line utility in dart, I get the following directory structure: happy/ bin/ main.dart lib/ happy.dart user.dart Where happy.dart, and user.dart are identical ...
Gabriel Ratener's user avatar
1 vote
1 answer
76 views

Can not get the repeat to work in a dart polymer webapp

Created a default polymere web app Delete a few lines of main_app.html to this <link rel="import" href="../../packages/polymer/polymer.html"> <polymer-element name="main-app"> &...
Ride Sun's user avatar
  • 2,353
3 votes
1 answer
717 views

dart: proxy annotation usage

Documentation for the @proxy annotation states: If a class is annotated with @proxy, or it implements any class that is annotated, then the class is considered to implement any interface and any ...
DomJack's user avatar
  • 4,203
2 votes
1 answer
533 views

How do i tell the Dart Editor to use the PATH location of the SDK?

I would like to store my dart-sdk outside of the folder where i keep the editor. For sake of brevity lets say its stored in C:/dart-sdk/bin C:\Users\John> echo %PATH% ..;..;C:\dart-sdk\bin C:\...
Jack Murphy's user avatar
  • 3,050
2 votes
2 answers
279 views

Symbol with private identifier argument

I want to create a symbol equal to that of a private MethodMirror's simplename. However, Symbol's documentation states the argument of new Symbol must be a valid public identifier. If I try and create ...
DomJack's user avatar
  • 4,203

15 30 50 per page
1
2 3 4 5
14