63 Commits

Author SHA1 Message Date
Taha Tesser
d4a9631651
Revert "[DataTable]: Add ability to only select row using checkbox (#105123)" (#105311) 2022-06-03 07:18:07 -07:00
Taha Tesser
5fe78541b3
[DataTable]: Add ability to only select row using checkbox (#105123) 2022-06-03 06:13:07 -07:00
Pierre-Louis
cb9a1d623c
Use curly_braces_in_flow_control_structures for material (#104499)
* Use `curly_braces_in_flow_control_structures` for `material`

* include test/material

* add back removed comments
2022-05-25 13:17:06 +02:00
Tong Mu
23bc3d64eb
[Mouse] Remove all pointers at the end of tests (#102694) 2022-05-19 17:48:10 -07:00
Darren Austin
17e2fce1cf
Add const MaterialStatePropertyAll class. (#104127) 2022-05-19 09:35:33 -07:00
xubaolin
ef5a6da35a
Fix a DataTable crash and improve some docs (#100959) 2022-04-19 04:19:08 -07:00
Alex Li
543a7e8588
Android Q transition by default (#100812) 2022-03-25 22:25:07 -07:00
Zachary Anderson
bfa272ac3e
Revert " Android Q transition by default (#98559)" (#100799)
This reverts commit c82ddd39e54fed2401e8b89dd82960d6ac9717d3.
2022-03-25 14:54:21 -07:00
Alex Li
c82ddd39e5
Android Q transition by default (#98559) 2022-03-25 14:03:21 -07:00
Michael Goderbauer
5684b9f69e
Enable no_leading_underscores_for_local_identifiers (#96422) 2022-01-21 14:43:59 -08:00
Markus Aksli
88ded73061
Fix DataTable _SortArrow changing orientation when state is updated (#94455) 2022-01-05 14:10:17 -08:00
Will Lockwood
47e3f1a949
Allow Checkboxes in DataTables to inherit colors from CheckboxTheme (#96007) 2022-01-04 13:00:11 -08:00
Dheeraj Verma
8880008452
Update Data Table Class with Borders Like Table Widgets (#36837) (#92670) 2021-11-01 09:08:05 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)
This reverts commit 5fd259be244244e14ff87fee9b6a721625f952cd.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint (#91409) 2021-10-07 20:13:02 -07:00
Bonsai11
6d2d9b2f3c
Adding onLongPress for DataRow (#87172)
* Adding onLongPress for DataRow

Useful to be able to e.g. start a selection mode of rows or show a drop down menu.

* Test for onLongPress

* Changed parameter
2021-09-21 11:17:08 -07:00
Hans Muller
afe58fbab5
Revert "Reland "Android Q transition by default (#82670)" (#88409)" (#88482) 2021-08-18 20:22:04 -07:00
Alex Li
df399f9a8d
Reland "Android Q transition by default (#82670)" (#88409)
* Reland "Android Q transition by default (#82670)"

This reverts commit 4053b4b16cbec129f03cd7201ab1b8250bda72e8.

* Fix `overall_experience_test.dart` for flutter_tools
2021-08-18 09:11:27 -07:00
Jenn Magder
4053b4b16c
Revert "Android Q transition by default (#82670)" (#88394)
This reverts commit a1ae4feac518dbce2862760ff5ceb7f3992c8d43.
2021-08-17 17:48:52 -07:00
Alex Li
a1ae4feac5
Android Q transition by default (#82670) 2021-08-17 15:47:07 -07:00
Alexandre Ardhuin
fa19b3d3bd
add missing trailing commas (#81329) 2021-04-27 17:09:03 -07:00
Chinmoy
430c57eb3f
Modified DataRow to be disabled when onSelectChanged is not set (#80184)
This change prevents DataRow from being enabled when onSelectChanged is null.
2021-04-20 11:10:48 -07:00
Chinmoy
bb43d2c632
Added checkboxHorizontalMargin to DataTable and PaginatedDataTable (#71217) 2021-02-17 15:11:52 -08:00
Rashid-Khabeer
a178bba5d2
Add onLongPress property to DataCell: #72609 (#75393) 2021-02-10 16:56:04 -08:00
Jonah Williams
e5000f6cea
[flutter_tools] Remove usage of --precompiled flag for web tests (#70977) 2020-12-01 09:54:01 -08:00
Per Classon
8a7fd39b85
[Material] Parent checkbox in DataTable should deselect all, if children checkboxes are disabled or selected (#67938) 2020-10-14 08:57:06 -07:00
Per Classon
7668f06ffe
[Material] Use primary color for selected rows and checkboxes in DataTable (#67919) 2020-10-12 10:17:03 -07:00
Per Classon
8d80592d46
Add tristate to parent checkbox for DataTable (#67414)
* Add tristate to parent checkbox for DataTable to follow Material specifications
2020-10-09 16:33:39 +02:00
Per Classon
ee08c2278a
Add decoration parameter to DataTable and DataTableTheme (#66640)
* Add decoration parameter to DataTable and DataTableTheme
2020-10-09 14:11:17 +02:00
Alexandre Ardhuin
4acc790252
enable lint cast_nullable_to_non_nullable (#67629) 2020-10-08 21:05:43 +02:00
Darren Austin
3c21775c94
Migrate Material framework tests to null safety (#67556)
Migrate Material framework tests to null safety.
2020-10-07 16:44:00 -07:00
Per Classon
ba1aeb409e
Reland "Add DataTableTheme to allow for themable DataTables (#64316)" (#65383) 2020-09-10 13:00:04 -07:00
Per Classon
0bb1e573fc
Revert "Add DataTableTheme to allow for themable DataTables (#64316)" (#65382)
This reverts commit cb4b8677219482e3378b1b6bfeff1241a453ccb6.
2020-09-08 15:28:13 +02:00
Per Classon
cb4b867721
Add DataTableTheme to allow for themable DataTables (#64316) 2020-09-02 15:40:06 -07:00
Wikiwix
88118bcbd1
Fix sort indicator for DataTables (#62795)
* Fix sort indicator for DataTables

As per material spec ascending order should be shown via an upward arrow
This commit changes the displayed arrows accordingly.

* Test sort indicator orientation in DataTable
2020-08-13 15:17:43 -07:00
Per Classon
db5a62b0ee
Support customizing colors for rows in DataTable (#60764) 2020-07-07 10:24:02 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter (#59186)
* add language version 2.8 in packages/flutter

* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
Tong Mu
c82c399eb7
[DataTable] Hide arrow padding when not sorting (#51667)
* Change onSort and add tests

* Add doc

* Regression test

* Remove if (true)

* Make test clearer

* Clearer comment
2020-03-12 18:20:15 -07:00
Dmitry Ratushnyy
a70e4aec93
Material DataTable: added support of setting table row border thickness (#49692) 2020-02-24 09:46:03 -08:00
Ben Konyi
a0e5621956
Added showCheckboxColumn parameter to DataTable and PaginatedDataTable (#47552)
`showCheckboxColumn` will determine whether or not selectable rows in
DateTable or PaginatedDataTable will contain a leading CheckBox.
2020-01-06 16:29:36 -05:00
Alexandre Ardhuin
dfbd585668 implicit-casts:false in flutter/test (#46245) 2019-12-16 15:03:02 -08:00
Ian Hickson
449f4a6673
License update (#45373)
* Update project.pbxproj files to say Flutter rather than Chromium

Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.

* Update the copyright notice checker to require a standard notice on all files

* Update copyrights on Dart files. (This was a mechanical commit.)

* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.

Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).

* Clean up the copyrights in non-Dart files. (Manual edits.)

Also, make sure templates don't have copyrights.

* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Shi-Hao Hong
71254a6147
Custom height parameters for DataTable header and data rows (#33535)
* Custom dataRowHeight for DataTable and PaginatedDataTable

* Custom headingRowHeight for DataTable and PaginatedDataTable
2019-06-19 22:01:37 -07:00
Shi-Hao Hong
42d8383c9e
DataTable Custom Horizontal Padding (#33628)
* Add optional horizontalMargin and columnSpacing properties to DataTable

* Add horizontalMargin and columnSpacing tests for DataTable and PaginatedDataTable
2019-06-19 12:59:41 -07:00
Alexandre Ardhuin
387f885481
Add missing trailing commas (#28673)
* add trailing commas on list/map/parameters

* add trailing commas on Invocation with nb of arg>1

* add commas for widget containing widgets

* add trailing commas if instantiation contains trailing comma

* revert bad change
2019-03-01 08:17:55 +01:00
KyleWong
cb2ac0a125 Null check logic for datatable. (#27632) 2019-02-12 01:05:09 -08:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods (#22096) 2018-10-01 21:29:08 +02:00
Alexandre Ardhuin
d927c93310
Unnecessary new (#20138)
* enable lint unnecessary_new

* fix tests

* fix tests

* fix tests
2018-09-12 08:29:29 +02:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const (#20103) 2018-08-02 12:02:32 +02:00