- 08 Nov, 2018 1 commit
-
-
Greg Spencer authored
This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form. Also: 1. Fixed a minor bug in analyze-sample-code.dart 2. Made the snippet tool only insert descriptions if the description is non-empty. 3. Moved the Card diagram to before the code sample.
-
- 07 Nov, 2018 1 commit
-
-
Michael Beckler authored
Should fix #22226. Code introduced in #20890 caused a regression that broke color flooding animations in a BottomNavigationBar that has BottomNavigationBarType.shifting. The original issue (#19653) dealt with background color changes not occurring until another tab was selected. The result is that the background color instantly changes whenever the state changes and when the widget changes, instead of allowing a new widget to animate the background color change.
-
- 05 Nov, 2018 2 commits
-
-
Hans Muller authored
-
Greg Spencer authored
This rewrites the sample code analysis script to be a little less of a hack (but still not pretty), and to handle snippets as well. It also changes the semantics of how sample code is handled: the namespace for the sample code is now limited to the file that it appears in, so some additional "Examples can assume:" blocks were added. The upside of this is that there will be far fewer name collisions. I fixed the output too: no longer will you get 4000 lines of numbered output with the error at the top and have to grep for the actual problem. It gives the filename and line number of the original location of the code (in the comment in the tree), and prints out the source code on the line that caused the problem along with the error. For snippets, it prints out the location of the start of the snippet and the source code line that causes the problem. It can't print out the original line, because snippets get formatted when they are written, so the line might not be in the same place.
-
- 04 Nov, 2018 1 commit
-
-
sjindel-google authored
`RenderEditable.paint` assumes that if the length of the text fits within the visible region, then the text will be rendered at the start of the region and be completely visible. This is not always true, since the text may still be rendered at an offset if an animation is ongoing when the text begins to fit. This fixes #22288 and #14121
-
- 03 Nov, 2018 1 commit
-
-
jslavitz authored
* Makes FlexibleSpaceSettingsPublic and adds a test
-
- 02 Nov, 2018 1 commit
-
-
jslavitz authored
* Adds functionality for progress indicator height to be controlled by the parent.
-
- 01 Nov, 2018 1 commit
-
-
jslavitz authored
* Adds DropDownFormField Convenience Class
-
- 31 Oct, 2018 2 commits
-
-
jslavitz authored
* Adds drawer state query functions
-
MH Johnson authored
* [Material] Add dialog theme. * Address Hans' first round comments. * Address Hans' Second round comments. * Fix theme tests * Address Will's comments, add golden test * Update goldens * Custom Border radius 16.0 * Address Hans' Comments * Second round comments * fix imports
-
- 30 Oct, 2018 6 commits
-
-
MH Johnson authored
* Create TabBarTheme of(...) constructor * First round comments * fix imports
-
jslavitz authored
* Adds sample code to TextFormField
-
jslavitz authored
* added textDirection to TextField
-
Hans Muller authored
-
Ian Hickson authored
* Avoid abbreviations * Sample code for AppBar.leading * Add a test for OverflowBox/FractionallySizedBox * Minor wording improvements in the text. The words "note that" here don't really contribute to the flow.
-
Hans Muller authored
-
- 29 Oct, 2018 1 commit
-
-
Nurlan Zhussupov authored
-
- 26 Oct, 2018 1 commit
-
-
MH Johnson authored
* [Material] Add custom shape parameter for Dialogs. * [Material] Add custom shape parameter for Dialogs. * Address Hans' first round comments. * Address Hans' first round comments. * Address Hans' Second round comments.
-
- 25 Oct, 2018 3 commits
-
-
jslavitz authored
* Adds test and builder
-
jslavitz authored
* added test
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/23340
-
- 23 Oct, 2018 2 commits
-
-
Greg Spencer authored
This creates a custom dartdoc tool that will generate snippet blocks in our API docs that allow the user to copy easily to the clipboard, and will also embed the snippet code into a template to show it in a larger context with an app. This PR adds the snippet tool, a template, and a couple of HTML skeleton files, one for snippets that are designed to be in an application setting, and one where it simply puts a nice container around existing snippets, making them easier to copy to the clipboard.
-
xster authored
-
- 18 Oct, 2018 2 commits
-
-
Hans Muller authored
Make it possible to disable TextField's default handlers for tap and long press. If enableInteractiveSelection is false then taps no longer move the text caret and long-press no longer selects text and shows the cut/copy/paste menu. Accessibility is similarly limited.
-
Michael Goderbauer authored
-
- 17 Oct, 2018 2 commits
-
-
Alexandre Ardhuin authored
* enable lint prefer_void_to_null * replace last Null by void
-
Hans Muller authored
-
- 16 Oct, 2018 5 commits
-
-
Philip authored
* Added sample code for BottomNavigationBar widget [#21136] * bottomnavigationbaritems made single line
-
jslavitz authored
* Fix form field validate method being called if form field is disabled
-
Alexandre Ardhuin authored
* Future<void> main * Future<void>.delayed * prefer_void_to_Null * address review comments
-
escamoteur authored
If `items` or `onChanged` is null the button will be disabled, the down arrow will be grayed out, and the new `disabledHint` will be shown (if provided).
-
- 15 Oct, 2018 3 commits
-
-
Gary Qian authored
* Add support for shadows in text. * Use dart:ui Shadow as base class for Shadows * Update lerp definition * Roll engine 3ffa3629523..84fe4a9f7e24e4 - Text Shadows and update goldens for skia roll. git log 50c2e69daff4e207c54e463d2304139985c7511c..32f417db0d566d354605305cb29c251276fa65ee --oneline --no-merges 32f417db0 Roll tonic to 077be256142ede39a271385907faadf4fcc62a4d. (#6541) 4ee77256c Revert "Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515)" (#6537) 964acafeb Roll src/third_party/skia 646d917d3c71..c6a17104ad68 (1 commits) (#6536) d4bae4ca4 Roll src/third_party/skia 2b2c00f6ec36..646d917d3c71 (1 commits) (#6535) ff93ccf47 Roll src/third_party/skia 681692726fc0..2b2c00f6ec36 (1 commits) (#6534) a4161c895 Roll src/third_party/skia 23775a2e9736..681692726fc0 (1 commits) (#6532) 116072e46 Roll src/third_party/skia 7435f2553f53..23775a2e9736 (1 commits) (#6531) ef0b0f6e9 Roll src/third_party/skia bc7a51e79c5b..7435f2553f53 (1 commits) (#6530) f46b7b971 Roll src/third_party/skia b28db529c866..bc7a51e79c5b (1 commits) (#6529) 9033c3902 Roll src/third_party/skia 7e67041a1428..b28db529c866 (1 commits) (#6528) e6887a412 Add missing imports for unicode/utf16.h (#6524) 1242f6dfe Roll src/third_party/skia d38382d060ca..7e67041a1428 (2 commits) (#6527) a1bbea77c Add a no-op platform view layer. (#6505) 2bb3afad8 Roll src/third_party/skia 21bd60daa3f3..d38382d060ca (10 commits) (#6526) 75e875240 Fix the Mac embedder build (#6525) 436f9707b Add version check for dismissable (#6522) 7767c785b Provide a default GL function resolver in the embedder (#6523) 32841dd89 Case-insensitive matching of family names for custom fonts (#6519) a9076c7e6 Roll src/third_party/skia 419709dbb167..21bd60daa3f3 (11 commits) (#6520) f2e7441b5 An API for loading fonts from a buffer provided by the application (#6508) 05aac0f27 fix ResourceExtractor npe. (#6461) cf5a2a145 Roll src/third_party/skia b27a9cf2f4a8..419709dbb167 (16 commits) (#6517) 84fe4a9f7 Re-revert invalid line height tests (#6516) 5f529566c Add support for text shadows (#6385) e44c10c96 Reland "Share engine layers with the framework" (#6412) (#6468) ba0449971 Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515)
-
Hans Muller authored
TextTheme.apply was incorrectly applying displayColor to the TextTheme's headline, title, subhead, body1, and body2 TextStyle colors. In all cases it should have been bodyColor.
-
Mouad Debbar authored
-
- 12 Oct, 2018 3 commits
-
-
matthew-carroll authored
This reverts commit 80f80ab0.
-
Artur Rymarz authored
-
matthew-carroll authored
For G3 Roll: * Revert "MaterialButton must honor its minWidth and height parameters (#22919)" This reverts commit a0233233. * Revert "Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme (#22827)" This reverts commit 655bf6a2. * Revert "ButtonTheme.of().colorScheme defers to Theme (#22880)" This reverts commit a590940e. * Revert "Bring TextTheme into alignment with the current Material spec (#22330)" This reverts commit 8bfb4b3e. * Revert "Added ColorScheme, updated ThemeData, ButtonTheme, material buttons (#22013)" This reverts commit eea3465a. * Manual adjustments to fix reversion issues.
-
- 11 Oct, 2018 1 commit
-
-
Hans Muller authored
-
- 10 Oct, 2018 1 commit
-
-
Hans Muller authored
ButtonThemeData no longer requires a colorScheme. If colorScheme is null, ButtonTheme.of() will initialize it from the current Theme.
-