material.dart 8.22 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
2 3 4
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5
/// Flutter widgets implementing Material Design.
6
///
7
/// To use, import `package:flutter/material.dart`.
8
///
9 10
/// {@youtube 560 315 https://www.youtube.com/watch?v=DL0Ix1lnC4w}
///
11 12
/// See also:
///
13 14
///  * [flutter.dev/widgets/material](https://flutter.dev/widgets/material)
///    for a catalog of commonly-used Material component widgets.
15
///  * [material.io/design](https://material.io/design/)
16
///    for an introduction to Material Design.
17 18 19 20
///  * [material.io/components](https://material.io/components?platform=flutter)
///    for the Material 2 specification.
///  * [m3.material.io](https://m3.material.io)
///    for the Material 3 specification.
21 22
library material;

Ian Hickson's avatar
Ian Hickson committed
23
export 'src/material/about.dart';
24
export 'src/material/action_buttons.dart';
25
export 'src/material/action_chip.dart';
26
export 'src/material/action_icons_theme.dart';
27
export 'src/material/adaptive_text_selection_toolbar.dart';
28
export 'src/material/animated_icons.dart';
29
export 'src/material/app.dart';
30
export 'src/material/app_bar.dart';
31
export 'src/material/app_bar_theme.dart';
32
export 'src/material/arc.dart';
33
export 'src/material/autocomplete.dart';
34 35
export 'src/material/badge.dart';
export 'src/material/badge_theme.dart';
36 37
export 'src/material/banner.dart';
export 'src/material/banner_theme.dart';
38
export 'src/material/bottom_app_bar.dart';
39
export 'src/material/bottom_app_bar_theme.dart';
40
export 'src/material/bottom_navigation_bar.dart';
41
export 'src/material/bottom_navigation_bar_theme.dart';
42
export 'src/material/bottom_sheet.dart';
43
export 'src/material/bottom_sheet_theme.dart';
44
export 'src/material/button.dart';
45
export 'src/material/button_bar.dart';
46
export 'src/material/button_bar_theme.dart';
47 48
export 'src/material/button_style.dart';
export 'src/material/button_style_button.dart';
49
export 'src/material/button_theme.dart';
50
export 'src/material/calendar_date_picker.dart';
51
export 'src/material/card.dart';
52
export 'src/material/card_theme.dart';
53
export 'src/material/checkbox.dart';
54
export 'src/material/checkbox_list_tile.dart';
55
export 'src/material/checkbox_theme.dart';
56
export 'src/material/chip.dart';
57
export 'src/material/chip_theme.dart';
58
export 'src/material/choice_chip.dart';
Adam Barth's avatar
Adam Barth committed
59
export 'src/material/circle_avatar.dart';
60
export 'src/material/color_scheme.dart';
61
export 'src/material/colors.dart';
62
export 'src/material/constants.dart';
63
export 'src/material/curves.dart';
64
export 'src/material/data_table.dart';
65
export 'src/material/data_table_source.dart';
66
export 'src/material/data_table_theme.dart';
67 68
export 'src/material/date.dart';
export 'src/material/date_picker.dart';
69
export 'src/material/date_picker_theme.dart';
70
export 'src/material/debug.dart';
71
export 'src/material/desktop_text_selection.dart';
72 73
export 'src/material/desktop_text_selection_toolbar.dart';
export 'src/material/desktop_text_selection_toolbar_button.dart';
74
export 'src/material/dialog.dart';
75
export 'src/material/dialog_theme.dart';
76
export 'src/material/divider.dart';
77
export 'src/material/divider_theme.dart';
78 79
export 'src/material/drawer.dart';
export 'src/material/drawer_header.dart';
80
export 'src/material/drawer_theme.dart';
81
export 'src/material/dropdown.dart';
82 83
export 'src/material/dropdown_menu.dart';
export 'src/material/dropdown_menu_theme.dart';
84 85
export 'src/material/elevated_button.dart';
export 'src/material/elevated_button_theme.dart';
86
export 'src/material/elevation_overlay.dart';
87
export 'src/material/expand_icon.dart';
88
export 'src/material/expansion_panel.dart';
89
export 'src/material/expansion_tile.dart';
90
export 'src/material/expansion_tile_theme.dart';
91
export 'src/material/feedback.dart';
92 93
export 'src/material/filled_button.dart';
export 'src/material/filled_button_theme.dart';
94
export 'src/material/filter_chip.dart';
95
export 'src/material/flexible_space_bar.dart';
96
export 'src/material/floating_action_button.dart';
97
export 'src/material/floating_action_button_location.dart';
98
export 'src/material/floating_action_button_theme.dart';
99
export 'src/material/flutter_logo.dart';
Hans Muller's avatar
Hans Muller committed
100
export 'src/material/grid_tile.dart';
101
export 'src/material/grid_tile_bar.dart';
Adam Barth's avatar
Adam Barth committed
102
export 'src/material/icon_button.dart';
103
export 'src/material/icon_button_theme.dart';
104
export 'src/material/icons.dart';
Ian Hickson's avatar
Ian Hickson committed
105
export 'src/material/ink_decoration.dart';
106
export 'src/material/ink_highlight.dart';
107
export 'src/material/ink_ripple.dart';
108
export 'src/material/ink_sparkle.dart';
109
export 'src/material/ink_splash.dart';
110
export 'src/material/ink_well.dart';
111
export 'src/material/input_border.dart';
112
export 'src/material/input_chip.dart';
113
export 'src/material/input_date_picker_form_field.dart';
114
export 'src/material/input_decorator.dart';
115
export 'src/material/list_tile.dart';
116
export 'src/material/list_tile_theme.dart';
117
export 'src/material/magnifier.dart';
118
export 'src/material/material.dart';
119
export 'src/material/material_button.dart';
120
export 'src/material/material_localizations.dart';
121
export 'src/material/material_state.dart';
122
export 'src/material/material_state_mixin.dart';
123 124 125 126 127
export 'src/material/menu_anchor.dart';
export 'src/material/menu_bar_theme.dart';
export 'src/material/menu_button_theme.dart';
export 'src/material/menu_style.dart';
export 'src/material/menu_theme.dart';
128
export 'src/material/mergeable_material.dart';
129 130
export 'src/material/navigation_bar.dart';
export 'src/material/navigation_bar_theme.dart';
hangyu's avatar
hangyu committed
131 132
export 'src/material/navigation_drawer.dart';
export 'src/material/navigation_drawer_theme.dart';
133 134
export 'src/material/navigation_rail.dart';
export 'src/material/navigation_rail_theme.dart';
135
export 'src/material/no_splash.dart';
136 137
export 'src/material/outlined_button.dart';
export 'src/material/outlined_button_theme.dart';
138
export 'src/material/page.dart';
139
export 'src/material/page_transitions_theme.dart';
140
export 'src/material/paginated_data_table.dart';
Adam Barth's avatar
Adam Barth committed
141
export 'src/material/popup_menu.dart';
142
export 'src/material/popup_menu_theme.dart';
143
export 'src/material/progress_indicator.dart';
144
export 'src/material/progress_indicator_theme.dart';
145
export 'src/material/radio.dart';
146
export 'src/material/radio_list_tile.dart';
147
export 'src/material/radio_theme.dart';
148
export 'src/material/range_slider.dart';
149
export 'src/material/refresh_indicator.dart';
150
export 'src/material/reorderable_list.dart';
151
export 'src/material/scaffold.dart';
152
export 'src/material/scrollbar.dart';
153
export 'src/material/scrollbar_theme.dart';
154
export 'src/material/search.dart';
155 156
export 'src/material/search_anchor.dart';
export 'src/material/search_bar_theme.dart';
157
export 'src/material/search_view_theme.dart';
158 159
export 'src/material/segmented_button.dart';
export 'src/material/segmented_button_theme.dart';
160
export 'src/material/selectable_text.dart';
161
export 'src/material/selection_area.dart';
162
export 'src/material/shadows.dart';
163
export 'src/material/slider.dart';
164
export 'src/material/slider_theme.dart';
165
export 'src/material/snack_bar.dart';
166
export 'src/material/snack_bar_theme.dart';
167 168
export 'src/material/spell_check_suggestions_toolbar.dart';
export 'src/material/spell_check_suggestions_toolbar_layout_delegate.dart';
169
export 'src/material/stepper.dart';
170
export 'src/material/switch.dart';
171
export 'src/material/switch_list_tile.dart';
172
export 'src/material/switch_theme.dart';
173
export 'src/material/tab_bar_theme.dart';
Hans Muller's avatar
Hans Muller committed
174
export 'src/material/tab_controller.dart';
175
export 'src/material/tab_indicator.dart';
176
export 'src/material/tabs.dart';
177 178
export 'src/material/text_button.dart';
export 'src/material/text_button_theme.dart';
179 180 181
export 'src/material/text_field.dart';
export 'src/material/text_form_field.dart';
export 'src/material/text_selection.dart';
182
export 'src/material/text_selection_theme.dart';
183 184
export 'src/material/text_selection_toolbar.dart';
export 'src/material/text_selection_toolbar_text_button.dart';
185
export 'src/material/text_theme.dart';
Adam Barth's avatar
Adam Barth committed
186
export 'src/material/theme.dart';
187
export 'src/material/theme_data.dart';
188
export 'src/material/time.dart';
189
export 'src/material/time_picker.dart';
190
export 'src/material/time_picker_theme.dart';
191 192
export 'src/material/toggle_buttons.dart';
export 'src/material/toggle_buttons_theme.dart';
193
export 'src/material/toggleable.dart';
Hixie's avatar
Hixie committed
194
export 'src/material/tooltip.dart';
195
export 'src/material/tooltip_theme.dart';
196
export 'src/material/tooltip_visibility.dart';
197
export 'src/material/typography.dart';
198
export 'src/material/user_accounts_drawer_header.dart';
199
export 'widgets.dart';