Commit Graph

18987 Commits

Author SHA1 Message Date
Aman Verma
3022db2bf3 docs: Add more potential use case for Bottom Navigation Bar (#99644) 2022-06-23 17:17:06 +00:00
Pierre-Louis
912b81f6bf Add toggled semantics to ToggleButtons (#106096) 2022-06-23 17:07:10 +00:00
hellohuanlin
0dd0c2edca [platform_view]Send platform message when platform view is focused (#105050) 2022-06-23 00:01:07 +00:00
Lasse R.H. Nielsen
94e318456e Mark use of deprecated type. (#106282) 2022-06-22 22:13:05 +00:00
Anthony Oleinik
a494a12bb0 Add "excluding" optional parameter to TargetPlatformVariant to communicate cases where test should be ran everywhere but specific platforms (#106216)
added "excluding" optional parameter to targetPlatforms.all

Co-authored-by: Anthony Oleinik <oleina@google.com>
2022-06-22 12:13:26 -07:00
Daniel Chevalier
8ff691178c Refactoring the setPubRootDirectory tests (#106197) 2022-06-22 15:08:24 -04:00
LongCatIsLooong
60f30e5d3e Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335) 2022-06-22 18:09:05 +00:00
xubaolin
18575321bb Revert "fix a Scaffold extendBodyBehindAppBar update bug" (#106396) 2022-06-22 17:01:07 +00:00
Callum Moffat
20da4014ba Expose smart punctuation options on CupertinoSearchTextField (#97980) 2022-06-22 08:31:06 +00:00
Darren Austin
c8f867b5dc Chip theme cleanup (#106384)
- Added complete support for showCheckmark to ChipThemeData.
- Removed build method checks for ThemeData.chipTheme, as that is
  already handled by ChipTheme.of().
2022-06-22 00:16:41 -07:00
Bruno Leroux
399a649eae Fix TooltipState null check error (#106330) 2022-06-22 05:19:05 +00:00
Darren Austin
2532584bf3 Update parameters to the styleFrom button methods. (#105291)
* Update parameters to the `styleFrom` button methods.

* Updated the Flutter fix data to point to this PR.

* Updated handling of background color to better maintain backwards compatibility with previous API.
2022-06-21 19:08:22 -07:00
Tong Mu
0ac05f1c5c [Keyboard, Web] Map from "Esc" to the Escape key (#106133)
* Impl

* Fix build

* Add test
2022-06-21 13:27:12 -07:00
Danny Tuppeny
e2ef8cfe44 Pass app.started events to the DAP client + dart.debuggerUris for Profile mode (#106337) 2022-06-21 12:09:06 -07:00
Jonah Williams
dfaec11ba5 migrate web integration tests to null safety (#106231) 2022-06-21 11:19:09 -07:00
Jonah Williams
c12b0de004 remove opacity layer at fully opaque (#106351) 2022-06-21 11:05:24 -07:00
Albin PK
b5c0f8ab9a [docs] fix typos in page_transitions_theme.dart and tooltip.dart (#106264) 2022-06-21 17:39:06 +00:00
Anurag Roy
47b40601d7 [flutter_tools] Have FlutterValidator fail on non-ideal git config (#103259) 2022-06-20 19:05:07 +00:00
Viren Khatri
672859a0cb feat: add icon to AlertDialog (#104920) 2022-06-20 10:29:06 -07:00
Jonah Williams
db829c1e20 [flutter_tools] migrate more unit tests to null safety (#106153) 2022-06-17 21:34:27 -07:00
Jenn Magder
aba0c4e6f6 Do not show diagnostic warning for disconnected iOS devices (#105971) 2022-06-18 01:52:07 +00:00
Loïc Sharma
2efa2e44fe Add integration test for flutter build windows (#106053)
Add an integration test that verifies that `flutter build windows` produces the expected executable. In the future, this will be used to test that version information is properly stamped on the executable.

Part of https://github.com/flutter/flutter/issues/73652.
2022-06-17 17:14:18 -07:00
Alexandre Ardhuin
0f6244fa42 Export public API types from gestures/*.dart library (#105864) 2022-06-17 20:42:05 +00:00
Kate Lovett
02558d69d9 Revert "Fix StretchingOverscrollIndicator clipping and add clipBehavior parameter" (#106207) 2022-06-17 17:32:06 +00:00
Bruno Leroux
58007fc64c Fix debugPaintSize throws 'Null Check error' (#106108) 2022-06-17 06:16:06 +00:00
Jonah Williams
1572773729 Update package:archive and pin test_api (#106157) 2022-06-16 21:23:08 -07:00
Jesús S Guerrero
fae31eecce [flutter_tools] temporary directory (#105815) 2022-06-17 02:58:05 +00:00
David Iglesias
b1b1ee9ca6 [web] Fix JS crash when FF blocks service workers. (#106072) 2022-06-17 02:22:07 +00:00
Jonah Williams
2c15e3cae4 [flutter_tools] update test/src to null safety (#106064) 2022-06-16 16:48:03 -07:00
Sam Rawlins
f104be7ae9 Ignore body_might_complete_normally_catch_error violations (#105795) 2022-06-16 23:12:06 +00:00
Jesús S Guerrero
32b22b85de parse build version on xcodeproj (#105908) 2022-06-16 22:26:06 +00:00
Tong Mu
ddeb0b99c5 [gen_keycodes] Remove invalid Web code maps (#106074)
* Impl

* Test
2022-06-16 13:53:23 -07:00
Taha Tesser
8e8a1c8c2a Fix StretchingOverscrollIndicator clipping and add clipBehavior parameter (#105303) 2022-06-16 20:42:06 +00:00
Lasse R.H. Nielsen
3f401a1930 Ignore uses of soon-to-be deprecated NullThrownError. (#105693) 2022-06-16 13:38:07 -07:00
Kate Lovett
a783e422dd Fix SliverPadding geometry (#106071) 2022-06-16 20:36:05 +00:00
Dan Field
995b3324c7 Revert "Make RenderSliverGrid more accurately report overflow" (#106123) 2022-06-16 19:12:06 +00:00
Loïc Sharma
ede7fc67f5 Add more CMake unit tests (#106076)
Currently CMake is tested entirely through `build_linux_test.dart`. However, CMake is also used for Windows builds. This adds additional "generic" tests:

1. Parsing CMake files
2. Generating CMake config files.

In the future, this will be used to test that generated CMake config files contain the expected version information, which will be used to flow version information to Windows executables.

Part of https://github.com/flutter/flutter/issues/73652.
2022-06-16 11:48:17 -07:00
xubaolin
d3bc2bbcdd [framework] fix RangeSlider regression due to touch slop changes (#106094) 2022-06-16 18:30:06 +00:00
Ross Llewallyn
695cfa4369 TextFormField docs: added proper type with GlobalKey; replaced "we" (#105605) 2022-06-16 08:53:24 -07:00
xubaolin
ea28f287f1 fix a Scaffold extendBodyBehindAppBar update bug (#104958) 2022-06-15 18:33:06 -07:00
J-P Nurmi
512e090dfd Fix confusing typo: extent vs. extend selection (#106002) 2022-06-15 16:58:05 -07:00
Dan Field
a0e333bdc6 Make RenderSliverGrid more accurately report overflow (#104064)
* Make RenderSliverGrid more accurately report overflow

* Update packages/flutter/lib/src/rendering/sliver_grid.dart

Co-authored-by: Kate Lovett <katelovett@google.com>

Co-authored-by: Kate Lovett <katelovett@google.com>
2022-06-15 16:28:46 -07:00
Christopher Fujino
589dd8028b [flutter_tools] print override storage warning to STDERR instead of STDOUT (#106068) 2022-06-15 23:22:06 +00:00
Tong Mu
e55aa0e85c Allow DoNothingIntent and DoNothingAndStopPropagationIntent to be used in a const environment (#105983) 2022-06-15 13:33:05 -07:00
Jonah Williams
92034482f9 [flutter_tool] partial null safety migration of tool source code (#105798) 2022-06-15 20:02:07 +00:00
Darren Austin
e6d525d51d Updated tokens to v0.101. (#105923) 2022-06-14 23:06:30 -07:00
Tong Mu
576e85ca5e TextInput: Verify TextRange and make method call fail loudly (#104711)
* Fix

* Tests

* Format

* Empty line

* Fix range test

* Fix

* Comments

* trailing spaces

* Fix tests

* Comments
2022-06-14 20:31:09 -07:00
Pierre-Louis
1d53378bec reland #105109 (#105588) 2022-06-14 23:39:30 +02:00
Darren Austin
32981c4caa Added useMaterial3 parameters to the light, dark and fallback ThemeData constructors. (#105944) 2022-06-14 13:09:50 -07:00
Youssef Attia
dc06326caa Fixed issue with Hero Animations and BoxScrollViews in Scaffolds (#105654) 2022-06-13 16:48:09 -07:00