Commit Graph

69 Commits

Author SHA1 Message Date
Marcel Čampa
0c40945a67 Implement CupertinoListSection and CupertinoListTile (#78732) 2022-07-19 18:46:30 -05:00
Taha Tesser
cf342254cc Add an interactive example for Overlay (#107531) 2022-07-15 09:44:05 +00:00
Taha Tesser
c422d280ab Add an example for AppBar.notificationPredicate (#106018) 2022-07-15 09:40:06 +00:00
Taha Tesser
c251856c89 Update ListTile docs for color animation issues and add example (#106955) 2022-07-13 08:09:07 +00:00
Taha Tesser
66cd09dd82 Update PopupRoute docs and add an example (#106948) 2022-07-12 08:59:05 +00:00
Aman Verma
3022db2bf3 docs: Add more potential use case for Bottom Navigation Bar (#99644) 2022-06-23 17:17:06 +00:00
Youssef Attia
082560313b Added an example for IndexedStack widget (#105318)
* Added an example for IndexedStack

* Added tests for the IndexedStack example

* Fixed type issue for onSubmitted callback functions

* Fixed documentation and moved files to their appropriate places

* Fixed documentation and moved files to their appropriate places

* Moved test files to their appropriate places

* Moved test files to their appropriate places

* Fixed file path in documentation

* Remove trailing space

* Formatting changes

* Remove extra line

* Further formatting changes

* Further formatting changes

* fix comma and inline

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

* Formatting

* indentation and formatting

* Formatting

* Formatting

* Formatting

* Removed duplicate chevron

* better wording on documentation

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Added testing for state preservation

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-06-13 16:38:37 -07:00
Hans Muller
d8783ff4c2 Reland Added MaterialStatesController, updated InkWell et al. #103167 (#105656) 2022-06-10 08:12:49 -07:00
Hans Muller
9cf042ec74 Revert "Added MaterialStatesController, updated InkWell et al. (#103167)" (#105138)
This reverts commit 180566f2e5.
2022-06-01 17:19:16 -07:00
Taha Tesser
71a9ccbf2c InheritedModel: Add a complete interactive example and update snippet for null safety (#104174) 2022-05-30 06:13:10 -07:00
Kate Lovett
2aa7317296 Revert "Add error message and documentation when a SnackBar is off screen" (#104843) 2022-05-27 11:58:14 -07:00
Hans Muller
180566f2e5 Added MaterialStatesController, updated InkWell et al. (#103167) 2022-05-27 08:38:42 -07:00
Bruno Leroux
bc53e6202e Add error message and documentation when a SnackBar is off screen (#102073) 2022-05-26 05:15:07 -07:00
Pierre-Louis
308b543783 Use curly_braces_in_flow_control_structures for sample code (#104617)
* use `flutter_lints` for sample code

* update packages

* Revert "update packages"

This reverts commit 14da3c69a8da9a093ad9c2acd3fc5d6c7f7751ed.

* revert
2022-05-26 08:59:37 +02:00
Taha Tesser
97452d1a10 Switch: Add an interactive example (#103045)
* `Switch`: Add an interactive examples

* Update docs

* Update doc
2022-05-25 10:40:31 +02:00
Bruno Leroux
1e0a1a2661 Add an example and update GestureDetector documentation (#102360) 2022-05-24 16:38:09 -07:00
Taha Tesser
5739bf4fab RefreshIndicator: Add notificationPredicate example (#103894) 2022-05-24 04:58:06 -07:00
Taha Tesser
3f5bd7d89e Add Material 3 AppBar example (#102823) 2022-05-19 00:13:09 -07:00
Bryan Oltman
89f755c2df Replace references to LinearProgressIndicator in CircularProgressIndicator example (#103349)
* Replace references to LinearProgressIndicator in CircularProgressIndicator example

* Add test

* fix copyright header
2022-05-09 16:04:02 -04:00
Taha Tesser
92a59caa7f CupertinoTabScaffold/CupertinoTabController: Add interactive examples (#103196)
* `CupertinoTabScaffold`/`CupertinoTabController`: Add interactive examples

* fix class name in the test

* Kick tests
2022-05-09 11:16:32 +02:00
Taha Tesser
803f9959d8 Update Cupertino examples and add missing tests (#103128) 2022-05-07 00:29:10 -07:00
Taha Tesser
9489b64cbb DropdownButton: Update selectedItemBuilder example to show case item alignment and update DropdownButton examples (#102748) 2022-05-06 00:14:08 -07:00
Taha Tesser
d80f3e3921 Cupertino examples improvements and clean up (#103044) 2022-05-05 08:22:53 +02:00
Taha Tesser
27fee486ef CupertinoSwitch: Add an interactive example (#103043)
Update
2022-05-05 07:59:55 +02:00
Taha Tesser
3ed0bbed5a CupertinoActivityIndicator: Add an interactive example (#103040) 2022-05-05 07:59:29 +02:00
Taha Tesser
86e55df7f2 CupertinoFormRow: Add an interactive example (#103041)
* `CupertinoFormRow`: Add an interactive example

* fix typo

* Update docs
2022-05-05 07:58:53 +02:00
Taha Tesser
81fd748ac2 CupertinoSearchTextField: Add interactive examples (#103042)
* `CupertinoSearchTextField`: Add interactive examples

* Update docs
2022-05-05 07:58:15 +02:00
Taha Tesser
eef4aa7caa Hero: Add an example for createRectTween (#102650) 2022-04-29 12:39:09 -07:00
Taha Tesser
4ffc41ad10 ToggleButtons: Add interactive example (#100124) 2022-04-29 12:29:07 -07:00
Phil Quitslund
80849adee1 [dev, bots, examples] rename local functions with _s (#102703) 2022-04-28 10:44:06 -07:00
Taha Tesser
b1f88a6535 ReorderableListView: fix broken dartpad example & update examples, add tests (#102723) 2022-04-28 10:19:08 -07:00
Bruno Leroux
37b3feea70 Add examples and troubleshooting comment for ClipRRect (#101907) 2022-04-18 10:24:08 -07:00
Taha Tesser
d8c9ce9ab4 Add Material 3 FloatingActionButton and FloatingActionButton variants examples (#101105) 2022-04-18 10:09:07 -07:00
Taha Tesser
eca09252cd Add Material 3 NavigationRail example and improve Material 2 example (#101345) 2022-04-18 06:54:07 -07:00
Taha Tesser
b8734b1700 Add Material 3 Dialog examples and update existing Dialog examples (#101508) 2022-04-18 04:14:05 -07:00
Daniel Agbemava
2d9e171870 Update WidgetsBindingsObserver example (#101512) 2022-04-12 10:09:08 -07:00
Michael Goderbauer
a01424773e Enable unnecessary_import (#101600) 2022-04-08 12:56:45 -07:00
Greg Spencer
efe76a5373 Update key examples to use Focus widgets instead of RawKeyboardListener (#101537)
This updates the examples for PhysicalKeyboardKey and LogicalKeyboardKey to use Focus widgets that handle the keys instead of using RawKeyboardListener, since that usually leads people down the wrong path. Updated the See Also and added tests as well. Also exposed the `physicalKey` attribute for `tester.sendKeyEvent`.
2022-04-08 12:05:41 -07:00
Taha Tesser
4526519225 Tooltip: Add an example for TooltipTriggerMode.manual and add tests for existing Tooltip examples (#100554) 2022-03-25 15:51:06 -07:00
Mahesh Jamdade
67a0df41cd Adds a Listview tile select example (#99165) 2022-03-07 18:56:17 -08:00
Taha Tesser
d1daa5ddc2 CupertinoSliverNavigationBar: Add example (#99384)
Part of #72926
2022-03-02 18:31:50 -08:00
Michael Goderbauer
00f3f2b14f More beautiful linear_gradient sample (#99298) 2022-03-02 16:41:21 -08:00
Mahesh Jamdade
0038a3e29f Add NavigationBar dartpad example (#97046) 2022-03-01 10:14:09 -08:00
Alberto
b44cbe1dd5 feat: Added docstring examples to AnimatedBuilder and ChangeNotifier (#98628) 2022-02-28 12:41:20 -08:00
Michael Goderbauer
ac1fc234ea Update example code and docs for InteractiveViewer.builder (#98623) 2022-02-16 17:25:17 -08:00
Taha Tesser
2097fe64f0 CupertinoPicker: Update example (#98525) 2022-02-15 20:20:22 -08:00
Hans Muller
db4c98fcb0 Added a NavgationBar example with nested Navigators (#98440) 2022-02-15 13:28:47 -08:00
Taha Tesser
fd4b1e86e8 CupertinoSlidingSegmentedControl: Add an interactive example (#98156) 2022-02-15 10:05:11 -08:00
Taha Tesser
7943ae5502 CupertinoSegmentedControl: Add an interactive example (#98154) 2022-02-15 09:30:19 -08:00
Taha Tesser
dfd42444e9 Update CupertinoTextField example (#93738) 2022-02-15 09:10:20 -08:00