This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Thing { | |
one, | |
two, | |
} | |
void main() { | |
var thing = Thing.one; | |
goback: | |
switch (thing) { | |
case Thing.one: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test<T> { | |
Future<T?> method() { | |
return Future.value(null); | |
} | |
} | |
Future<T?> function<T>() { | |
return Future.value(null); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MyWidget(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return CupertinoApp( | |
title: 'Flutter Demo', | |
home: MyHomePage(title: 'Flutter Demo Home Page'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
theme: ThemeData( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eseidel@eseidel-macbookpro3 /tmp/bug %adb shell dumpsys SurfaceFlinger [/tmp/bug] | |
Build configuration: [sf HAS_CONTEXT_PRIORITY=0 DISABLE_TRIPLE_BUFFERING PRESENT_TIME_OFFSET=0 FORCE_HWC_FOR_RBG_TO_YUV=0 MAX_VIRT_DISPLAY_DIM=0 RUNNING_WITHOUT_SYNC_FRAMEWORK=0 NUM_FRAMEBUFFER_SURFACE_BUFFERS=3] [libui] [libgui] | |
Wide-Color information: | |
hasWideColorDisplay: 0 | |
Display 0 color modes: | |
Unknown color mode -22 (-22) | |
Current color mode: HAL_COLOR_MODE_NATIVE (0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%dart url_test.dart [/src/dart_url_tests] | |
92 of 465 passed. | |
Failures: | |
TEST: http://example%09.%0Aorg | |
RESULT: origin mismatch: http://example%09.%0Aorg != null | |
TEST: http://user:pass@foo:21/bar;par?b#c | |
RESULT: origin mismatch: http://foo:21 != null | |
TEST: https://test:@test | |
RESULT: origin mismatch: https://test != null | |
TEST: https://:@test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eseidel@eseidel-macbookpro /src/package_test %pub run test [/src/package_test] | |
00:02 +248: test/runner/browser/content_shell_test.dart: starts content shell with the given URL | |
Skip: Failing with mysterious WebSocket issues. | |
00:03 +260 ~1 -1: test/runner/browser/content_shell_test.dart: a process can be killed synchronously after it's started [E] | |
ScheduleError: "'code server' received GET / when no more requests were expected." | |
Stack chain: | |
| package:test/src/frontend/expect.dart 164:30 fail | |
| package:scheduled_test/scheduled_server.dart 110:9 ScheduledServer._handleRequest | |
| package:shelf/shelf_io.dart 78:29 handleRequest | |
| package:shelf/shelf_io.dart 54:34 serveRequests.<fn>.<fn> |
NewerOlder