Darren Austin
86c02e998b
Migrate Card widget to Material 3. ( #100532 )
2022-03-22 13:46:56 -07:00
Pierre-Louis
8c1c2f6af5
Introduce Theme extensions ( #98033 )
...
* first pass
* x
* x
* address feedback
* support multiple extensions
* add convenience function, Object ⇒ dynamic, lerping
* remove not-useful comment
* fix examples/api lower sdk constraint
* remove trailing spaces
* remove another pesky trailing space
* improve lerp
* address feedback
* hide map implementation from constructor and copyWith
* use iterableproperty
* Revert "hide map implementation from constructor and copyWith"
This reverts commit a6994af004
.
* slow down sample
* make theme extension params required
* add null check
* improve documentation
* fix hashCode and operator == overrides
* modify existing tests
* remove trailing spaces
* add all tests except lerping
* fix lerping bug
* add toString to themeExtension example
* add lerping test
* assume non-nullability in example
* address feedback
* update docs
* remove trailing space
* use Map.unmodifiable
2022-03-21 15:26:30 +01:00
Mahesh Jamdade
67a0df41cd
Adds a Listview tile select example ( #99165 )
2022-03-07 18:56:17 -08:00
Viren Khatri
671aa9e95e
complete migration of flutter repo to Object.hash* ( #99505 )
2022-03-04 12:56:21 -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
Kate Lovett
f8eee10f96
Revert "Draggable can be accepted when the data is null" ( #99419 )
2022-03-02 10:31:11 -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
xubaolin
2ad0ac0ef2
Draggable can be accepted when the data is null ( #97355 )
2022-02-23 15:19:22 -08:00
Alberto
bce6622a20
fix(FocusScope): Example fix ( #98668 )
2022-02-17 12:09: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
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -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
Kate Lovett
03da339ffe
Deprecate Scrollbar isAlwaysShown -> thumbVisibility ( #96957 )
2022-01-24 14:25:15 -08:00
Michael Goderbauer
5684b9f69e
Enable no_leading_underscores_for_local_identifiers ( #96422 )
2022-01-21 14:43:59 -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
Sam Rawlins
412e329af2
Correct missing return statements in nullably-typed functions ( #95428 )
2021-12-16 15:29:17 -08:00
Taha Tesser
139a4d3992
Add CupertinoDatePicker
Interactive Example ( #93509 )
2021-12-15 13:14:12 -08:00
Dan Field
bf60291493
Improve sync*/async* opt outs ( #95286 )
2021-12-14 19:00:52 -08:00
Greg Spencer
bbc21fe3ed
Fix some issues with samples ( #95044 )
2021-12-13 09:29:09 -08:00
Dan Field
ab0a335973
Ban sync*/async* from user facing code ( #95050 )
2021-12-12 13:05:03 -08:00
Markus Aksli
f704b0d708
Add InputDecorator label color on error examples ( #93480 )
2021-12-08 17:24:08 -08:00
Ian Hickson
5ddc00cc03
Use EnumName.name
where possible. ( #94496 )
2021-12-03 16:39:04 -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
Darren Austin
e685c938a3
Replaced the reference to primaryVariant
in code example as it will soon be deprecated. ( #93351 )
2021-11-09 17:49:40 -08:00
Hans Muller
f4f23ecb59
Added SharedAppData to the widgets library ( #93175 )
2021-11-08 12:27:14 -08:00
Hans Muller
0815da4d38
Revert "Added widgets/AppModel" ( #93161 )
2021-11-05 16:13:03 -07:00
Hans Muller
389a12f4e0
Added widgets/AppModel ( #92297 )
2021-11-03 20:23:02 -07:00
Taha Tesser
6fc988146b
[ReorderableListView] Update doc with example to make it clear proxyDecorator
can overriden to customise an item when it is being dragged. ( #91837 )
2021-11-03 17:36:50 -07:00
LongCatIsLooong
ffcd32ebb6
Move text editing Action
s to EditableTextState
( #90684 )
2021-11-03 11:11:32 -07:00
Taha Tesser
13d14f1843
[doc] Update suffixIcon
/prefixIcon
for alignment with code snippet ( #91998 )
2021-10-27 00:38:02 -07:00
Bjarte Bore
64b0cfda3d
Added support for MaterialState to InputDecorator ( #91762 )
2021-10-14 13:26:45 -07:00
Taha Tesser
abfcc84e58
[CupertinoTabBar] Add an official interactive sample ( #91763 )
2021-10-13 13:38:02 -07:00