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
// Empty trailing Container in ListTile widget causes layout issues #17666 | |
// https://github.com/flutter/flutter/issues/17666 | |
// ListTile was substantially updated in https://github.com/flutter/flutter/pull/17661 | |
import 'package:flutter/material.dart'; | |
class ListTileDemo extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
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
// TextFormField Android "Failed assertion: 'initialValue == null || controller == null': is not true." Despite controller being null in debug. #18044 | |
// https://github.com/flutter/flutter/issues/18044 | |
import 'package:flutter/material.dart'; | |
class LoginPage extends StatefulWidget { | |
static String tag = 'login-page'; | |
@override |
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
// Adding an icon to a TextFormField misaligns label when field is selected | |
// https://github.com/flutter/flutter/issues/18111 | |
import 'package:flutter/material.dart'; | |
class HomePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new Scaffold( | |
appBar: new AppBar(), |
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
// listview in alert dialog error | |
// https://github.com/flutter/flutter/issues/18108 | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
new MaterialApp( | |
theme: new ThemeData( | |
brightness: Brightness.dark, |
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'; | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new Scaffold( | |
appBar: new AppBar(title: const Text('GridView.builder')), | |
body: new GridView.builder( | |
gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent( | |
maxCrossAxisExtent: 200.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
// TabController with a single element fails assertion on horizontal tab scroll after number of tabs was decreased from 2 to 1 | |
// https://github.com/flutter/flutter/issues/18481 | |
import 'package:flutter/material.dart'; | |
class TabControllerBug extends StatefulWidget { | |
@override | |
_TabControllerBugState createState() => new _TabControllerBugState(); | |
} |
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'; | |
class HomePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new Scaffold( | |
appBar: new AppBar(title: const Text('Extended FAB')), | |
floatingActionButton: new FloatingActionButton.extended( | |
icon: Icon(Icons.add), | |
label: const Text('New'), |
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
ansmuller@chumley:~/github/flutter$ (cd ~/flutter/test_issue; rm -rf build; flutter run) | |
Launching lib/main.dart on Nexus 5 in debug mode... | |
Initializing gradle... 0.8s | |
Resolving dependencies... 0.9s | |
Running 'gradlew assembleDebug'... 16.2s | |
Built build/app/outputs/apk/debug/app-debug.apk. | |
Installing build/app/outputs/apk/app.apk... 14.3s | |
Syncing files to device Nexus 5... | |
F/art ( 6312): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: non-nullable address is NULL | |
F/art ( 6312): art/runtime/check_jni.cc:65] in call to NewDirectByteBuffer |
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
hansmuller@chumley:~/github/flutter$ (cd ~/github/flutter/examples/flutter_gallery; rm -rf build; flutter run) | |
Launching lib/main.dart on Nexus 5 in debug mode... | |
Initializing gradle... 0.9s | |
Resolving dependencies... 1.2s | |
Running 'gradlew assembleDebug'... | |
Note: /usr/local/google/home/hansmuller/.pub-cache/hosted/pub.dartlang.org/video_player-0.6.4/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java uses or overrides a deprecated API. | |
Note: Recompile with -Xlint:deprecation for details. | |
Built build/app/outputs/apk/debug/app-debug.apk. | |
Installing build/app/outputs/apk/app.apk... 23.4s | |
Syncing files to device Nexus 5... |
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'; | |
class ABCModel extends InheritedModel<String> { | |
ABCModel({ | |
Key key, | |
this.a, | |
this.b, | |
this.c, | |
Widget child, | |
}) : super(key: key, child: child); |