- 21 Jan, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 04 Oct, 2021 1 commit
-
-
Greg Spencer authored
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder. I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed. I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
-
- 25 Aug, 2021 1 commit
-
-
Greg Spencer authored
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
-
- 12 Aug, 2021 1 commit
-
-
Greg Spencer authored
Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples. This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo. The snippets code is deleted in this PR. I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place. The snippets package resides in the assets-for-api-docs repo. The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
-
- 10 May, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 12 Mar, 2021 1 commit
-
-
Greg Spencer authored
Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues (#77868)
-
- 04 Jan, 2021 1 commit
-
-
Pierre-Louis authored
* Add 'See also' to cupertino library * Add snippets to CupertinoApp * Add CupertinoPageScaffold samples * Revert "Add CupertinoPageScaffold samples" This reverts commit 01b0adf351f0320af7835551102d62e3416f0eab. * Revert "Revert "Add CupertinoPageScaffold samples"" This reverts commit 0af506237a16f7fec5f3744a9bd015a511a15f72. * Add CupertinoNavigationBar sample * Tweak CupertinoPageScaffold sample * Don't use Material in cupertino samples * Fix colors * Fix capitalization Co-authored-by: Shi-Hao Hong <shihaohong@google.com> * Apply suggestions from code review Co-authored-by: Shi-Hao Hong <shihaohong@google.com> * Add comment about backgroundColor Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
-
- 20 Nov, 2020 1 commit
-
-
Kate Lovett authored
-
- 17 Nov, 2020 1 commit
-
-
Jim Graham authored
This reverts commit 9b56241e.
-
- 16 Nov, 2020 1 commit
-
-
Kate Lovett authored
-
- 12 Nov, 2020 1 commit
-
-
Zachary Anderson authored
This reverts commit 1f0df545.
-
- 11 Nov, 2020 1 commit
-
-
Kate Lovett authored
-
- 03 Nov, 2020 1 commit
-
-
Greg Spencer authored
* Remove nullOk from cupertino color resolution * Add CupertinoDynamicColor.maybeResolveFrom * Remove CupertinoDynamicColor.maybeResolveFrom again
-
- 28 Oct, 2020 1 commit
-
-
Greg Spencer authored
Adds MediaQuery.maybeOf to replace calling MediaQuery.of(context, nullOk: true), and removes the nullOk parameter. Also changes MediaQuery.of to return a non-nullable value, and removes many instances of the ! operator, reducing the possible places where a null dereference could occur.
-
- 24 Sep, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 Jun, 2020 1 commit
-
-
Alexandre Ardhuin authored
* add language version 2.8 in packages/flutter * enable non-nullable analyzer flag
-
- 06 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
* add key to constructors of public widgets * fix a test * fix a test
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 25 Sep, 2019 1 commit
-
-
LongCatIsLooong authored
-
- 17 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Aug, 2019 1 commit
-
-
LongCatIsLooong authored
-
- 12 Aug, 2019 1 commit
-
-
Justin McCandless authored
Fix a bug in CupertinoTextField where resizeToAvoidBottomInset didn't work.
-
- 27 Mar, 2019 2 commits
-
-
xster authored
-
LongCatIsLooong authored
Remove the additional top padding from CupertinoPageScaffold's MediaQuery when the navigation bar is opaque (as the padding was already consumed by the navigation bar). Related Issue: #29136
-
- 20 Dec, 2018 1 commit
-
-
xster authored
-
- 19 Dec, 2018 1 commit
-
-
xster authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 27 Aug, 2018 1 commit
-
-
Sebastian Podjasek authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 May, 2018 1 commit
-
-
Konstantin Scheglov authored
-
- 05 Feb, 2018 1 commit
-
-
Volodymyr Lykhonis authored
- Add override of border color of CupertinoNavigationBar - Add background color to CupertinoPageScaffold
-
- 08 Dec, 2017 1 commit
-
-
xster authored
Let translucent Cupertino bars have its scaffold children automatically pad their heights - second try (#13440) * Let translucent Cupertino bars have its scaffold children automatically pad their heights (#13194) * Let lists automatically add sliver padding from media query. Translucent nav and tab bars leave behind media query paddings in scaffolds. * tests * const lint * Rename base abstract class to generalized ObstructingPreferredSizeWidget * review * More docs and comments from #13317
-
- 02 Dec, 2017 1 commit
-
- 30 Nov, 2017 1 commit
-
-
xster authored
* Let lists automatically add sliver padding from media query. Translucent nav and tab bars leave behind media query paddings in scaffolds. * tests * const lint * Rename base abstract class to generalized ObstructingPreferredSizeWidget
-
- 29 Sep, 2017 1 commit
-
-
Ian Hickson authored
* SafeArea * AnimatedSafeArea * AppBar test * Apply feedback
-
- 28 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 21 Sep, 2017 2 commits
-
-
xster authored
* Refactor CupertinoScaffold * Rename rootTabPageBuilder to tabBuilder * fix tab transparency padding * add a CupertinoTab * Add default background color * Add a bunch of examples * A bunch of tests * Refactor CupertinoScaffold * Rename rootTabPageBuilder to tabBuilder * fix tab transparency padding * Add default background color * review notes * fix test * review * Rename CupertinoTab to CupertinoTabView * remove final ; in sample code for analyzer
-
xster authored
* Refactor CupertinoScaffold * Rename rootTabPageBuilder to tabBuilder * fix tab transparency padding * Add default background color * review notes * fix test
-