commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
a3c0d19234eddd5174cc3131f8495518c9c303a8
lib/src/types.dart
lib/src/types.dart
part of irc; class BotConfig { String host; int port; String nickname; String realname; String username; bool synchronous; BotConfig({this.host: "irc.esper.net", this.port: 6667, this.nickname:"DartBot", this.username: "DartBot", this.realname: "Dart IRC Bot", this.synchronous: false}); } class Channel...
part of irc; class BotConfig { String host; int port; String nickname; String realname; String username; bool synchronous; BotConfig({this.host: "irc.esper.net", this.port: 6667, this.nickname:"DartBot", this.username: "DartBot", this.realname: "Dart IRC Bot", this.synchronous: false}); } class Channel...
Add Ban, Unban, and Kick support
Add Ban, Unban, and Kick support
Dart
mit
DirectMyFile/irc.dart,DirectMyFile/irc.dart
c85f1a894d14e77db60b2e604f8bc01773e56f31
lib/dartivity_cache.dart
lib/dartivity_cache.dart
/* * Package : dartivity_database * Author : S. Hamblett <steve.hamblett@linux.com> * Date : 05/011/2015 * Copyright : S.Hamblett 2015 */ part of dartivity_database; class DartivityCache { /// The cache Map<String, dynamic> _cache; DartivityCache() { _cache = new Map<String, dynamic>(); } /// ...
/* * Package : dartivity_database * Author : S. Hamblett <steve.hamblett@linux.com> * Date : 05/011/2015 * Copyright : S.Hamblett 2015 */ part of dartivity_database; class DartivityCache { /// The cache Map<String, dynamic> _cache; DartivityCache() { _cache = new Map<String, dynamic>(); } /// ...
Add the general purpose cache
Add the general purpose cache
Dart
apache-2.0
shamblett/dartivity_database
2ecf40450c43ef91f9e73d324267c7d9dd8a9a4b
runtime/observatory/lib/src/elements/function_ref.dart
runtime/observatory/lib/src/elements/function_ref.dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library function_ref_element; import 'dart:html'; import 'package:polymer/polymer.dart'; import 'packa...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library function_ref_element; import 'dart:html'; import 'package:polymer/polymer.dart'; import 'packa...
Make function-ref only show a link for Dart functions
Make function-ref only show a link for Dart functions BUG= Review URL: https://codereview.chromium.org//1289803007 .
Dart
bsd-3-clause
dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,da...
c35b51e7d683bd679e2abd603b3ded7c3c01b707
pay_platform_interface/lib/pay_channel.dart
pay_platform_interface/lib/pay_channel.dart
import 'dart:async'; import 'dart:convert'; import 'package:flutter/services.dart'; import 'package:pay_platform_interface/core/payment_item.dart'; import 'pay_platform_interface.dart'; class PayMethodChannel extends PayPlatform { final MethodChannel _channel = const MethodChannel('plugins.flutter.io/pay_cha...
import 'dart:async'; import 'dart:convert'; import 'package:flutter/services.dart'; import 'package:pay_platform_interface/core/payment_item.dart'; import 'pay_platform_interface.dart'; class PayMethodChannel extends PayPlatform { final MethodChannel _channel = const MethodChannel('plugins.flutter.io/pay_cha...
Remove unnecessary arrow expression in complex statement
Remove unnecessary arrow expression in complex statement
Dart
apache-2.0
google-pay/flutter-plugin,google-pay/flutter-plugin,google-pay/flutter-plugin,google-pay/flutter-plugin,google-pay/flutter-plugin
7a0ae371794fac2c3562df6883e4b12c486c4975
lib/highlighted_text/highlighted_text.dart
lib/highlighted_text/highlighted_text.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/model/ui/highlighted_text_mod...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/model/ui/highlighted_text_mod...
Remove visibility.all from @Component annotations. This is potentially BREAKING change.
Remove visibility.all from @Component annotations. This is potentially BREAKING change. Please review carefully. Breakage will only be caught if the code is covered by tests. Reject this change if you believe it breaks you. If the component needs to be injected anywhere in the app, you can get a runtime exception aft...
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
98a70c66322b4c958f22d39494d165365b4add26
test/gamelogic/board_test.dart
test/gamelogic/board_test.dart
library board_test; import 'package:unittest/unittest.dart'; import 'package:dartless_server/dartless_server.dart'; void main() { group('board static data', () { test('contains passage', () { expect(Board.ALL_PASSAGES, contains(const Passage(Board_Room.STUDY, Board_Room.KITCHEN))); expect(Board.ALL_...
library board_test; import 'package:unittest/unittest.dart'; import 'package:dartless_server/dartless_server.dart'; void main() { group('board static data', () { test('contains passage', () { expect(Board.ALL_PASSAGES, contains(const Passage(Board_Room.STUDY, Board_Room.KITCHEN))); expect(Board.ALL_...
Test updates for x, y changes
Test updates for x, y changes
Dart
bsd-3-clause
Mixolyde/dartless_server
e893c782f973a2b0c9552059612881104d2c14d8
test/colorful_test.dart
test/colorful_test.dart
// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code // is governed by a BSD-style license that can be found in the LICENSE file. library colorful.test; import 'package:colorful/colorful.dart'; import 'package:test/test.dart'; void main() { test('instance fields of class Color', () { ...
// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code // is governed by a BSD-style license that can be found in the LICENSE file. library colorful.test; import 'package:colorful/colorful.dart'; import 'package:test/test.dart'; void main() { test('instance fields of class Color', () { ...
Add test for isValid for acceptable values.
Add test for isValid for acceptable values.
Dart
bsd-3-clause
mswift42/colorful
21581799c4f142b15e3b1861098cb84fa4ee46a8
lib/src/parser/combinator/surrounded_by.dart
lib/src/parser/combinator/surrounded_by.dart
import '../../core/parser.dart'; import '../action/cast.dart'; import '../action/pick.dart'; import 'sequence.dart'; extension SurroundedByParserExtension<T> on Parser<T> { /// Returns a parser that consumes input [before] and [after] the reciever, but /// discards their parse results and only returns the result o...
import '../../core/parser.dart'; import '../action/cast.dart'; import '../action/pick.dart'; import 'sequence.dart'; extension SurroundedByParserExtension<T> on Parser<T> { /// Returns a parser that consumes input [before] and [after] the reciever, but /// discards their parse results and only returns the result o...
Fix the example of the spearated by docstring
Fix the example of the spearated by docstring
Dart
mit
petitparser/dart-petitparser
e2a1ea542057c05f1af9008b85f5da8bd3de1ce9
lib/src/facade/math.dart
lib/src/facade/math.dart
@deprecated('Use dart:math instead.') library angular.core.facade.math; import 'dart:core' show double, num; import 'dart:math' as math; const NaN = double.NAN; class Math { static num pow(num x, num exponent) { return math.pow(x, exponent); } static num max(num a, num b) => math.max(a, b); static num ...
@Deprecated('Use dart:math instead.') library angular.core.facade.math; import 'dart:core' show double, num; import 'dart:math' as math; const NaN = double.NAN; class Math { static num pow(num x, num exponent) { return math.pow(x, exponent); } static num max(num a, num b) => math.max(a, b); static num ...
Fix the Math facade (improper annotation): @Deprecated(description).
Fix the Math facade (improper annotation): @Deprecated(description). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128204779
Dart
mit
chalin/angular2,matanlurey/angular,kevmoo/angular,kevmoo/angular,kevmoo/angular,angulardart/angular,angulardart/angular,chalin/angular2,matanlurey/angular,angulardart/angular,chalin/angular2,matanlurey/angular
a0886d9314cec1bb468353e967f749ac631351f7
lib/core/widgets/double_tap_to_exit.dart
lib/core/widgets/double_tap_to_exit.dart
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:fluttertoast/fluttertoast.dart'; import '../../features/settings/presentation/bloc/settings_bloc.dart'; class DoubleTapToExit extends StatelessWidget { final Widget child; const DoubleTapToExit({ Key? key...
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:fluttertoast/fluttertoast.dart'; import '../../features/settings/presentation/bloc/settings_bloc.dart'; class DoubleTapToExit extends StatelessWidget { final Widget child; const DoubleTapToExit({ Key? key...
Fix DoubleTapToExit after setting changes.
Fix DoubleTapToExit after setting changes.
Dart
mit
wcomartin/PlexPy-Remote
7e94566d3b0556fcaa29a759a2b777a9f3ecce48
lib/char_reader.dart
lib/char_reader.dart
part of mustache; class _CharReader { String _source; Iterator<int> _itr; int _i, _c; int _line = 1, _column = 1; _CharReader(String source) : _source = source, _itr = source.runes.iterator { //FIXME runes etc. Not sure if this is the right count. if (source == null) throw...
part of mustache; class _CharReader { String _source; Iterator<int> _itr; int _i, _c; int _line = 1, _column = 1; _CharReader(String source) : _source = source, _itr = source.runes.iterator { //FIXME runes etc. Not sure if this is the right count. if (source == null) throw...
Update to Dart M4 release
Update to Dart M4 release
Dart
bsd-2-clause
johnpryan/mustache,xxgreg/mustache,MikeMitterer/mustache,xxgreg/mustache,MikeMitterer/dart-mdl-mustache,MikeMitterer/dart-mdl-mustache,MikeMitterer/dart-mdl-mustache,MikeMitterer/mustache,xxgreg/mustache,MikeMitterer/mustache,johnpryan/mustache,johnpryan/mustache,MikeMitterer/dart-mdl-mustache,johnpryan/mustache,MikeMi...
e39bfbbd10aabbbeadc09dd0b708786dbb40fc75
tests/language/issue12284_test.dart
tests/language/issue12284_test.dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "package:expect/expect.dart"; import "compiler_annotations.dart"; class A { int field; @Do...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "package:expect/expect.dart"; import "compiler_annotations.dart"; class A { int field; @Do...
Fix test for checked mode.
Fix test for checked mode. Review URL: https://codereview.chromium.org//22862008 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@26118 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dar...
59f352c7355f0ae6b365eba60b64e7250e8acbde
examples/game/lib/sprites.dart
examples/game/lib/sprites.dart
library sprites; import 'dart:sky'; import 'dart:math' as Math; import 'package:vector_math/vector_math_64.dart'; import 'package:sky/framework/app.dart'; import 'package:sky/framework/rendering/box.dart'; import 'package:sky/framework/rendering/node.dart'; import 'package:sky/framework/scheduler.dart' as scheduler; i...
library sprites; import 'dart:sky'; import 'dart:math' as Math; import 'package:vector_math/vector_math_64.dart'; import 'package:sky/framework/app.dart'; import 'package:sky/framework/rendering/box.dart'; import 'package:sky/framework/rendering/object.dart'; import 'package:sky/framework/scheduler.dart' as scheduler;...
Fix examples/game to work after Hixie's grand rename.
Fix examples/game to work after Hixie's grand rename. TBR=viktorl@google.com Review URL: https://codereview.chromium.org/1158273009
Dart
bsd-3-clause
iansf/sky_engine,Hixie/sky_engine,chinmaygarde/flutter_engine,jason-simmons/sky_engine,devoncarew/sky_engine,takaaptech/sky_engine,mpcomplete/engine,chinmaygarde/flutter_engine,jimsimon/sky_engine,mxia/engine,tvolkert/engine,xunmengfeng/engine,jamesr/flutter_engine,flutter/engine,TribeMedia/sky_engine,devoncarew/sky_en...
5e2344a85b008a673777592f11b4ce89f4c38c12
tool/hop_runner.dart
tool/hop_runner.dart
// Copyright (c) 2013, the Clean project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library hop_runner; import 'package:hop/hop.dart'; import 'package:hop/hop_tasks.dart'; import '../te...
// Copyright (c) 2013, the Clean project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library hop_runner; import 'package:hop/hop.dart'; import 'package:hop/hop_tasks.dart'; import '../te...
Fix library paths in analyze.
Fix library paths in analyze.
Dart
bsd-2-clause
cleandart/clean_ajax
238b4753afb493a4098d8e8c32edf8f52c30b9ca
server/handlers.dart
server/handlers.dart
import "dart:io"; import "dart:async"; import "dart:convert"; import "../lib/urls.dart" as urls; import "core.dart"; Codec<Object, List<int>> JSON_TO_BYTES = JSON.fuse(UTF8); Future createMindMap(HttpRequest request) { return Core.instance.createMap().then((mapId) { return request.response.redirect(new Uri(p...
import "dart:io"; import "dart:async"; import "dart:convert"; import "../lib/urls.dart" as urls; import "core.dart"; Codec<Object, List<int>> JSON_TO_BYTES = JSON.fuse(UTF8); Future createMindMap(HttpRequest request) { return Core.instance.createMap().then((mapId) { return request.response.redirect(new Uri(p...
Refactor addNode to be more dart-y
Refactor addNode to be more dart-y No nested callbacks
Dart
mit
mbirtwell/mikes-mindmaps,mbirtwell/mikes-mindmaps,mbirtwell/mikes-mindmaps
f8b62758bae36ddfb6847beeaca012c8a8f345d3
web/scripts/loader/loader.dart
web/scripts/loader/loader.dart
import 'dart:async'; import "../SBURBSim.dart"; import "../formats/Formats.dart"; import "../includes/path_utils.dart"; import "resource.dart"; export "resource.dart"; abstract class Loader { static Map<String, Resource<dynamic>> _resources = <String, Resource<dynamic>>{}; static void init() {...
import 'dart:async'; import "../SBURBSim.dart"; import "../formats/Formats.dart"; import "../includes/path_utils.dart"; import "resource.dart"; export "resource.dart"; abstract class Loader { static Map<String, Resource<dynamic>> _resources = <String, Resource<dynamic>>{}; static void init() {...
Remove unnecessary second generic which always ended up dynamic anyway
Remove unnecessary second generic which always ended up dynamic anyway
Dart
mit
jadedResearcher/SBURBSimulator,jadedResearcher/SBURBSimulator,jadedResearcher/SBURBSimulator,jadedResearcher/SBURBSimulator
0b2cc243ca9621f779dcaeecdde3f03f2de58e52
lib/core/widgets/page_body.dart
lib/core/widgets/page_body.dart
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import '../../features/settings/presentation/bloc/settings_bloc.dart'; import 'settings_not_loaded.dart'; class PageBody extends StatelessWidget { final Widget child; const PageBody({ Key? key, required this.child, ...
import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import '../../features/settings/presentation/bloc/settings_bloc.dart'; import 'settings_not_loaded.dart'; class PageBody extends StatelessWidget { final Widget child; const PageBody({ Key? key, required this.child, ...
Remove padding from PageBody widget.
Remove padding from PageBody widget.
Dart
mit
wcomartin/PlexPy-Remote
38795aac52c77584ffb0b112ae5f53e1bc63b90a
lib/src/qr_image.dart
lib/src/qr_image.dart
/* * QR.Flutter * Copyright (c) 2019 the QR.Flutter authors. * See LICENSE for distribution and usage details. */ import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:qr/qr.dart'; import 'qr_painter.dart'; class QrImage extends StatelessWidget { QrImage({ @require...
/* * QR.Flutter * Copyright (c) 2019 the QR.Flutter authors. * See LICENSE for distribution and usage details. */ import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:qr/qr.dart'; import 'qr_painter.dart'; class QrImage extends StatelessWidget { QrImage({ @require...
Set gapless mode as the default on QrImage
Set gapless mode as the default on QrImage This shouldn't really create any immediate issues. If you're a fan of the gap, please make sure to set the value explicitly.
Dart
bsd-3-clause
theyakka/qr.flutter,theyakka/qr.flutter,lukef/qr.flutter,theyakka/qr.flutter,lukef/qr.flutter,theyakka/qr.flutter,lukef/qr.flutter,lukef/qr.flutter
2040496a0357d313bc03153472821f280243eacd
lib/src/events/GuildMemberRemoveEvent.dart
lib/src/events/GuildMemberRemoveEvent.dart
part of discord; /// Sent when a user leaves a guild, can be a leave, kick, or ban. class GuildMemberRemoveEvent { /// The guild the user left. Guild guild; ///The user that left. User user; GuildMemberRemoveEvent._new(Client client, Map<String, dynamic> json) { if (client.ready) { this.guild = c...
part of discord; /// Sent when a user leaves a guild, can be a leave, kick, or ban. class GuildMemberRemoveEvent { /// The guild the user left. Guild guild; ///The user that left. User user; GuildMemberRemoveEvent._new(Client client, Map<String, dynamic> json) { if (client.ready && json['d']['user']['i...
Fix crash caused by bot leaving a guild
Fix crash caused by bot leaving a guild
Dart
mit
Hackzzila/Discord-Dart,Hackzzila/nyx,Hackzzila/nyx,Hackzzila/Discord-Dart
d9cad33aebbbd3162fc753244d6daca2b8d2aa87
sintr_analysis_server_example/lib/instrumentation_lib.dart
sintr_analysis_server_example/lib/instrumentation_lib.dart
library sintr_worker_lib.instrumentation_lib; class LogItemProcessor { StringBuffer message = new StringBuffer(); String processLine(String ln) { String lastResult = null; if (ln.startsWith("~")) { lastResult = message.toString(); message.clear(); } message.write(ln); if (lastRe...
library sintr_worker_lib.instrumentation_lib; class LogItemProcessor { StringBuffer message = new StringBuffer(); String processLine(String ln) { String lastResult = null; if (ln.startsWith("~")) { lastResult = message.toString(); message.clear(); } message.write(ln); if (lastRe...
Fix initial line empty bug
Fix initial line empty bug
Dart
apache-2.0
lukechurch/sintr,lukechurch/sintr
94fcce2b0c05c286c437223fd8293fb43071dcab
tests/language/vm/type_propagation_test.dart
tests/language/vm/type_propagation_test.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // VMOptions=--optimization-counter-threshold=1000 --max-polymorphic-checks=1 // Test correct loop inva...
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // VMOptions=--optimization-counter-threshold=1000 --max-polymorphic-checks=1 // Test correct loop inva...
Fix analyzer warning in a unit test.
Fix analyzer warning in a unit test. Add initializer for a final field. TBR=rmacnak@google.com BUG= Review URL: https://codereview.chromium.org/1494233003 .
Dart
bsd-3-clause
dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/da...
1e082e1238c8866de4b36ef5e790b576cca2a164
tests/language/factory_redirection3_cyclic_test.dart
tests/language/factory_redirection3_cyclic_test.dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that a cycle in redirecting factories leads to a compile-time error. class A { factory A.foo...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that a cycle in redirecting factories leads to a compile-time error. class A { factory A.foo...
Fix merge error in test.
Fix merge error in test. R=ngeoffray@google.com Review URL: https://codereview.chromium.org//24264002 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@27646 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-la...
c283aca3b708a795b118715e7277bd9958098844
pkg/barback/lib/barback.dart
pkg/barback/lib/barback.dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library barback; import 'dart:async'; import 'dart:io'; export 'src/asset.dart'; export 'src/asset_id...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library barback; export 'src/asset.dart'; export 'src/asset_id.dart'; export 'src/asset_provider.dart'...
Remove unneeded imports to fix broken bots.
Remove unneeded imports to fix broken bots. Review URL: https://codereview.chromium.org//17511007 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@24258 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archiv...
130124bd4a07246216de98a61a8cb235934ef5f4
examples/fn/widgets/floating_action_button.dart
examples/fn/widgets/floating_action_button.dart
part of widgets; class FloatingActionButton extends StyleComponent { static final Style _style = new Style(''' position: absolute; display: flex; justify-content: center; align-items: center; bottom: 16px; right: 16px; width: 56px; height: 56px; background-color: #F44336; colo...
part of widgets; class FloatingActionButton extends StyleComponent { // TODO(rafaelw): Ganesh has problems with box shadows // box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); static final Style _style = new Style(''' position: absolute; display: flex; justify-content: center; ...
Remove box shadow on floating action button until ganesh fixes its bug
Remove box shadow on floating action button until ganesh fixes its bug TBR=abarth Review URL: https://codereview.chromium.org/975203002
Dart
bsd-3-clause
Hixie/flutter,flutter/flutter,Hixie/flutter,Hixie/flutter,cbracken/flutter,cbracken/flutter,tvolkert/flutter,turnidge/flutter,flutter/flutter,aghassemi/flutter,cbracken/flutter,tvolkert/flutter,aghassemi/flutter,tvolkert/flutter,flutter/flutter,Hixie/flutter,Hixie/flutter,tvolkert/flutter,turnidge/flutter,tvolkert/flut...
0b70729fae4e38d4b5edead502c3a40fb2b30c99
lib/src/converter.dart
lib/src/converter.dart
// Copyright (c) 2015 Justin Andresen. All rights reserved. // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. library yaml2toml.src.converter; import 'dart:async'; import 'package:yaml/yaml.dart'; import 'package:toml/encoder.dart'; /// Conver...
// Copyright (c) 2015 Justin Andresen. All rights reserved. // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. library yaml2toml.src.converter; import 'dart:async'; import 'package:yaml/yaml.dart'; import 'package:toml/encoder.dart'; /// Conver...
Remove dartdoc reference to external class.
Remove dartdoc reference to external class.
Dart
mit
just95/yaml2toml.dart
65db6c68f9861e8dbe2422025351baf3b8f0e252
lib/polymer_signals/polymer_signals.dart
lib/polymer_signals/polymer_signals.dart
// Copyright (c) 2013, the polymer_elements.dart project authors. Please see // the AUTHORS file for details. All rights reserved. Use of this source code is // governed by a BSD-style license that can be found in the LICENSE file. // This work is a port of the polymer-elements from the Polymer project, // http://w...
// Copyright (c) 2013, the polymer_elements.dart project authors. Please see // the AUTHORS file for details. All rights reserved. Use of this source code is // governed by a BSD-style license that can be found in the LICENSE file. // This work is a port of the polymer-elements from the Polymer project, // http://w...
Rename events now that dashes are supported
Rename events now that dashes are supported
Dart
bsd-2-clause
bwu-dart-graveyard/polymer_elements,bwu-dart-graveyard/polymer_elements
558db9dde13fa3d219a25e1ae7d3b656e5a40876
sky/sdk/lib/framework/app.dart
sky/sdk/lib/framework/app.dart
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'layout2.dart'; import 'dart:sky' as sky; class AppView { RenderView _renderView; void _beginFrame(double timeStamp) { RenderNode.flushLa...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'layout2.dart'; import 'dart:sky' as sky; class AppView { AppView(RenderBox root) { sky.view.setEventCallback(_handleEvent); sky.view.s...
Rearrange AppView so that the constructor is first.
Rearrange AppView so that the constructor is first. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1154403002
Dart
bsd-3-clause
chinmaygarde/mojo,chinmaygarde/mojo,jianglu/mojo,afandria/mojo,afandria/mojo,chinmaygarde/mojo,afandria/mojo,afandria/mojo,jianglu/mojo,afandria/mojo,chinmaygarde/mojo,jianglu/mojo,afandria/mojo,afandria/mojo,chinmaygarde/mojo,chinmaygarde/mojo,jianglu/mojo,jianglu/mojo,afandria/mojo,chinmaygarde/mojo,jianglu/mojo,chin...
555a40099592882d480cb9b359feed3536bb62e1
sintr_common/lib/logging_utils.dart
sintr_common/lib/logging_utils.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:logging/logging.dart' as logging; logging.Logger _logger = new logging.Logger("sintr_c...
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:logging/logging.dart' as logging; logging.Logger _logger; info(String message) => _lo...
Include logging group in the messages
Include logging group in the messages
Dart
apache-2.0
lukechurch/sintr,lukechurch/sintr
03846e25de56adb9bd4e2ddeacf137cf8e08091c
web/classes/driver.dart
web/classes/driver.dart
part of classes; final String driverURL = 'http://ergast.com/api/f1/drivers.json?limit=1000'; class Driver { static List drivers = []; static final Random indexGen = new Random(); String _url; String _givenName; String _familyName; String _dateOfBirth; String _nationality; String ge...
part of classes; final String driverURL = 'http://ergast.com/api/f1/drivers.json?limit=1000'; class Driver { static List drivers = []; static final Random indexGen = new Random(); String _url; String _givenName; String _familyName; String _nationality; DateTime _dateOfBirth; String ...
Format dateOfBirth as DateTime object
Format dateOfBirth as DateTime object
Dart
mit
john-cheesman/f1-driver
3b3dd6ef7c0b103049190b3bb5c7816ad6dece76
lib/material_tab/tab_button.dart
lib/material_tab/tab_button.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:html'; import 'package:angular/angular.dart'; import 'package:angular_components/material...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:html'; import 'package:angular/angular.dart'; import 'package:angular_components/material...
Remove visibility.all from @Component annotations. This is potentially BREAKING change.
Remove visibility.all from @Component annotations. This is potentially BREAKING change. Please review carefully. Breakage will only be caught if the code is covered by tests. Reject this change if you believe it breaks you. If the component needs to be injected anywhere in the app, you can get a runtime exception aft...
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
b11148c86d1f873489c816fa4d87b9e8eb67ceff
lib/src/object_group.dart
lib/src/object_group.dart
part of tmx; class ObjectGroup { String name; String color; double opacity = 1.0; bool visible = true; TileMap map; Map<String, String> properties = {}; List<TmxObject> tmxObjects = []; ObjectGroup.fromXML(XmlElement element) { if (element == null) { throw 'arg "element" cannot be null'; } ...
part of tmx; class ObjectGroup { String name; String color; double opacity = 1.0; bool visible = true; TileMap map; Map<String, String> properties = {}; List<TmxObject> tmxObjects = []; ObjectGroup.fromXML(XmlElement element) { if (element == null) { throw 'arg "element" cannot be null'; } ...
Convert from Iterable to List.
Convert from Iterable to List.
Dart
mit
radicaled/tmx.dart
da150d8a6aef7cdd101376e179fd07a4c6857e61
graphql_parser/lib/src/language/ast/operation_definition.dart
graphql_parser/lib/src/language/ast/operation_definition.dart
import 'package:source_span/source_span.dart'; import '../token.dart'; import 'definition.dart'; import 'directive.dart'; import 'selection_set.dart'; import 'variable_definitions.dart'; class OperationDefinitionContext extends DefinitionContext { final Token TYPE, NAME; final VariableDefinitionsContext variableD...
import 'package:source_span/source_span.dart'; import '../token.dart'; import 'definition.dart'; import 'directive.dart'; import 'selection_set.dart'; import 'variable_definitions.dart'; class OperationDefinitionContext extends DefinitionContext { final Token TYPE, NAME; final VariableDefinitionsContext variableD...
Fix span expansion when operation name is null
Fix span expansion when operation name is null
Dart
mit
angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel
3ba54b8d25f121c0b2f161e48807559ccff4bcb3
lib/src/cbor_output_standard.dart
lib/src/cbor_output_standard.dart
/* * Package : Cbor * Author : S. Hamblett <steve.hamblett@linux.com> * Date : 12/12/2016 * Copyright : S.Hamblett */ part of cbor; /// The standard output class. class OutputStandard extends Output { /// Construction @override OutputStandard() { this._buffer = new typed.Uint8Buffer(); this._pau...
/* * Package : Cbor * Author : S. Hamblett <steve.hamblett@linux.com> * Date : 12/12/2016 * Copyright : S.Hamblett */ part of cbor; /// The standard output class. class OutputStandard extends Output { /// Construction @override OutputStandard() { _buffer = typed.Uint8Buffer(); _pauseBuffer = typ...
Update to Dart 2.6.1, linter updates and general tidy up
Update to Dart 2.6.1, linter updates and general tidy up
Dart
mit
shamblett/cbor
658a36d98f03232f93435de4c2c382b113db85a2
lib/components/partials/comments/comment_component.dart
lib/components/partials/comments/comment_component.dart
import 'dart:async'; import 'package:angular/angular.dart'; import 'package:danilo_info/model/comment.dart'; import 'package:danilo_info/services/comment_service.dart'; import 'package:danilo_info/components/partials/common/user_avatar_component.dart'; import 'package:danilo_info/components/partials/common/user_name_c...
import 'dart:async'; import 'package:angular/angular.dart'; import 'package:danilo_info/model/comment.dart'; import 'package:danilo_info/services/comment_service.dart'; import 'package:danilo_info/components/partials/common/user_avatar_component.dart'; import 'package:danilo_info/components/partials/common/user_name_c...
Add missing call to load comment content
Add missing call to load comment content
Dart
mit
dnp1/web,dnp1/web
40a32aac84bcb0c4ce04f4fb25893db0067fc9a0
test/directive_spec.dart
test/directive_spec.dart
import "_specs.dart"; // Types must be declared on the top level. Ugh. class SomeDirective { } class AnotherAttrDirective { } class TranscludeDirective { static var $transclude = "true"; } class ExplicitNullTranscludeDirective { static var $transclude = null; } main() { d escribe('directive factory', () { ...
import "_specs.dart"; // Types must be declared on the top level. Ugh. class SomeDirective { } class AnotherAttrDirective { } class TranscludeDirective { static var $transclude = "true"; } class ExplicitNullTranscludeDirective { static var $transclude = null; } main() { describe('directive factory', () { ...
Fix a syntax error in the tests
chore(tests): Fix a syntax error in the tests
Dart
mit
trinarytree/angular.dart,hitesh97/angular.dart,giovannicandido/angular.dart,trinarytree/angular.dart,trinarytree/angular.dart,ronlobo/angular.dart,ronlobo/angular.dart,ronlobo/angular.dart,giovannicandido/angular.dart,SibuStephen/angular.dart,giovannicandido/angular.dart,SibuStephen/angular.dart,rkirov/angular.dart,hit...
8d876533d2a534377772e6d89a33a9161cabf0a3
lib/src/models/event.dart
lib/src/models/event.dart
class Event { final String name; final String address; final String city; final DateTime start; final DateTime end; const Event({this.name, this.address, this.city, this.start, this.end}); }
import 'package:meta/meta.dart'; class Event { @Required() final String name; final String address; final String city; @Required() final DateTime start; final DateTime end; final double price; final String image; const Event({ this.name, this.address, this.city, this.start, t...
Add missing fields (image, price, etc)
Add missing fields (image, price, etc)
Dart
mpl-2.0
comiko-app/comiko,comiko-app/comiko,comiko-app/comiko
43c8195093762e790c27b6db4f78ae833467e5a3
example/controllers/authorization_sample_controller.dart
example/controllers/authorization_sample_controller.dart
part of drails_example; class LoginController { static Map<int, User> users = { 1: new User() ..id = 1 ..name = 'lulo' ..password = 'lulo' ..roles = ['ADMIN'], 2: new User() ..id = 2 ..name = 'beto' ..password = 'beto' ..roles = ['PUBLIC'] }; @Post voi...
part of drails_example; Map<int, User> users = { 1: new User() ..id = 1 ..name = 'lulo' ..password = 'lulo' ..roles = ['ADMIN'], 2: new User() ..id = 2 ..name = 'beto' ..password = 'beto' ..roles = ['PUBLIC'] }; bool hasRolePublicOrAdmin(user, AuthorizeIf me) => user.roles.any...
Remove LoginController to use fast Mapping
Remove LoginController to use fast Mapping
Dart
apache-2.0
drails-dart/Drails,luisvt/Drails
318ed92e1ec6d02ae7473bf240a056ef02a6b922
web/deck/rank.dart
web/deck/rank.dart
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of freecell.deck; class Rank { static get all => [ new Rank(1), new Rank(2), new Rank(3), new Rank(4), new Rank(5), new Ra...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of freecell.deck; class Rank { static get all => [ new Rank(1), new Rank(2), new Rank(3), new Rank(4), new Rank(5), new Ra...
Rewrite Rank.serialization to use a switch.
Rewrite Rank.serialization to use a switch.
Dart
bsd-3-clause
abarth/freecell,abarth/freecell
df4cbd401eac4028b8f78f464ed5877045b5f1bd
lib/features/statistics/data/datasources/statistics_data_source.dart
lib/features/statistics/data/datasources/statistics_data_source.dart
import 'package:meta/meta.dart'; import '../../../../core/api/tautulli_api.dart'; import '../../domain/entities/statistics.dart'; import '../models/statistics_model.dart'; abstract class StatisticsDataSource { Future<Map<String, List<Statistics>>> getStatistics({ @required String tautulliId, int grouping, ...
import 'package:meta/meta.dart'; import '../../../../core/api/tautulli_api.dart'; import '../../domain/entities/statistics.dart'; import '../models/statistics_model.dart'; abstract class StatisticsDataSource { Future<Map<String, List<Statistics>>> getStatistics({ @required String tautulliId, int grouping, ...
Sort statistics items based on API response order.
Sort statistics items based on API response order.
Dart
mit
wcomartin/PlexPy-Remote
db0df834b9e0be1762e565a65735f9ac59dab762
test/tests/zlib_test.dart
test/tests/zlib_test.dart
import 'package:archive/archive.dart'; import 'package:test/test.dart'; void main() { final buffer = List<int>(10000); for (var i = 0; i < buffer.length; ++i) { buffer[i] = i % 256; } test('encode/decode', () { final compressed = ZLibEncoder().encode(buffer); final decompressed = ...
import 'package:archive/archive.dart'; import 'package:test/test.dart'; void main() { final buffer = List<int>(10000); for (var i = 0; i < buffer.length; ++i) { buffer[i] = i % 256; } test('encode/decode', () { final compressed = ZLibEncoder().encode(buffer); final decompressed = ZLibDe...
Add test for zlib raw encode/decode
Add test for zlib raw encode/decode
Dart
mit
brendan-duncan/archive,brendan-duncan/archive
55df680cfbb49b273c5af7d3810a9ae6efe893b1
lib/src/application.dart
lib/src/application.dart
part of valorzhong_bones; class Application { static final Application _singleton = new Application._internal(); static Application get instance => _singleton; factory Application() => _singleton; Stage _stage; RenderLoop _renderLoop; List<Screen> _screens; Injector _injector; Application._internal(...
part of valorzhong_bones; class Application { static final Application _singleton = new Application._internal(); static Application get instance => _singleton; factory Application() => _singleton; Stage _stage; RenderLoop _renderLoop; List<Screen> _screens; Injector _injector; Application._internal(...
Add map method to Application
Add map method to Application
Dart
bsd-2-clause
games/bones
69cc1dba484795c24d8c287f1e76559bb140a313
lib/posts/widgets/posts_populated.dart
lib/posts/widgets/posts_populated.dart
import 'package:blog/posts/posts.dart'; import 'package:blog/widgets/widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; class PostsPopulated extends StatelessWidget { const PostsPopulated({Key? key, required this.posts}) : super(key: key); final List<Po...
import 'package:blog/posts/posts.dart'; import 'package:blog/widgets/widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_markdown/flutter_markdown.dart'; import 'package:url_launcher/url_launcher.dart'; class PostsPopulated extends StatelessWidget { const PostsPopulated({Key? key, required...
Adjust markdown links and text selectable
Adjust markdown links and text selectable
Dart
mit
castrors/castrors.github.io,castrors/castrors.github.io,castrors/castrors.github.io,castrors/castrors.github.io,castrors/castrors.github.io
6dd1a041c56ddf1c6bbc07ace2d76d0d418a587e
lib/colorful.dart
lib/colorful.dart
// Copyright (c) 2015, <Martin Haesler>. All rights reserved. Use of this source code // is governed by a BSD-style license that can be found in the LICENSE file. /// The colorful library. library colorful; import 'package:color/color.dart'; import 'dart:math'; class ColorPalette { final int size; List<Color> co...
// Copyright (c) 2015, <Martin Haesler>. All rights reserved. Use of this source code // is governed by a BSD-style license that can be found in the LICENSE file. /// The colorful library. library colorful; import 'package:color/color.dart'; import 'dart:math'; class ColorPalette { final int size; final double s...
Add fields for saturation and lightness.
Add fields for saturation and lightness.
Dart
bsd-3-clause
mswift42/colorful
a7de4384d67c23a4a395cfe8e748ba1a685ede9e
tests/corelib_2/reg_exp_cache_test.dart
tests/corelib_2/reg_exp_cache_test.dart
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Runs several similar regexps in a loop to see if an internal cache works (at // least in easy condit...
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Runs several similar regexps in a loop to see if an internal cache works (at // least in easy condit...
Reduce number of iterations for the regexp-cache test.
Reduce number of iterations for the regexp-cache test. Review-Url: https://codereview.chromium.org/2988103002 .
Dart
bsd-3-clause
dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dar...
a17e7bc03a94b022dfa8ba8507df63d33ecf7b11
bin/server.dart
bin/server.dart
// Copyright (c) 2016 P.Y. Laligand import 'dart:io' show Platform; import 'dart:async' show runZoned; import 'package:shelf/shelf.dart' as shelf; import 'package:shelf/shelf_io.dart' as io; import 'package:shelf_route/shelf_route.dart'; import '../lib/slack_middleware.dart'; import '../lib/trials_handler.dart'; vo...
// Copyright (c) 2016 P.Y. Laligand import 'dart:io' show Platform; import 'dart:async' show runZoned; import 'package:shelf/shelf.dart' as shelf; import 'package:shelf/shelf_io.dart' as io; import 'package:shelf_route/shelf_route.dart'; import '../lib/slack_middleware.dart'; import '../lib/trials_handler.dart'; vo...
Use the token for realsies
Use the token for realsies
Dart
mit
pylaligand/destiny-slack-bot,pylaligand/destiny-slack-bot
28c43eaeab9bcef4c7c4e4bdec7291a53d0f1d5c
pkg/kernel/testcases/reify/generic_methods_shadowing_test.dart
pkg/kernel/testcases/reify/generic_methods_shadowing_test.dart
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that type parameters in generic methods can be shadowed. library generic_methods_shadowing_tes...
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that type parameters in generic methods can be shadowed. library generic_methods_shadowing_tes...
Fix kernel test case format error.
Fix kernel test case format error. BUG= R=asgerf@google.com Review-Url: https://codereview.chromium.org/2766963002 .
Dart
bsd-3-clause
dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dar...
d75a60f4af7bfb7946ebb4048395a878480b85f5
runtime/lib/bool_patch.dart
runtime/lib/bool_patch.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Dart core library. patch class bool { /* patch */ int get hashCode { return this ? 1231 : ...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Dart core library. patch class bool { int get hashCode { return this ? 1231 : 1237; } }
Remove unnecessary, performance degrading equality override in class bool.
Remove unnecessary, performance degrading equality override in class bool. R=zra@google.com Review URL: https://codereview.chromium.org//21042010 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@25627 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sd...
e55940b6c542dcd41481347f6db195d293780400
lib/src/commands/update.dart
lib/src/commands/update.dart
part of darn; class UpdateCommand extends Command { @override ArgParser get arguments => new ArgParser(); @override String get name => "update"; @override void run(ArgResults args) { executeCommands([ "gclient sync -n", "gclient runhooks" ]); } }
part of darn; class UpdateCommand extends Command { @override ArgParser get arguments => new ArgParser(); @override String get name => "update"; @override void run(ArgResults args) { verifyDartSource(); executeCommands([ "gclient sync -n", "gclient runhooks" ]); } }
Verify Dart Source Directory for Update Command
Verify Dart Source Directory for Update Command
Dart
mit
DirectMyFile/darn
62715d50aa05cde3c9d87f965ba23667f4c3faf4
lib/routing/recipe_book_router.dart
lib/routing/recipe_book_router.dart
library recipe_book_routing; import 'package:angular/angular.dart'; void recipeBookRouteInitializer(Router router, RouteViewFactory views) { views.configure({ 'add': ngRoute( path: '/add', view: 'view/addRecipe.html'), 'recipe': ngRoute( path: '/recipe/:recipeId', mount: { ...
library recipe_book_routing; import 'package:angular/angular.dart'; void recipeBookRouteInitializer(Router router, RouteViewFactory views) { views.configure({ 'add': ngRoute( path: '/add', view: 'view/addRecipe.html'), 'recipe': ngRoute( path: '/recipe/:recipeId', mount: { ...
Test use HTMl inside view
Test use HTMl inside view Signed-off-by: Andrés Amado <883768b6dd2c42aea0031b24be8a2da40fef4b64@uppoints.com>
Dart
bsd-3-clause
acactown/angulardart-simple-module,acactown/angulardart-simple-module
a9ece3f7aace8b170504a4f518e8ff229deb3702
lib/quiz_request_sink.dart
lib/quiz_request_sink.dart
part of quiz; // RequestSunk is one of the base classes in the Aqueduct pipeline class QuizRequestSink extends RequestSink { // Configuration loaded by Dart library safe_config static String ConfigurationKey = "QuizRequestSink.Configuration"; QuizRequestSink(Map<String, dynamic> options) : super(options) { ...
part of quiz; // RequestSunk is one of the base classes in the Aqueduct pipeline class QuizRequestSink extends RequestSink { // Configuration loaded by Dart library safe_config static String ConfigurationKey = "QuizRequestSink.Configuration"; final Logger log = new Logger('QuizRequestSink'); QuizRequestSink(M...
Add a standard logger for debugging purposes.
Add a standard logger for debugging purposes.
Dart
mit
woopla/angueduct,woopla/angueduct
50ce57e95a0ee4d6e6a1e9f58ee43b350798a187
example/play_sound.dart
example/play_sound.dart
import 'dart:io'; import 'package:ffi/ffi.dart'; import 'package:win32/win32.dart'; void main() { print('Type the audio file path.'); final file = stdin.readLineSync(); final result = PlaySound(Utf16.toUtf16(file), NULL, SND_FILENAME | SND_ASYNC); print('Press any button to continue'); stdin .readByte...
import 'dart:io'; import 'package:ffi/ffi.dart'; import 'package:win32/win32.dart'; void main() { print('Type the audio file path.'); final file = stdin.readLineSync(); if (file != null && File(file).existsSync()) { final result = PlaySound(Utf16.toUtf16(file), NULL, SND_FILENAME | SND_ASYNC); p...
Fix in-progress sample for null safety
Fix in-progress sample for null safety
Dart
bsd-3-clause
timsneath/win32,timsneath/win32,timsneath/win32
0d55a63281e698ca7f78b2a2efb5f16cf7efe90a
lib/client_backend.dart
lib/client_backend.dart
// Copyright (c) 2013, the Clean project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. /** * A library for server-client communication and interaction * Client(Browser) side */ library c...
// Copyright (c) 2013, the Clean project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. /** * A library for server-client communication and interaction * Client(Browser) side */ library c...
Make authenticatedUserId be optional parameter.
Make authenticatedUserId be optional parameter.
Dart
bsd-2-clause
cleandart/clean_ajax
0dc7c432a2e9406a57d57a7f3cc104193c23e7a9
lib/src/types/timestamp.dart
lib/src/types/timestamp.dart
part of bson; class Timestamp extends BsonObject{ int seconds; int increment; Timestamp([this.seconds,this.increment]){ if (seconds == null){ seconds = (new DateTime.now().millisecondsSinceEpoch ~/ 1000).toInt(); } if (increment == null){ increment = _Statics.nextIncrement; } } get...
part of bson; class Timestamp extends BsonObject{ int seconds; int increment; Timestamp([this.seconds,this.increment]){ if (seconds == null){ seconds = (new DateTime.now().millisecondsSinceEpoch ~/ 1000).toInt(); } if (increment == null){ increment = _Statics.nextIncrement; } } get...
Add missing typeByte getter on Timestamp class
Add missing typeByte getter on Timestamp class
Dart
mit
mongo-dart/bson,mongo-dart/bson,sestegra/bson,vadimtsushko/bson,sestegra/bson,vadimtsushko/bson
11d8ee92145ec4f2ccf85b6ccc3e0ae498b56da0
app/services/session_service.dart
app/services/session_service.dart
part of app; @Injectable() class SessionService { final SessionResource _sessionResource; final SessionToken _sessionToken; Completer _completer = new Completer(); Future get initialized => _completer.future; Session _session; SessionService(this._sessionResource, this._sessionToken) { if (_sessionT...
part of app; @Injectable() class SessionService { final SessionResource _sessionResource; final SessionToken _sessionToken; Completer _completer = new Completer(); Future get initialized => _completer.future; Session _session; SessionService(this._sessionResource, this._sessionToken) { if (_sessionT...
Add function for checking, if session still exists
Add function for checking, if session still exists
Dart
bsd-3-clause
kytarovy-zpevnik/frontend,kytarovy-zpevnik/frontend,kytarovy-zpevnik/frontend,kytarovy-zpevnik/frontend
ba2afba4834cd3c606f2221ded1e48bd14f8f442
lib/src/environment_aware_app.dart
lib/src/environment_aware_app.dart
import 'package:flutter/material.dart'; /// A [MaterialApp] that inherits its [MediaQuery] and applies the /// [platform] from its ancestors to default Material dark and light themes. /// /// This class makes it easier to write Scenes that interact well with the /// environment manipulation feature provided by [Stager...
import 'package:flutter/material.dart'; /// A [MaterialApp] that inherits its [MediaQuery] and applies the /// [platform] from its ancestors to default Material dark and light themes. /// /// This class makes it easier to write Scenes that interact well with the /// environment manipulation feature provided by [Stager...
Add localizationsDelegates param to EnvironmentAwareApp
Add localizationsDelegates param to EnvironmentAwareApp
Dart
mit
bryanoltman/stager,bryanoltman/stager,bryanoltman/stager,bryanoltman/stager,bryanoltman/stager,bryanoltman/stager
60cba24f86b3503e6b596188f69bbcf1d9392f9e
tests/lib/async/timer_regress22626_test.dart
tests/lib/async/timer_regress22626_test.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that no wakeups are being dropped if we cancel timers. // WARNING: For this test to work it can...
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that no wakeups are being dropped if we cancel timers. // WARNING: For this test to work it can...
Make timer test more robust.
Make timer test more robust. This would fail, if the cancel() call would not be executed in time. Give it a little extra time to make intermittent failures go away. BUG= R=johnmccutchan@google.com Review URL: https://codereview.chromium.org/2075793002 .
Dart
bsd-3-clause
dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk...
fdabbd14f9e23536a8f8a67a3a42295dffd89dd8
sdk/lib/_collection_dev/collection_dev.dart
sdk/lib/_collection_dev/collection_dev.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library dart._collection.dev; import 'dart:collection'; part 'arrays.dart'; part 'iterable.dart'; par...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library dart._collection.dev; import 'dart:collection'; part 'arrays.dart'; part 'iterable.dart'; par...
Remove deprecated declaration in collections_dev.
Remove deprecated declaration in collections_dev. Review URL: https://codereview.chromium.org//14046019 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@21448 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-...
3b36ff2ca7dc6e3c95c2e5978041e4ce4729c28c
lib/rtc_peerconnection_factory.dart
lib/rtc_peerconnection_factory.dart
import 'dart:async'; import 'package:flutter/services.dart'; import 'rtc_peerconnection.dart'; import 'utils.dart'; Future<RTCPeerConnection> createPeerConnection(Map<String,dynamic> configuration, Map<String,dynamic> constraints) async { MethodChannel channel = WebRTC.methodChannel(); Map<String, dynamic> defaul...
import 'dart:async'; import 'package:flutter/services.dart'; import 'rtc_peerconnection.dart'; import 'utils.dart'; Future<RTCPeerConnection> createPeerConnection(Map<String, dynamic> configuration, Map<String, dynamic> constraints) async { MethodChannel channel = WebRTC.methodChannel(); Map<String, dynamic> defa...
Fix indentation in peer connection factory
Fix indentation in peer connection factory
Dart
mit
flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc,flutter-webrtc/flutter-webrtc
940303e9c596aa6a526f4844f8adf6cc1643a13d
lib/core/types/media_type.dart
lib/core/types/media_type.dart
enum MediaType { album, clip, collection, episode, movie, photo, playlist, season, show, track, unknown, }
enum MediaType { album, artist, clip, collection, episode, movie, photo, playlist, season, show, track, unknown, }
Add artist option to MediaType type.
Add artist option to MediaType type.
Dart
mit
wcomartin/PlexPy-Remote
8d23d34e98550e93f85e47156ef9b40dc1443e5e
tool/hop_runner.dart
tool/hop_runner.dart
library hop_runner; import 'dart:async'; import "dart:io"; import 'package:hop/hop.dart'; import 'package:hop/hop_tasks.dart'; import 'package:yaml/yaml.dart'; part 'docgen.dart'; part 'utils.dart'; part 'version.dart'; void main(List<String> args) { addTask("docs", createDocGenTask(".")); addTask("analyze", cr...
library hop_runner; import 'dart:async'; import "dart:io"; import 'package:hop/hop.dart'; import 'package:hop/hop_tasks.dart'; import 'package:yaml/yaml.dart'; part 'docgen.dart'; part 'utils.dart'; part 'version.dart'; void main(List<String> args) { addTask("docs", createDocGenTask(".")); addTask("analyze", cr...
Add Dependency on `version` for `publish`
Add Dependency on `version` for `publish`
Dart
mit
DirectMyFile/irc.dart,DirectMyFile/irc.dart
b0f1c578066c332eaa482e0efc05464b48210bba
lib/features/settings/presentation/widgets/list_tiles/checkbox_settings_list_tile.dart
lib/features/settings/presentation/widgets/list_tiles/checkbox_settings_list_tile.dart
import 'package:flutter/material.dart'; class CheckboxSettingsListTile extends StatelessWidget { final bool subtitleIsTwoLines; final Widget leading; final String title; final String? subtitle; final bool value; final Function(bool?)? onChanged; const CheckboxSettingsListTile({ Key? key, this.su...
import 'package:flutter/material.dart'; class CheckboxSettingsListTile extends StatelessWidget { final bool titleIsTwoLines; final bool subtitleIsTwoLines; final Widget leading; final String title; final String? subtitle; final bool value; final Function(bool?)? onChanged; const CheckboxSettingsListTi...
Allow the title to be two lines.
Allow the title to be two lines.
Dart
mit
wcomartin/PlexPy-Remote
d08d5c34397b71d5a81bbd4c5ac26413558c6ff2
lib/model/ui/item_sorter.dart
lib/model/ui/item_sorter.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:collection'; import 'package:angular_components/model/ui/has_renderer.dart'; /// Sorts a...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:collection'; import 'package:angular_components/model/ui/has_renderer.dart'; /// Returns...
Fix columns to be ordered alphabetically by columnGroup first, then by display name.
Fix columns to be ordered alphabetically by columnGroup first, then by display name. PiperOrigin-RevId: 177896573
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
a9ef4b281c6b6b68d7e2b85c3c251e7e613359c1
mdtest/lib/src/base/common.dart
mdtest/lib/src/base/common.dart
// Copyright 2016 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. const String defaultTempSpecsName = 'tmp.spec'; const String defaultCodeCoverageDirectoryPath = 'coverage/code_coverage';
// Copyright 2016 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. const String defaultTempSpecsName = 'tmp.spec'; const String defaultCodeCoverageDirectoryPath = 'code_coverage';
Change code coverage report locatoin
Change code coverage report locatoin Change-Id: Id227eb638061c4f82b26a9ccb664e1613270af31
Dart
bsd-3-clause
kaiyuanw/mdtest,kaiyuanw/mdtest,kaiyuanw/mdtest
415b64c25db302d0b04959dbc4bf2838b4d8b43e
lib/playfair.dart
lib/playfair.dart
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/rendering.dart'; import 'package:sky/theme/typography.dart';...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; import ...
Update imports after material.dart rename
Update imports after material.dart rename
Dart
bsd-3-clause
devoncarew/playfair,devoncarew/playfair
1cf1476ef9a2da6d80cae1759722c727790fa6da
tests/language/src/SuperCall3Test.dart
tests/language/src/SuperCall3Test.dart
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Dart test for testing implicit super calls with bad arguments or no default // constructor in super c...
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Dart test for testing implicit super calls with bad arguments or no default // constructor in super c...
Remove bad semicolon in negative test.
Remove bad semicolon in negative test. Review URL: https://chromiumcodereview.appspot.com//9972016 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@6594 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-s...
08b0b8b540ac91223828e9384b472c5854f88f31
sdk/lib/framework/painting/shadows.dart
sdk/lib/framework/painting/shadows.dart
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:sky' as sky; /// Helper class to build a Paint DrawLooper that adds shadows to the Paint's /// operation. class ShadowDrawLooperBuilder { ...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:sky' as sky; /// Helper class to build a Paint DrawLooper that adds shadows to the Paint's /// operation. class ShadowDrawLooperBuilder { ...
Fix crash in stocks2 app caused by unspecified PaintBits.
Fix crash in stocks2 app caused by unspecified PaintBits. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1182613002.
Dart
bsd-3-clause
jamesr/flutter_engine,tvolkert/engine,jamesr/sky_engine,zhangxq5012/sky_engine,mpcomplete/flutter_engine,chinmaygarde/flutter_engine,qiankunshe/sky_engine,Hixie/sky_engine,xunmengfeng/engine,devoncarew/engine,mxia/engine,jason-simmons/sky_engine,jimsimon/sky_engine,mpcomplete/flutter_engine,aam/engine,mdakin/engine,dev...
9f01e687c8729f8d175202f3997ddc1a5de71ebe
tests/language_strong/interface_inherit_field_test.dart
tests/language_strong/interface_inherit_field_test.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that it is legal to override a field with a field in an interface. abstract class IA { final...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // Test that it is legal to override a field with a field in an interface. abstract class IA { final...
Mark uninitialized final fields as expecting a warning
Mark uninitialized final fields as expecting a warning R=scheglov@google.com Review-Url: https://codereview.chromium.org/2730703004 .
Dart
bsd-3-clause
dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk...
e5852eac84da0ceab6b3a263f530b62370bd4fdb
lib/src/laminate/components/modal/modal_controller_directive.dart
lib/src/laminate/components/modal/modal_controller_directive.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/laminate/overlay/overlay.dart...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/laminate/overlay/overlay.dart...
Remove visibility.all from @Component annotations. This is potentially BREAKING change.
Remove visibility.all from @Component annotations. This is potentially BREAKING change. Please review carefully. Breakage will only be caught if the code is covered by tests. Reject this change if you believe it breaks you. If the component needs to be injected anywhere in the app, you can get a runtime exception aft...
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
a3b042865b048381310696e409ad3536170e55ad
lib/src/source_gen/common/references.dart
lib/src/source_gen/common/references.dart
import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/dart/element/type.dart'; import 'package:code_builder/code_builder.dart'; ReferenceBuilder toBuilder(DartType type, List<ImportElement> imports) => reference(type.name, _importFrom(type, imports)) .toTyped(_coerceTypeArgs(type, i...
import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/dart/element/type.dart'; import 'package:analyzer/src/dart/resolver/scope.dart'; import 'package:code_builder/code_builder.dart'; ReferenceBuilder toBuilder(DartType type, List<ImportElement> imports) => reference(type.name, _importFrom(...
Use NamespaceBuilder to properly handle show/hide combinators.
SourceGen: Use NamespaceBuilder to properly handle show/hide combinators. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152522980
Dart
mit
matanlurey/angular,matanlurey/angular,angulardart/angular,matanlurey/angular,chalin/angular2,kevmoo/angular,kevmoo/angular,chalin/angular2,chalin/angular2,kevmoo/angular,angulardart/angular,angulardart/angular
69aac4acaab8b7011e3001180478b79e85070706
lib/icon_data.dart
lib/icon_data.dart
library font_awesome_flutter; import 'package:flutter/widgets.dart'; class IconDataBrands extends IconData { const IconDataBrands(int codePoint) : super( codePoint, fontFamily: 'FontAwesomeBrands', fontPackage: 'font_awesome_flutter', ); } class IconDataSolid extends Ico...
library font_awesome_flutter; import 'package:flutter/widgets.dart'; class IconDataBrands extends IconData { const IconDataBrands(int codePoint) : super( codePoint, fontFamily: 'FontAwesomeBrands', fontPackage: 'font_awesome_flutter', ); } class IconDataSolid extends Ico...
Update IconDatas to allow light, pro icons
Update IconDatas to allow light, pro icons
Dart
mit
brianegan/font_awesome_flutter,brianegan/font_awesome_flutter,brianegan/font_awesome_flutter
8310875c46a7d20bda3a69982ef3c4d73fd3c66b
lib/app/views/responsive_dialog.dart
lib/app/views/responsive_dialog.dart
import 'package:flutter/material.dart'; class ResponsiveDialog extends StatelessWidget { final Widget? title; final Widget child; final List<Widget> actions; final Function()? onCancel; const ResponsiveDialog( {Key? key, required this.child, this.title, this.actions = const [], ...
import 'package:flutter/material.dart'; class ResponsiveDialog extends StatefulWidget { final Widget? title; final Widget child; final List<Widget> actions; final Function()? onCancel; const ResponsiveDialog( {Key? key, required this.child, this.title, this.actions = const [], ...
Improve retaining state for children of ResponsiveDialog.
Improve retaining state for children of ResponsiveDialog.
Dart
apache-2.0
Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop
fe153f179a0e7c17124eee385eadafd061d78585
examples/raw/shadowed_box.dart
examples/raw/shadowed_box.dart
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:sky'; import 'package:sky/framework/app.dart'; import 'package:sky/framework/rendering/box.dart'; import 'package:sky/framework/rendering/fle...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:sky'; import 'package:sky/framework/app.dart'; import 'package:sky/framework/rendering/box.dart'; import 'package:sky/framework/rendering/fle...
Add LinearBoxGradient and RadialBoxGradient decorations for RenderDecoratedBox.
Add LinearBoxGradient and RadialBoxGradient decorations for RenderDecoratedBox. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1175763002.
Dart
bsd-3-clause
Hixie/flutter,tvolkert/flutter,tvolkert/flutter,cbracken/flutter,Hixie/flutter,tvolkert/flutter,tvolkert/flutter,tvolkert/flutter,Hixie/flutter,Hixie/flutter,turnidge/flutter,cbracken/flutter,tvolkert/flutter,flutter/flutter,Hixie/flutter,aghassemi/flutter,flutter/flutter,flutter/flutter,flutter/flutter,cbracken/flutte...
cf3be14b9ba60bb4624e40c34a9e22d94faa15a3
tests/standalone/io/test_harness_analyzer_test.dart
tests/standalone/io/test_harness_analyzer_test.dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import '../../../tools/test.dart' as test_dart; import '../../../tools/testing/dart/launch_browser.dart...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import '../../../tools/testing/dart/main.dart' as test_dart; import '../../../tools/testing/dart/launch...
Fix path to test.dart in analyzer test for it.
Fix path to test.dart in analyzer test for it. Review-Url: https://codereview.chromium.org/2854283002 .
Dart
bsd-3-clause
dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart...
2305af85c8e189c7c1f96dd61da4e963b4469a80
src/lib/pin/utility/utility.dart
src/lib/pin/utility/utility.dart
part of pin; class PinUtility { static void setCwdToRoot([String relative = '']) { String root = LibPath.join(LibPath.dirname(Platform.script.toFilePath()), relative); PinLogger.instance.fine('[PinUtility] Set Directory.current to: $root'); Directory.current = root; } static void validate(bool co...
part of pin; class PinUtility { static void setCwdToRoot([String relative = '']) { String root = LibPath.join(LibPath.dirname(Platform.script.toFilePath()), relative); PinLogger.instance.fine('[PinUtility] Set Directory.current to: $root'); Directory.current = root; } static void validate(bool co...
Use future replace the completer.
Use future replace the completer.
Dart
mit
agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart,agreatfool/Cart
32619bac85c8648d955f494e4578b00cbbad7b68
app/controllers/sign_in_controller.dart
app/controllers/sign_in_controller.dart
part of app; @Controller(selector: '[sign-in]', publishAs: 'ctrl') class SignInController { final SessionService _sessionService; final Router _router; final MessageService _messageService; String identifier; String password; bool longLife = false; SignInController(this._sessionService, this._router, t...
part of app; @Controller(selector: '[sign-in]', publishAs: 'ctrl') class SignInController { final SessionService _sessionService; final Router _router; final MessageService _messageService; final NotificationService _notificationService; String identifier; String password; bool longLife = false; Sign...
Load notifications after signing in
Load notifications after signing in
Dart
bsd-3-clause
kytarovy-zpevnik/frontend,kytarovy-zpevnik/frontend,kytarovy-zpevnik/frontend,kytarovy-zpevnik/frontend
998df192346456a5f96c3637df9cbd4723a4a7d0
lib/focus/focus_activable_item.dart
lib/focus/focus_activable_item.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:html'; import 'package:angular/angular.dart'; import 'package:angular_components/focus/fo...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:html'; import 'package:angular/angular.dart'; import 'package:angular_components/focus/fo...
Remove visibility.all from @Component annotations. This is potentially BREAKING change.
Remove visibility.all from @Component annotations. This is potentially BREAKING change. Please review carefully. Breakage will only be caught if the code is covered by tests. Reject this change if you believe it breaks you. If the component needs to be injected anywhere in the app, you can get a runtime exception aft...
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
71f2c748f11fcaad5e58bc219c28137ac586df65
lib/src/rate_limiting_window.dart
lib/src/rate_limiting_window.dart
/// A representation of the abstract "rate-limiting window" in which /// a [user] is accessing some API or endpoint. class RateLimitingWindow<User> { /// The user who is accessing the endpoint. final User user; /// The time at which the user's current window began. final DateTime start; /// The number of re...
/// A representation of the abstract "rate-limiting window" in which /// a [user] is accessing some API or endpoint. class RateLimitingWindow<User> { /// The user who is accessing the endpoint. final User user; /// The time at which the user's current window began. final DateTime start; /// The number of re...
Add point info to window
Add point info to window
Dart
mit
angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel,angel-dart/angel
9634fb3c4135a5222eb4ce432e9b6d76741ef343
tests/compiler/dart2js/unparser_test.dart
tests/compiler/dart2js/unparser_test.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #import('parser_helper.dart'); #import("../../../lib/compiler/implementation/tree/tree.dart"); testUnp...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #import('parser_helper.dart'); #import("../../../lib/compiler/implementation/tree/tree.dart"); testUnp...
Add a test for empty list literal unparse.
Add a test for empty list literal unparse. R=ahe@google.com,johnniwither@google.com,smok@google.com Review URL: https://chromiumcodereview.appspot.com//10579017 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@8857 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/...
65e142e7279e79b2975ee25739fa224f309aaea1
Language/Statements/Continue/label_t07.dart
Language/Statements/Continue/label_t07.dart
/* * Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file * for details. All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE file. */ /** * @assertion Let sc be a continue statement. If sc is of the form continue L;, * then let s...
/* * Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file * for details. All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE file. */ /** * @assertion Let sc be a continue statement. If sc is of the form continue L;, * then let s...
Debug output removed and issue number added
Debug output removed and issue number added
Dart
bsd-3-clause
dart-lang/co19,dart-lang/co19,dart-lang/co19
9c3fdfb4670a4568e0729dadc81ccbe3e5d20149
tests/standalone/io/console_test.dart
tests/standalone/io/console_test.dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "dart:convert"; import "dart:io"; import "package:expect/expect.dart"; void main() { var scr...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "dart:convert"; import "dart:io"; import "package:expect/expect.dart"; void main() { var scr...
Fix console test for Windows
Fix console test for Windows TBR=iposva@google.com BUG= Review URL: https://codereview.chromium.org//736733002 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@41804 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lan...
362d3a953103dd8375c4c390d641b886adf55031
lib/src/qr_image.dart
lib/src/qr_image.dart
/* * QR.Flutter * Copyright (c) 2019 the QR.Flutter authors. * See LICENSE for distribution and usage details. */ import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:qr/qr.dart'; import 'qr_painter.dart'; class QrImage extends StatelessWidget { QrImage({ @require...
/* * QR.Flutter * Copyright (c) 2019 the QR.Flutter authors. * See LICENSE for distribution and usage details. */ import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:qr/qr.dart'; import 'qr_painter.dart'; class QrImage extends StatelessWidget { QrImage({ @require...
Allow setting a Key value on QrImage
Allow setting a Key value on QrImage
Dart
bsd-3-clause
theyakka/qr.flutter,lukef/qr.flutter,theyakka/qr.flutter,lukef/qr.flutter,lukef/qr.flutter,theyakka/qr.flutter,lukef/qr.flutter,theyakka/qr.flutter
e5f118d19451a9af525e963e2d4d0a3585709121
pkg/dev_compiler/lib/src/js_ast/js_ast.dart
pkg/dev_compiler/lib/src/js_ast/js_ast.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // @dart = 2.9 // ignore_for_file: directives_ordering // ignore_for_file: library_prefixes library j...
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // @dart = 2.9 // ignore_for_file: directives_ordering library js_ast; export 'nodes.dart'; export '...
Remove an unneeded ignore comment in dev_compiler
Remove an unneeded ignore comment in dev_compiler Change-Id: I90d4ee37e1599ad6981b379ca35c282efef923eb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/238982 Reviewed-by: Nicholas Shahan <03847abd2d8aadfe859ecb98095a31f9f515dc47@google.com> Commit-Queue: Nicholas Shahan <03847abd2d8aadfe859ecb98095a31f9f515d...
Dart
bsd-3-clause
dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk
47e11951a83ff5dc2cdce3fe63ea9f806cb715bf
pkg/analyzer/test/src/hint/test_all.dart
pkg/analyzer/test/src/hint/test_all.dart
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'sdk_version_async_exported...
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'sdk_constraint_extractor_t...
Add a missed test file
Add a missed test file Change-Id: Ica4bdb1120bebfd71bd893ecad330e00fddbf5ce Reviewed-on: https://dart-review.googlesource.com/c/84689 Reviewed-by: Konstantin Shcheglov <09e4d7516628963212bf4aace2f97603d2b706e4@google.com> Commit-Queue: Brian Wilkerson <1f7641b6b14c52b9163524ab8d9aabff80176f21@google.com>
Dart
bsd-3-clause
dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archi...
c22617a335c9a434d5a4f0d7783e357eb9516dda
tests/language/lazy_static4_test.dart
tests/language/lazy_static4_test.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. final x = foo(499); final y = foo(41) + 1; final t = bar(499); final u = bar(41) + 1; final v = bar("s...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. final x = foo(499); final y = foo(41) + 1; final t = bar(499); final u = bar(41) + 1; final v = bar("s...
Address comment of CL 10914097 .
Address comment of CL 10914097 . Review URL: https://chromiumcodereview.appspot.com//10919097 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@11875 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,da...
cbacc3e60673a73657772f25fec29d03afe096ce
lib/src/ui/source-path.dart
lib/src/ui/source-path.dart
// Copyright 2014 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
// Copyright 2014 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
Fix inline path bread crumbs control
Fix inline path bread crumbs control
Dart
apache-2.0
modulexcite/irhydra,mraleph/irhydra,mraleph/irhydra,modulexcite/irhydra,modulexcite/irhydra,modulexcite/irhydra,mraleph/irhydra
ecad39660a63c3745c575d247f80088e0c429fd4
test/dynamic_color_builder_test.dart
test/dynamic_color_builder_test.dart
import 'package:dynamic_color/dynamic_color.dart'; import 'package:dynamic_color/samples.dart'; import 'package:dynamic_color/test_utils.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { TestWidgetsFlutterBinding.ensureInitialized(); testWidgets('Dynamic...
import 'package:dynamic_color/dynamic_color.dart'; import 'package:dynamic_color/samples.dart'; import 'package:dynamic_color/test_utils.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { TestWidgetsFlutterBinding.ensureInitialized(); setUp(() { Dynam...
Improve testing coverage for `DynamicColorBuilder`
Improve testing coverage for `DynamicColorBuilder`
Dart
bsd-3-clause
material-foundation/material-dynamic-color-flutter,material-foundation/material-dynamic-color-flutter,material-foundation/material-dynamic-color-flutter,material-foundation/material-dynamic-color-flutter,material-foundation/material-dynamic-color-flutter,material-foundation/material-dynamic-color-flutter,material-found...
33e266852e48f1619ae3b0a632465da71a8061bf
lib/src/annotations.dart
lib/src/annotations.dart
// Copyright (c) 2014, Robert Åkerblom-Andersson <Robert@dartvoid.com> part of vane; /// Http methods constants, declared for easy use with code completion and to /// avoid typos. const String GET = "GET"; const String HEAD = "HEAD"; const String POST = "POST"; const String PUT = "PUT"; const String...
// Copyright (c) 2014, Robert Åkerblom-Andersson <Robert@dartvoid.com> part of vane; /// Http methods constants, declared for easy use with code completion and to /// avoid typos. const String GET = "GET"; const String HEAD = "HEAD"; const String POST = "POST"; const String PUT = "PUT"; const String...
Fix a typo in the API doc
Fix a typo in the API doc
Dart
bsd-3-clause
Scorpiion/vane
4ecf17c07c65a3fccc5adceda89482d8a1b952c4
angular_components/lib/mixins/track_layout_changes.dart
angular_components/lib/mixins/track_layout_changes.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; /** * Mixin for trackLayoutChanges property pass through to ma...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; /// Mixin for trackLayoutChanges property pass through to mater...
Fix violations of slash_for_doc_comments lint
Fix violations of slash_for_doc_comments lint Created using "dartfmt --fix-doc-comments -w". PiperOrigin-RevId: 230878513
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
eb13da003f6205388da6a3a338be11e4a45004d0
lib/app/views/app_page.dart
lib/app/views/app_page.dart
import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'device_button.dart'; import 'main_drawer.dart'; class AppPage extends ConsumerWidget { final Key _scaffoldKey = GlobalKey(); final Widget? title; final Widget child; final void Function()? onBack; AppPag...
import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'device_button.dart'; import 'main_drawer.dart'; class AppPage extends ConsumerWidget { final Key _scaffoldKey = GlobalKey(); final Widget? title; final Widget child; final void Function()? onBack; AppPag...
Make ListTile use the drawer style when drawer is embedded.
Make ListTile use the drawer style when drawer is embedded.
Dart
apache-2.0
Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop
71e4ff527aa0953fa105193dcc6ed93ee7ec7779
lib/src/commands/build.dart
lib/src/commands/build.dart
part of darn; class BuildCommand extends Command { @override ArgParser get arguments => new ArgParser() ..addFlag("verbose", abbr: "v", defaultsTo: false, negatable: false, help: "Enables Verbose Output") ..addOption("arch", abbr: "a", allowed: POSSIBLE_ARCHS, allowMultiple: false, defaultsTo: "ia3...
part of darn; class BuildCommand extends Command { @override ArgParser get arguments => new ArgParser() ..addFlag("verbose", abbr: "v", defaultsTo: false, negatable: false, help: "Enables Verbose Output") ..addOption("arch", abbr: "a", allowed: POSSIBLE_ARCHS, allowMultiple: false, defaultsTo: "ia3...
Build Command: Actually Follow the Verbose Flag
Build Command: Actually Follow the Verbose Flag
Dart
mit
DirectMyFile/darn
7989051c858845844849c20d4e298952e9252bc5
lib/src/events.dart
lib/src/events.dart
library events; import "dart:async"; class Event { String type; Event(this.type); } class Emitter { final _evtController = new StreamController<Event>.broadcast(); Stream<Event> operator[] (type) => _evtController.stream.where((e) => e.type == type); Stream<T> getEventStream<T extends Event>(String type...
library events; import "dart:async"; class Event { String type; Event(this.type); } class Emitter { final _evtController = new StreamController<Event>.broadcast(); Stream<Event> operator[] (type) => _evtController.stream.where((e) => e.type == type); Stream<T> getEventStream<T extends Event>(String ty...
Use .where().map() instead of StreamController
Use .where().map() instead of StreamController
Dart
mit
Workiva/sockjs-dart-client,Workiva/sockjs-dart-client,Workiva/sockjs-dart-client,Workiva/sockjs-dart-client
a710f9727d0ad4a8ddbf46fbd087fde61c9f8dc2
pkg/dev_compiler/tool/compile_dartdevc_sdk.dart
pkg/dev_compiler/tool/compile_dartdevc_sdk.dart
#!/usr/bin/env dart // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // @dart = 2.9 /// Tool that consumes the .dill file of an entire dart-sdk and pro...
#!/usr/bin/env dart // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. /// Tool that consumes the .dill file of an entire dart-sdk and produces the /// co...
Migrate compile sdk script to null safety
[ddc] Migrate compile sdk script to null safety Issue: https://github.com/dart-lang/sdk/issues/46617 Change-Id: I48dcf20dc3cada2bd9d0c9dfb0e1f27f07d5e521 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250350 Reviewed-by: Sigmund Cherem <beaea8fd7d2a56555046ba4f362c8a93e3938576@google.com> Commit-Queue: Nich...
Dart
bsd-3-clause
dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk
200103adfa8ad55f8f8d0582529d4cefeffa830b
example/xml_pp.dart
example/xml_pp.dart
/// XML pretty printer. library xml.example.xml_pp; import 'dart:io'; import 'package:args/args.dart' as args; import 'package:xml/xml.dart' as xml; final args.ArgParser argumentParser = args.ArgParser() ..addOption('indent', abbr: 'i', help: 'Customizes the indention when pretty printing.', defa...
/// XML pretty printer. library xml.example.xml_pp; import 'dart:io'; import 'package:args/args.dart' as args; import 'package:xml/xml.dart' as xml; final args.ArgParser argumentParser = args.ArgParser() ..addOption('indent', abbr: 'i', help: 'Customizes the indention when pretty printing.', defa...
Add a pretty option to the formatter example.
Add a pretty option to the formatter example.
Dart
mit
renggli/dart-xml
f948afd26e717b915f6c33b3829cd47f0927e8fc
ide/app/lib/git/utils.dart
ide/app/lib/git/utils.dart
// Copyright (c) 2013, Google Inc. Please see the AUTHORS file for details. // All rights reserved. Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. library git.utils; import 'dart:core'; /** * Convertes [sha] string to sha bytes. */ List<int> shaToBytes(String s...
// Copyright (c) 2013, Google Inc. Please see the AUTHORS file for details. // All rights reserved. Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. library git.utils; import 'dart:core'; /** * Convertes [sha] string to sha bytes. */ List<int> shaToBytes(String s...
Fix bug in sha / bytes conversion.
Fix bug in sha / bytes conversion.
Dart
bsd-3-clause
beaufortfrancois/chromedeveditor,valmzetvn/chromedeveditor,b0dh1sattva/chromedeveditor,yikaraman/chromedeveditor,b0dh1sattva/chromedeveditor,googlearchive/chromedeveditor,vivalaralstin/chromedeveditor,googlearchive/chromedeveditor,b0dh1sattva/chromedeveditor,hxddh/chromedeveditor,hxddh/chromedeveditor,vivalaralstin/chr...
24c0b1aba109c858ec72d063f6af4d10c56f4e83
tests/language/function_type3_test.dart
tests/language/function_type3_test.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "package:expect/expect.dart"; class A<T> { @NoInlining() A(); @NoInlining() foo() => n...
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "package:expect/expect.dart"; class A<T> { @NoInline() A(); @NoInline() foo() => new B...
Update no-inline annotation in test.
Update no-inline annotation in test. Review URL: https://codereview.chromium.org//930883002 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@43800 260f80e4-7a28-3924-810f-c04153c831b5
Dart
bsd-3-clause
dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dar...
e5abf9fbddf37211a28c694a0b885d81bf5ef6f7
lib/controller/static_files_controller.dart
lib/controller/static_files_controller.dart
part of quiz; class StaticFilesController extends HTTPController { final String basePath; final String defaultFile; StaticFilesController({this.basePath: "build/web", this.defaultFile: "index.html"}); // Initially based on https://github.com/stablekernel/aqueduct/issues/157 @httpGet getFile() async { S...
part of quiz; class StaticFilesController extends HTTPController { final String basePath; final String defaultFile; StaticFilesController({this.basePath: "build/web", this.defaultFile: "index.html"}); // Initially based on https://github.com/stablekernel/aqueduct/issues/157 @httpGet getFile() async { S...
Add type for the file contents.
Add type for the file contents.
Dart
mit
woopla/angueduct,woopla/angueduct
860ed996b976794ff6ecf5748875b9bac66933a9
lib/features/settings/presentation/widgets/server_setup_instructions.dart
lib/features/settings/presentation/widgets/server_setup_instructions.dart
import 'package:flutter/material.dart'; class ServerSetupInstructions extends StatelessWidget { const ServerSetupInstructions({Key key}) : super(key: key); @override Widget build(BuildContext context) { return Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Padd...
import 'package:flutter/material.dart'; class ServerSetupInstructions extends StatelessWidget { const ServerSetupInstructions({Key key}) : super(key: key); @override Widget build(BuildContext context) { return Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Padd...
Tweak wording for server setup instructions.
Tweak wording for server setup instructions.
Dart
mit
wcomartin/PlexPy-Remote
03adbd1e4f621e006df82b75292cd700b688362f
lib/playfair.dart
lib/playfair.dart
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; import ...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; import ...
Switch to the production name for fn3
Switch to the production name for fn3
Dart
bsd-3-clause
devoncarew/playfair,devoncarew/playfair
a2d07dcf3e704fe9ef55e2f3bc1e74a6edf47e3f
lib/winsock2.dart
lib/winsock2.dart
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // ignore_for_file: directives_ordering /// Support for programming against the Win32 Windows Socket 2...
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // ignore_for_file: directives_ordering /// Support for programming against the Win32 Windows Socket 2...
Add more explanation for importing winsock
Add more explanation for importing winsock
Dart
bsd-3-clause
timsneath/win32,timsneath/win32,timsneath/win32
12fc1c81f77921ebebf21c73345ae7d2a89b48ef
test/testtextmarker.dart
test/testtextmarker.dart
import 'package:unittest/unittest.dart'; import 'package:workmantrainer/textmarker.dart'; void main() { test('check initialisation of TextMarker Class works.', () { var tm = new TextMarker('some text',0,2,"CORRECT"); expect(tm.targettext, 'some text'); expect(tm.startposition,0); expect(tm.endpositio...
import 'package:unittest/unittest.dart'; import 'package:workmantrainer/textmarker.dart'; void main() { test('check initialisation of TextMarker Class works.', () { var tm = new TextMarker('some text',0,2,"CORRECT"); expect(tm.targettext, 'some text'); expect(tm.startposition,0); expect(tm.endpositio...
Check Correct ClassName is set.
Check Correct ClassName is set.
Dart
bsd-3-clause
mswift42/workmantrainer,mswift42/workmantrainer