684 Commits

Author SHA1 Message Date
Alexandre Ardhuin fcb40a05bb make some BuildContext methods generics (#44189)
* make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic

* make BuildContext.inheritFromWidgetOfExactType generic

* make BuildContext.ancestorInheritedElementForWidgetOfExactType generic

* make BuildContext.ancestorWidgetOfExactType generic

* fix snippet

* bump scoped_model on temp version

* update names

* Revert "bump scoped_model on temp version"

This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0.

* address review comments

* fix ci

* address review comments

* repeat the deprecation notice

* fix uppercase

* use of recommanded deprecation syntax

* address review comment
2019-11-22 17:35:20 +01:00
Justin McCandless 299fbc422f Fix typo (#45125)
Typo in a title in a gallery demo
2019-11-20 17:05:01 -08:00
Todd Volkert 2c7af1e24e Revert "[Gallery] Add Material Study app Rally as an example app (#44907)" (#45279)
This reverts commit 399aebc4b7.

It contained Apache 2.0 licensed files, which aren't allowed in flutter/flutter
2019-11-20 12:18:44 -08:00
Todd Volkert ce8e2bb7cf Revert "[Material] Update the Slider and RangeSlider to the latest Material spec (#44351)" (#45268)
This reverts commit 421bf64703.

Was causing severe breakages in Google.
2019-11-20 10:42:23 -08:00
Jonah Williams 70dcbf4e55 Add minimum macOS application to Flutter Gallery (#45259) 2019-11-20 09:44:17 -08:00
Anthony 421bf64703 [Material] Update the Slider and RangeSlider to the latest Material spec (#44351)
Update the Slider and RangeSlider to the latest Material spec. This introduces an updated track, updated thumbs, updated tick marks, and a new value indicator shape. The old paddle value indicator shape is also updated so that text scaling works consistently.
2019-11-20 18:18:40 +01:00
Per Classon 399aebc4b7 [Gallery] Add Material Study app Rally as an example app (#44907)
Add Material Study app Rally as an example app
2019-11-19 12:12:56 +01:00
Ian Hickson 1ce4a4f36f Make sure all our .dart files have license headers (#44467) 2019-11-08 16:53:21 -08:00
liyuqian 2eb8caf13c Re-enable Pesto in profile/release mode (#44299)
See https://github.com/flutter/flutter/issues/9257#issuecomment-550503833
2019-11-07 14:05:56 -08:00
LongCatIsLooong 62db22d152 CupertinoDynamicColor improvements (#44317) 2019-11-07 13:14:08 -08:00
Shi-Hao Hong 7d03371610 Revert "[Gallery] Add Material Study app Rally as an example app (#42236)" (#44194)
This reverts commit a214b4628e.
2019-11-05 08:57:25 -08:00
Per Classon a214b4628e [Gallery] Add Material Study app Rally as an example app (#42236)
* Add Material Study app Rally to examples
2019-11-05 17:27:40 +01:00
LongCatIsLooong bbb2a0f837 Update cupertino demos in gallery (#43841) 2019-11-04 16:31:52 -08:00
Greg Spencer 560873af92 Wire up canRequestFocus and skipTraversal in FocusScopeNode (#43013)
This adds a canRequestFocus and skipTraversal argument to FocusScope and FocusScopeNode, so that a scope can prevent being traversed.

This allows a fix for a problem in the gallery where the focus while traversing the list of items would sometimes appear to disappear, since it would be focusing things that were in the backdrop that were part of the tree, but were not visible.

Related Issues
Fixes #42955
2019-10-18 12:31:15 -07:00
Alexandre Ardhuin c3ddfb924f add missing trailing commas (in examples/) (#40701) 2019-09-18 20:48:07 +02:00
Alexandre Ardhuin 58bd39cd23 Extract some onPress methods (#40678)
* Extract some onPress methods

* address review comments
2019-09-17 21:00:16 +02:00
Alexandre Ardhuin df4bf453ab more UI-as-code (#35516) 2019-09-17 16:23:44 +02:00
Shouichi Kamiya 77f71ef48f Center action icons of swipe to dismiss example (#39670) 2019-09-09 18:32:27 -07:00
Konstantin Scheglov 3118ae19ff Fix new prefer_const_constructors after analyzer fix. (#39917) 2019-09-05 19:59:24 -07:00
lisa-liao d883337669 [Shrine] Adding outlines to text fields (#38895)
* Adding outlines to text fields
2019-08-23 15:52:28 -04:00
Darren Austin 9dce19e96f Replace ButtonBar.bar method with ButtonBarTheme (#37544)
* Added new ButtonBarTheme to replace the deprecated ButtonTheme.bar method.

* Responding to PR feedback.

* [Material] Create material Banner component (#36880)

This PR creates a new material widget for the Banner component. This includes a theme as well. This widget can be dropped into any application, ideally at the top of a listview or scrollview.

(cherry picked from commit 35b6d668e1)

Removed the use of ButtonTheme.bar in the Banner implementation.

* Updated documentation from PR review comments.
2019-08-19 17:35:44 -07:00
rami-a 232dce966b Analyzer fix that wasn't caught in the PR originally (#38348) 2019-08-12 17:55:27 -04:00
rami-a 8fe424f9fe [Material] Create demo for material banner (#37631) 2019-08-09 14:26:04 -04:00
Darren Austin b5fff3b20c Added ThemeMode support to the Flutter Gallery (#36399)
Made the Flutter Gallery use the new ThemeMode property so that it can
use the system's dark/light mode setting by default.
2019-07-22 11:06:26 -07:00
Alexandre Ardhuin 758009ba70 more ui-as-code (#35393)
* more ui-as-code

* address review comments
2019-07-02 21:11:56 +02:00