144 Commits

Author SHA1 Message Date
Markus Aksli
502edd48c9
Reland "Add TooltipVisibility widget" (#92090) 2021-10-19 12:26:33 -07:00
Markus Aksli
63a64a8875
Revert "Add TooltipVisibility widget (#91609)" (#92088)
This reverts commit 6b94f2f62a0d169c09d8b80c9f15ff245a98f67c.
2021-10-19 15:41:28 +03:00
Markus Aksli
6b94f2f62a
Add TooltipVisibility widget (#91609) 2021-10-19 04:53:04 -07:00
MH Johnson
f3049c7762
add navigation bar component (#83047) 2021-09-26 08:03:04 -07:00
Rami
069699ebde
Add ability to customize drawer shape and color as well as theme drawer properties (#89237) 2021-09-01 16:41:53 -04:00
Craig Labenz
02b46b0d77
refactor: Add MaterialStateMixin (#82843) 2021-06-10 11:44:04 -07:00
Darren Austin
e2ddeb0427
Added a ProgressIndicatorTheme. (#81075) 2021-04-26 12:27:37 -07:00
Hans Muller
51dd5bf1f7
Added ButtonStyle.splashFactory and NoSplash.splashFactory (#74949) 2021-02-01 18:11:04 -08:00
Justin McCandless
f3947ea0cd
Autocomplete (Material) (#73753)
* Material Autocomplete widget
2021-01-23 10:02:30 +08:00
Justin McCandless
a8471a61f8
Material Desktop Context Menu (#74286)
Very simple right-click context menu for Windows and Linux in a Material-esque style.
2021-01-20 16:29:01 -08:00
Kate Lovett
09008e6f71
Add ScrollbarTheme/ScrollbarThemeData (#72308) 2021-01-12 17:14:04 -08:00
Justin McCandless
7d2e3a1859
Material Text Selection Toolbar improvements (#69428)
Exposes the ability to create custom Material text selection toolbar menus, and cleans up the code around these menus.
2020-12-15 08:59:08 -08:00
Per Classon
226532b157
[Material] Add selection control themes (#70311) 2020-11-21 03:08:04 -08:00
Darren Austin
c5f8edd9ee
Material Date Picker code restructure (#70708)
Date Picker restructuring. Moved files out of 'pickers' and merged several of the non-public implementation files into date_picker.dart.
2020-11-20 15:20:09 -08:00
Alexandre Ardhuin
f551178408
migrate material to nullsafety (#67166)
* migrate material to nullsafety

* address review comments

* address review comments

* fix build
2020-10-06 11:36:50 +02: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
Darren Austin
bebc119ce5
TextSelectionTheme support (step 1 of 3) (#62014)
Create a new TextSelectionTheme for text selection properties.
2020-08-04 16:06:28 -07:00
Michael Goderbauer
ddb6d9d913
Revert "Revert "Export Material curves in the Material lib (#62421)" (#62431)" (#62435) 2020-07-28 19:56:03 -07:00
Jonah Williams
1b37da4f92
Revert "Export Material curves in the Material lib (#62421)" (#62431)
This reverts commit 80237ef8d66d2ee0988c754f7686a290a7dfa3d5.
2020-07-28 11:54:01 -07:00
Todd Volkert
80237ef8d6
Export Material curves in the Material lib (#62421)
(split out from https://github.com/flutter/flutter/pull/62317)
2020-07-28 10:35:51 -07:00
Hans Muller
eac1747169
Renamed ContainedButton et al. to ElevatedButton et al. (#61262) 2020-07-11 08:50:43 -07:00
Hans Muller
dc31d89c56
New Button Universe (#59702) 2020-07-09 13:41:03 -07:00
Darren Austin
3a226df607
Expose the ElevationOverlay functions so applications can use the directly. (#60059) 2020-06-23 15:43:01 -07:00
rami-a
e676024d37
[Material] Redesign Time Picker (#59191) 2020-06-22 17:03:04 -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
MH Johnson
e82454fb02
[Material] Added BottomNavigationBarTheme (#54714) 2020-04-20 08:30:03 -07:00
Anthony
0d111bc91a
[Material] Create a Navigation Rail component and theme (#49574) 2020-03-26 13:31:02 -07:00
Darren Austin
142b526f1b
Material Date Picker redesign (#50546)
Date Picker UI redesign
2020-03-24 18:44:57 -07: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
Darren Austin
9dce19e96f
Replace ButtonBar.bar method with ButtonBarTheme (#37544)
* Added new ButtonBarTheme to replace the deprecated ButtonTheme.bar method.

* Responding to PR feedback.

* [Material] Create material Banner component (#36880)

This PR creates a new material widget for the Banner component. This includes a theme as well. This widget can be dropped into any application, ideally at the top of a listview or scrollview.

(cherry picked from commit 35b6d668e197035ea2b57adb99041542982e8be0)

Removed the use of ButtonTheme.bar in the Banner implementation.

* Updated documentation from PR review comments.
2019-08-19 17:35:44 -07:00
rami-a
13844aa62a
[Material] Create theme for Dividers to enable customization of thickness (#38621) 2019-08-16 13:09:36 -04:00
rami-a
35b6d668e1
[Material] Create material Banner component (#36880)
This PR creates a new material widget for the Banner component. This includes a theme as well. This widget can be dropped into any application, ideally at the top of a listview or scrollview.
2019-08-05 09:41:09 -04:00
lisa-liao
63992e4fde Add PopupMenuTheme to enable theming color, shape, elevation, text style of Menu (#36088)
* [Menu] Create Menu theme

* [Menu] Create Menu theme

* [Menu] Formatting changes for Menu theme

* [Menu] Fix spacing difference in theme_data.dart.

* [Menu] Fix spacing difference in theme_data.dart.

* Specifying types

* Formatting changes

* Address PR feedback

* Formatting changes

* Address PR feedback

* Add inherited widget

* Add inherited widget

* Address PR feedback and add inherited widget.

* Formatting changes.

* Address PR feedback

* Address PR feedback

* Address PR feedback

* Address PR feedback
2019-07-26 13:09:33 -04:00
Shi-Hao Hong
2e43b47008
[Material] ToggleButtons (#34599)
* Introduces ToggleButtons widget

* Introduces ToggleButtonsTheme inherited widget

* Introduces ThemeData.toggleButtonsTheme property
2019-07-26 09:26:15 -07:00
Shi-Hao Hong
dee8e4211e
[Material] Implement TooltipTheme and Tooltip.textStyle, update Tooltip defaults (#36856)
* Implement TooltipThemeData and TooltipTheme

* Add text style property 

* Updated tooltip default colors for light and dark theme to match Material specification
2019-07-25 09:09:24 -07:00
Shi-Hao Hong
aa6384cbac
Revert "[Material] Implement TooltipTheme and Tooltip.textStyle, fix Tooltip debugLabel, update Tooltip defaults (#36030)" (#36851)
This reverts commit 62158a1bae83aedcc88d66694010911a98fff84a.
2019-07-24 08:55:51 -07:00
Shi-Hao Hong
62158a1bae
[Material] Implement TooltipTheme and Tooltip.textStyle, fix Tooltip debugLabel, update Tooltip defaults (#36030)
* Implement TooltipThemeData and TooltipTheme

* Add tooltip text style property

* Update default tooltip text style and decoration to match Material specification

* Fix debugLabel incorrectly labeling "white" as "black", and vice versa by default
2019-07-24 08:24:09 -07:00
chunhtai
2338576aa6
implement selectable text (#34019) 2019-07-19 12:17:41 -07:00
Anthony
e1d0ded926
[Material] Create a themable Range Slider (continuous and discrete) (#31681)
Creates a Material Design range slider.

The range slider is based off the updated slider, with the main difference being that it has 2 thumbs.
By default, the thumbs cannot pass each other and both the thumb and the value indicator create a stroke when they are overlapping for better visibility.
2019-06-06 15:31:02 -04:00
MH Johnson
1b87f558d5
[Material] Add support for hovered, pressed, and focused text color on Buttons. (#33090)
* Support for stateful text colors in buttons

* Add color and a11y tests for buttons
2019-06-05 15:46:53 -04:00
rami-a
6a1468db16
Add BottomSheetTheme to enable theming color, elevation, shape of BottomSheet (#31318)
* Introduce BottomSheetTheme and shape support for bottom sheet

* Add bottom sheet theme to ThemeData. Use theme in bottom sheet build

* Expose color, elevation, shape to showModalBottomSheet helper

* Expose color, elevation, shape to showBottomSheet helper

* Address PR feedback

* Address PR feedback

* Address additional PR feedback
2019-05-01 13:10:50 -04:00
rami-a
d4e4726ac2
Update SnackBar to allow for support of the new style from Material spec (#31275)
This PR introduces a number of changes and improvements to snack bars. This includes the ability to specify:

floating style of snack bars that adhere to the updated Material spec
elevation and shape on the SnackBar itself instead of relying on fixed values
a snackBarTheme as part of ThemeData which allows you to customize all of the above on an app-wide level.
This PR is includes the changes from #21484 as well as additional fixes and modifications. Thanks to @NikoYuwono for providing these changes and getting this off the ground!
2019-04-24 17:22:30 -04:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00
Michael Goderbauer
5493fe469e
Moar Videos (#30452) 2019-04-03 12:49:13 -07:00
Anthony
bdf582fd15
[Material] Create a FloatingActionButton ThemeData and honor it within the FloatingActionButton (#28735)
Adds a FloatingActionButtonThemeData so that FABs can be themed at the Theme level and independently. The properties that are now on the theme must be defaulted at the build level, in order to respect any contributing theme properties. Because of this, some tests had to be modified to look at properties after they are built. Also, since default behaviors are now tested in the FAB Theme test, some default tests in the FAB test no longer applied and were removed.

The themable properties are:
-backgroundColor
-foregroundColor
-elevation
-disabledElevation
-highlightElevation
-shape
2019-03-20 19:43:56 -04:00
MhdHejazi
af3cdb33da #19060 Update material.google.com links to material.io (#26807) 2019-02-01 10:14:48 -08:00
Will Larche
c362d8da07 [Material] Theme data type for cards (#26796)
This change adds a CardTheme and tests for it.

Golden is here:
ec26eeebb4/packages/flutter/test/material/card_theme.custom_shape.png

From commit:
ec26eeebb4 (diff-7564b206413654283ddc5cb59ecd64d4)
2019-01-24 11:01:21 -05:00
rami-a
af0758e67d
[Material] Implement App Bar Theme (#26597)
This change creates an `AppBarTheme` to be used with `AppBar` widgets. This allows for users to theme their AppBars separately from their overall Theme if they choose.
2019-01-22 09:39:58 -05:00