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
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
xubaolin
ef5a6da35a
Fix a DataTable
crash and improve some docs ( #100959 )
2022-04-19 04: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
Jenn Magder
1756ccc541
Set template and migrate apps to iOS 11 minimum ( #101963 )
2022-04-15 11:34:08 -07:00
Michael Goderbauer
cc4cc699f8
Enable use_super_parameters
lint ( #101074 )
2022-04-14 13:26:18 -07:00
Daniel Agbemava
2d9e171870
Update WidgetsBindingsObserver example ( #101512 )
2022-04-12 10:09:08 -07:00
Michael Goderbauer
fa48aed7b2
Bump dwds to 13.1.0 ( #101730 )
2022-04-11 18:29:14 -07:00
Ahmed Masoud
df2781ad18
Use kDebugMode in error_widget.0.dart example ( #93408 )
2022-04-11 18:04:06 -07:00
Darren Austin
c14ca6d321
Migrate common buttons to Material 3 ( #100794 )
2022-04-08 17:03:21 -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
Anna Gringauze
74944d528f
Run update-packages ( #101450 )
...
* Run update-packages
* Update DwdsLauncher, disable failing test
* Fix analyze error
Co-authored-by: Jenn Magder <magder@google.com>
2022-04-07 17:07:05 -07:00
Jenn Magder
5788f5ef07
Run CADisableMinimumFrameDurationOnPhone migration on all example apps ( #101314 )
2022-04-05 15:38:06 -07:00
Greg Spencer
2d9ad26086
Implements a PlatformMenuBar widget and associated data structures ( #100274 )
...
Implements a PlatformMenuBar widget and associated data structures for defining menu bars that use native APIs for rendering.
This PR includes:
A PlatformMenuBar class, which is a widget that menu bar data can be attached to for sending to the platform.
A PlatformMenuDelegate base, which is the type taken by a new WidgetsBinding.platformMenuDelegate.
An implementation of the above in DefaultPlatformMenuDelegate that talks to the built-in "flutter/menu" channel to talk to the built-in platform implementation. The delegate is so that a plugin could override with its own delegate and provide other platforms with native menu support using the same widgets to define the menus.
This is the framework part of the implementation. The engine part will be in flutter/engine#32080 (and flutter/engine#32358 )
2022-04-04 15:03:10 -07:00
Pierre-Louis
2d89866c50
Minor improvements to ThemeExtension
example ( #100693 )
...
* Update theme_extension.1.dart
* empty commit
* update color names to be semantic
2022-03-30 16:05:27 +02:00
Greg Spencer
22a3b4dc1e
Fix example app names and copyrights ( #100795 )
2022-03-25 17:40:11 -07:00
Christopher Fujino
ef8e3578c1
[flutter_tools] update pub packages ( #100726 )
2022-03-25 16:45:09 -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
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
Daniel Agbemava
a80bad4337
Fix api
examples not running on android ( #100140 )
2022-03-18 09:20:23 -07:00
Ben Konyi
1880066dd3
Update dependencies ( #99874 )
2022-03-10 14:13:59 -07:00
Chris Bracken
b5d3c43280
Check string size before Win32 MultiByte <-> WideChar conversions ( #99729 )
...
This patch adds an additional check to ensure the target length of a string is within the supported maximum string length prior to calling WideCharToMultiByte/MultiByteToWideChar in the Windows runner template.
This is to prevent resize() from failing if called with a count > std::string::max_size().
According to Win32 API docs (WideCharToMultiByte, MultiByteToWideChar) it's the caller responsibility to make sure the buffers are correctly allocated.
Authored by: Tomasz Gucio <tgucio@gmail.com>
2022-03-07 19:57:36 -08:00
Mahesh Jamdade
67a0df41cd
Adds a Listview tile select example ( #99165 )
2022-03-07 18:56:17 -08:00
Jonah Williams
67f25caf72
Remove package:typed_data from package:flutter dependencies ( #99604 )
2022-03-07 10:41:21 -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
Emmanuel Garcia
9cb60c9828
Revert "reads min/target sdk versions from localproperties" ( #99191 )
2022-02-28 11:41:22 -08:00
Jenn Magder
d1265ad308
Run update-packages ( #99038 )
2022-02-25 12:26:16 -08:00
Tacca
37a1aaf8c1
reads min/target sdk versions from localproperties ( #98450 )
2022-02-24 12:16:15 -08:00
xubaolin
2ad0ac0ef2
Draggable can be accepted when the data is null ( #97355 )
2022-02-23 15:19:22 -08:00
Ben Konyi
50c4720913
Update dependencies to pull in new vm_service, dds, dwds, coverage, etc ( #98513 )
2022-02-18 12:32:08 -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
Pierre-Louis
312085a19a
Update repo generated_plugins.cmake ( #98034 )
2022-02-09 15:15:27 +01:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -08:00
Harry Terkelsen
03f1d37935
Add a benchmark for a scrolling list of Links ( #94638 )
2022-02-03 14:38:58 -08:00
Pierre-Louis
a22cf5d6b9
Update packages ( #97592 )
...
* update packages
* implement
* remove trailing spaces
* Revert "remove trailing spaces"
This reverts commit d3bffbef57
.
* Revert "implement"
This reverts commit 6b6172a827
.
2022-02-02 09:16:05 +01: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
Emmanuel Garcia
f01556ab75
Bump Android dependencies that rely on Jcenter ( #96558 )
...
* Bump video_player in flutter gallery
* Update packages
* Update dependencies
* Bump device_info
* Update dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Update dev/devicelab/bin/tasks/module_custom_host_app_name_test.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Update dev/devicelab/bin/tasks/module_test.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Remove deprecated device_info from ios-frameworks test
Co-authored-by: Jenn Magder <magder@google.com>
2022-01-12 20:13:32 -08:00
Jenn Magder
3e6e996f9e
Run update-packages --force-upgrade ( #96325 )
2022-01-10 13:55:16 -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
Rami
1a3dc1b32a
Update color scheme seed generation to use color utils package ( #95175 )
...
* Update color scheme seed generation to use color utils package
2021-12-14 13:53:36 -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
Anna Gringauze
d7466d8963
Update dwds and other packages ( #94634 )
2021-12-07 14:29:07 -08:00
Michael Thomsen
bb906b6b4f
Roll packages to pick up new platform package ( #94603 )
2021-12-06 10:34:56 +01: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
Darren Austin
418cd95661
Added material_color_utilities as a dependency for flutter package. ( #94377 )
2021-12-01 14:19:04 -08:00
Nate Bosch
6d1a840bc5
Roll packages, remove unnecessary overrides ( #94172 )
2021-11-24 14:43:05 -08:00
Mouad Debbar
30b6b9e7f0
Revert "Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )" ( #94164 )
...
This reverts commit 6a3ea7eb83
.
2021-11-24 10:12:53 -05:00
Jenn Magder
6a3ea7eb83
Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )
2021-11-23 17:38:02 -08:00
Andrei Diaconu
924336fcee
Reland 3: Display Features ( #93240 )
2021-11-20 15:48:06 -08:00
Taha Tesser
7dcdfe6304
Add CupertinoButton
interactive example ( #93625 )
2021-11-16 15:08:05 -08:00
gaaclarke
f23e515861
Fatten up multiple_flutters memory footprint ( #93350 )
...
Increased the memory size of multiple_flutters to help identify regressions in performance
This is not a regression and will affect benchmark's readings.
2021-11-12 11:11:44 -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
Zachary Anderson
2468f315e0
Revert "Reland: display features ( #93117 )" ( #93204 )
...
This reverts commit 9038fac960
.
2021-11-06 22:46:46 -07:00
Hans Muller
0815da4d38
Revert "Added widgets/AppModel" ( #93161 )
2021-11-05 16:13:03 -07:00
Andrei Diaconu
9038fac960
Reland: display features ( #93117 )
2021-11-05 15:54:25 -07:00
Jacob MacDonald
a4fa2affe9
Update packages ( #92924 )
2021-11-05 12:03:03 -07:00
Zachary Anderson
7779ad3c60
Revert "Reland engine display features ( #89511 )" ( #93098 )
...
This reverts commit 058dfd49a0
.
2021-11-04 23:05:45 -07:00
Andrei Diaconu
058dfd49a0
Reland engine display features ( #89511 )
2021-11-04 18:37:55 -07:00
Hans Muller
389a12f4e0
Added widgets/AppModel ( #92297 )
2021-11-03 20:23:02 -07:00