Commit Graph

20614 Commits

Author SHA1 Message Date
Lasse R.H. Nielsen
520cf363b3 Make custom Utf8Decoder replacement not extend platform class. (#123211)
* Make custom `Utf8Decoder` replacement not extend platform class.

The Dart 3.0 class modifiers will make `Utf8Decoder`, and other
pure implementation classes, be `final`.

This replacement class does not need to extend the original
class, just like the `Utf8Codec` in the same file doesn't
extend the `Ut8Codec` from the platform libraries.

Instead it can just forward to a single `const` instance of the
original class.

* Forgot one constant

* Fix merge conflict.

---------

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2023-03-22 07:53:56 -07:00
Jason Simmons
d81e915780 Provide an ApplicationPackage to the flutter_tools logs command (#123149)
Provide an ApplicationPackage to the flutter_tools logs command
2023-03-22 14:51:39 +00:00
Michael Goderbauer
433453f8dd Remove window reference from doc snippet (#123176)
Remove window reference from doc snippet
2023-03-22 03:49:56 +00:00
Christopher Fujino
28d707693b toolexit on malformed yaml (#123167)
[flutter_tools] toolexit on malformed yaml during gen-l10n
2023-03-22 02:05:24 +00:00
Kate Lovett
4be45e950d Remove indicator from scrolling tab bars (#123057)
Remove indicator from scrolling tab bars
2023-03-21 23:44:12 +00:00
Bartek Pacia
c40dd27681 Fix Gradle warning in a freshly flutter createed Android project (#122290)
Fix Gradle warning in a freshly `flutter create`ed Android project
2023-03-21 23:41:49 +00:00
Michael Goderbauer
06ed8e65a7 Enable prefer_mixin (#123159)
Enable prefer_mixin
2023-03-21 23:12:26 +00:00
Lau Ching Jun
7e4822d5d6 Use DeviceDiscoveryFilter correctly in ProxiedDevices. (#123144)
Use DeviceDiscoveryFilter correctly in ProxiedDevices.
2023-03-21 22:52:16 +00:00
Michael Goderbauer
a9073f787c Deprecate BindingBase.window (#120998)
Deprecate BindingBase.window
2023-03-21 21:08:23 +00:00
Michael Goderbauer
25e38a2a87 Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546)
Bump lower Dart SDK constraints to 3.0 & add class modifiers
2023-03-21 20:21:58 +00:00
Christopher Fujino
7d767270b2 [flutter_tools] replace --no-analytics with --suppress-analytics (#123133)
[flutter_tools] replace --no-analytics with --suppress-analytics
2023-03-21 19:18:57 +00:00
pdblasi-google
4695fcc782 Deprecates TestWindow (#122824)
Deprecates `TestWindow`
2023-03-21 18:43:50 +00:00
Victoria Ashworth
9136a47458 Set plugin template minimum iOS version to 11.0 (#122625)
Set plugin template minimum iOS version to 11.0
2023-03-21 16:40:50 +00:00
Mitchell Goodwin
1ba3f99bb0 Create cupertino checkbox (#122244)
Create cupertino checkbox
2023-03-21 14:48:34 +00:00
Zachary Anderson
7e88acfb0e [flutter_tool] Adds a flag to disable Impeller (#122960) 2023-03-20 22:23:23 -07:00
Dan Field
28f17d345b Make EditableText respect MediaQuery.boldTextOf (#122754) 2023-03-20 21:08:41 -07:00
Christopher Fujino
6b7c60d69a manual pub roll (#123071)
manual pub roll
2023-03-21 01:08:51 +00:00
Christopher Fujino
f4c3facfdd Revert "Revert "[flutter_tools] Remove sound null safety flag (#120936)" (#122909)" (#123031)
[flutter_tools] Remove sound null safety flag #2
2023-03-20 22:32:07 +00:00
Kate Lovett
484c22682b Fix error message for unbounded viewports (#123035)
Fix error message for unbounded viewports
2023-03-20 21:34:00 +00:00
Loïc Sharma
2312097731 [Tool] [Windows] Output app path on build completion (#122928)
[Tool] [Windows] Output app path on build completion
2023-03-20 20:11:07 +00:00
Michael Goderbauer
c4a81e9e17 Remove unused replacement from Visibility.maintain (#123039)
Remove unused replacement from Visibility.maintain
2023-03-20 19:45:03 +00:00
Taha Tesser
8679aeb235 Fix TimePicker input mode width for 12-hour format (#122868)
Fix `TimePicker` input mode width for 12-hour format
2023-03-20 18:09:49 +00:00
Greg Price
0117de40d8 Give PolynomialFit more docs, and a debug toString (#122333)
Give PolynomialFit more docs, and a debug toString
2023-03-20 18:08:17 +00:00
acumen
e0ea39fee5 Reland "Fix bug with clicking Copy or Select All within contextMenu" (#122973)
Reland "Fix bug with clicking `Copy` or `Select All` within contextMenu"
2023-03-20 17:22:10 +00:00
Zachary Anderson
e6e99e2df5 Skip web hot restart tests (#123019)
Related https://github.com/flutter/flutter/issues/123018
2023-03-20 10:08:00 -07:00
Eilidh Southren
87ac905a5a Add content-based colorScheme functionality (#122919)
* add shadowColor property

* add to bottom app bar

* basic MCU connection demo

* more image tests

* demo update

* remove branch changes

* demo cleanup

* cleanup

* update algo

* working consistent example

* demo cleanup

* Added tests

* fix merge

* rebase

* basic MCU connection demo

* more image tests

* demo update

* remove branch changes

* demo cleanup

* cleanup

* update algo

* working consistent example

* demo cleanup

* Added tests

* lint fixes

* fix theme error

* whitespace fixes

* revert old commit

* update test formatting

* modify image source to external repo

* remove pngs

* add blank line

* fix web tests

* comment responses

* remove whitespace

* whitespace

* whitespace
2023-03-19 12:14:19 +00:00
hangyu
9fc1fd15f6 Update Material 3 bottom sheet (#122445)
* M3 bottomsheet

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update bottom_sheet.dart

Update bottom_sheet_test.dart

Update bottom_sheet.dart

* showDragHandle defaults to false

* fix test

---------

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
2023-03-18 20:13:08 -07:00
Zachary Anderson
f5248bbc8c Disable shuffling for flutter/test/material/text_field_test.dart (#122956) 2023-03-18 14:38:35 -07:00
Loïc Sharma
3635a3048e Revert "[Tool] [Windows] Output app path on build completion (#122858)" (#122926)
Revert "[Tool] [Windows] Output app path on build completion"
2023-03-17 21:29:12 +00:00
Loïc Sharma
80d6c10596 [Tool] [Windows] Output app path on build completion (#122858)
[Tool] [Windows] Output app path on build completion
2023-03-17 20:53:40 +00:00
Greg Price
328f088aeb Fix interference in fling-scrolling from cross-axis motion (#122338)
Fix interference in fling-scrolling from cross-axis motion
2023-03-17 20:51:58 +00:00
Jackson Gardner
a88eb172b7 Always flush files when setting up the test directory. (#122856)
Always flush files when setting up the test directory.
2023-03-17 20:45:05 +00:00
pdblasi-google
399cd6a56d Refactors accessibility guidelines to remove the single window assumption. (#122760)
Refactors accessibility guidelines to remove the single window assumption
2023-03-17 20:38:56 +00:00
Christopher Fujino
f6bc147c91 Revert "[flutter_tools] Remove sound null safety flag (#120936)" (#122909)
This reverts commit 7c3088cf22.
2023-03-17 11:31:48 -07:00
Greg Spencer
7a859f7760 Revert unintentional changes to Info.plist files (#122896)
Revert unintentional changes to Info.plist files
2023-03-17 18:18:43 +00:00
Christopher Fujino
7c3088cf22 [flutter_tools] Remove sound null safety flag (#120936)
[flutter_tools] Remove sound null safety flag
2023-03-17 17:48:35 +00:00
Renzo Olivares
358d79cb0d TextField should support disabled input text style (#119216)
Co-authored-by: Renzo Olivares <roliv@google.com>
2023-03-17 10:09:49 -07:00
Greg Spencer
bcdab118ba Add support for application exit requests (#121378)
Add support for application exit requests
2023-03-17 15:35:55 +00:00
Christopher Fujino
69921495eb Revert "Fix hot restart flake" (#122855)
Landing revert on red to fix the build.
2023-03-16 22:40:42 -07:00
Cc
1ab7b4616c async.dart file reformat. (#122521)
Co-authored-by: Casey Hillers <chillers@google.com>
2023-03-16 20:16:54 -07:00
Jackson Gardner
be97d03a25 Use depfile with dart2wasm to determine when to rebuild. (#122817)
Use depfile with dart2wasm to determine when to rebuild.
2023-03-16 23:13:04 +00:00
Ian Hickson
245d6d45a1 Assert that runApp is called in the same zone as binding.ensureInitialized (#122836)
Assert that runApp is called in the same zone as binding.ensureInitialized
2023-03-16 22:33:09 +00:00
Qun Cheng
5180e45080 Create SearchBar and SearchBarTheme (#122309) 2023-03-16 15:04:19 -07:00
Christopher Fujino
7e151b4641 [flutter_tools] throw tool exit on invocation of flutter format (#121646)
[flutter_tools] throw tool exit on invocation of flutter format
2023-03-16 21:40:26 +00:00
yaakovschectman
6711411fc2 Revert "Fix bug with clicking Copy or Select All within contextMenu (#120081)" (#122832)
Revert "Fix bug with clicking `Copy` or `Select All` within contextMenu"
2023-03-16 20:35:49 +00:00
yaakovschectman
5bea4d9023 Revert "Assert that runApp is called in the same zone as binding.ensureInitialized (#117113)" (#122830)
Revert "Assert that runApp is called in the same zone as binding.ensureInitialized"
2023-03-16 20:29:13 +00:00
Anna Gringauze
62171dfe38 Fix hot restart flake (#122776) 2023-03-16 13:11:55 -07:00
Ian Hickson
96f927fb0d Assert that runApp is called in the same zone as binding.ensureInitialized (#117113)
Assert that runApp is called in the same zone as binding.ensureInitialized
2023-03-16 19:28:14 +00:00
acumen
4a8e0b62c0 Fix bug with clicking Copy or Select All within contextMenu (#120081)
Fix bug with clicking `Copy` or `Select All` within contextMenu
2023-03-16 19:28:11 +00:00
Chinmoy
e1eb1b9ecf Added onSecondaryTap in InkWell. (#119058)
Exposes onSecondaryTap in InkWell.
2023-03-16 17:02:57 +00:00