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 NoSplashFactory extends InteractiveInkFeatureFactory { | |
const NoSplashFactory(); | |
@override | |
InteractiveInkFeature create({ | |
@required MaterialInkController controller, | |
@required RenderBox referenceBox, | |
@required Offset position, |
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
// Should pass the Locale from Localizations to Text/RichText/etc to painting.TextStyle to ui.TextStyle | |
// https://github.com/flutter/flutter/issues/16408 | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_localizations/flutter_localizations.dart'; | |
// See also: | |
// problem description - https://medium.com/@najeira/flutter-and-cjk-font-selection-5dbc6a6164ba | |
// problem character - http://unicode.org/cldr/utility/character.jsp?a=6B21 |
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
// Bezier demo does not hit 60fps | |
// https://github.com/flutter/flutter/issues/17889 | |
import 'dart:math'; | |
import 'package:flutter/animation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/widgets.dart'; | |
class Point { |
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
// listview in alert dialog error | |
// https://github.com/flutter/flutter/issues/18108 | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(new TestApp()); | |
} |
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(); | |
} |