Commit Graph

34 Commits

Author SHA1 Message Date
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
Taha Tesser
ee0bbf4789 Add CupertinoPicker interactive example (#93622) 2022-02-15 06:25:20 -08:00
Taha Tesser
513c6cd7a8 CupertinoAlertDialog: Update sample (#98357) 2022-02-14 16:25:20 -08:00
Taha Tesser
7d21dbf5e0 CupertinoActionSheet: Update sample (#98356) 2022-02-14 16:10:08 -08:00
Taha Tesser
19a380ffe7 Add CupertinoSlider example (#93633) 2022-02-14 12:10:13 -08:00
Taha Tesser
e5f9d5bd26 Update PopupMenuButton example (#96681) 2022-01-28 14:10:14 -08:00
Taha Tesser
fc71ec55ee Add CupertinoTimerPicker Interactive Example (#93621) 2022-01-28 06:35:17 -08:00
Taha Tesser
120d25f786 RefreshIndicator: Add an interactive example (#97254) 2022-01-28 02:40:06 -08:00
Greg Spencer
017ed1792b Move examples from dart:ui ui/lib/text.dart to examples/api (#96557)
This extracts the examples that are in flutter/engine@main/lib/ui/text.dart into examples in the examples/api/lib/ui directory and adds some simple tests for them.

Also, fixes some inconsistent test file naming.

This is step 1: the next step is to remove the examples from the dart:ui code.
2022-01-14 15:42:54 -08:00
Greg Spencer
5012c99df5 Add example for CustomMultiChildLayout (#96632)
This adds a simple example to CustomMultiChildLayout that lays out colored containers in a cascade.
2022-01-14 10:54:15 -08:00
Markus Aksli
75e2470302 Add Ink.image clip examples (#93799) 2021-12-17 02:54:14 -08:00
Taha Tesser
139a4d3992 Add CupertinoDatePicker Interactive Example (#93509) 2021-12-15 13:14:12 -08:00
Greg Spencer
bbc21fe3ed Fix some issues with samples (#95044) 2021-12-13 09:29:09 -08:00
Markus Aksli
f704b0d708 Add InputDecorator label color on error examples (#93480) 2021-12-08 17:24:08 -08:00
Michael Goderbauer
f4a44a9d68 Reland "Mixin for slotted RenderObjectWidgets and RenderBox (#94077)" (#94632) 2021-12-03 14:39:02 -08:00
Michael Goderbauer
885a1482f8 Revert "Mixin for slotted RenderObjectWidgets and RenderBox (#94077)" (#94620)
This reverts commit 988959dad9.
2021-12-03 10:39:11 -08:00
Michael Goderbauer
988959dad9 Mixin for slotted RenderObjectWidgets and RenderBox (#94077) 2021-12-03 09:29:06 -08:00
Taha Tesser
7dcdfe6304 Add CupertinoButton interactive example (#93625) 2021-11-16 15:08:05 -08:00
Taha Tesser
13d14f1843 [doc] Update suffixIcon/prefixIcon for alignment with code snippet (#91998) 2021-10-27 00:38:02 -07:00
Greg Spencer
983cbb273b Add example test, update example READMEs (#91130) 2021-10-04 13:53:02 -07:00