Skip to content

Instantly share code, notes, and snippets.

View yyoon's full-sized avatar

YoungSeok (Leo) Yoon yyoon

View GitHub Profile
@yyoon
yyoon / gist:cdb7fd3dc7f408866c123bd1f25f754f
Created August 31, 2017 00:04
flutter test exceptions
[debug-x86-64] //apps/modules/email/modules/composer ((62cea38...) $) $ flutter test test/message_text_input_test.dart
00:00 +0: ...ing/fuchsia/apps/modules/email/modules/composer/test/message_text_input_test.dar00:00 +0: - ... text in the message text input will call the onTextChange callback the entere00:01 +0: - ... text in the message text input will call the onTextChange callback the entered textShell: Do not know weight for: TeXGyreSchola (BoldItalic)
00:01 +0: - Editing text in the message text input will call the onTextChange callback the entered text
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
Vertical RenderFlex with CrossAxisAlignment.start has a null textDirection, so the alignment cannot
be resolved.
'package:flutter/src/rendering/flex.dart': Failed assertion: line 460 pos 18: 'textDirection !=
null'
@yyoon
yyoon / list_view_scroll.dart
Created February 14, 2017 21:19
ListView Scroll
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(