diff --git a/packages/cupertino_ui/example/lib/activity_indicator/cupertino_activity_indicator.0.dart b/packages/cupertino_ui/example/lib/activity_indicator/cupertino_activity_indicator.0.dart index 938ae8c12900..0b20c00f306d 100644 --- a/packages/cupertino_ui/example/lib/activity_indicator/cupertino_activity_indicator.0.dart +++ b/packages/cupertino_ui/example/lib/activity_indicator/cupertino_activity_indicator.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoActivityIndicator]. @@ -73,3 +74,4 @@ class CupertinoIndicatorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/activity_indicator/cupertino_linear_activity_indicator.0.dart b/packages/cupertino_ui/example/lib/activity_indicator/cupertino_linear_activity_indicator.0.dart index 658402b21b8e..8d77b654c8c3 100644 --- a/packages/cupertino_ui/example/lib/activity_indicator/cupertino_linear_activity_indicator.0.dart +++ b/packages/cupertino_ui/example/lib/activity_indicator/cupertino_linear_activity_indicator.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoLinearActivityIndicator]. @@ -75,3 +76,4 @@ class CupertinoIndicatorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/bottom_tab_bar/cupertino_tab_bar.0.dart b/packages/cupertino_ui/example/lib/bottom_tab_bar/cupertino_tab_bar.0.dart index 8d43cc86b845..f43774f2941b 100644 --- a/packages/cupertino_ui/example/lib/bottom_tab_bar/cupertino_tab_bar.0.dart +++ b/packages/cupertino_ui/example/lib/bottom_tab_bar/cupertino_tab_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTabBar]. @@ -56,3 +57,4 @@ class CupertinoTabBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/button/cupertino_button.0.dart b/packages/cupertino_ui/example/lib/button/cupertino_button.0.dart index 1ea1581ffef0..44243ee839a4 100644 --- a/packages/cupertino_ui/example/lib/button/cupertino_button.0.dart +++ b/packages/cupertino_ui/example/lib/button/cupertino_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoButton]. @@ -52,3 +53,4 @@ class CupertinoButtonExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/checkbox/cupertino_checkbox.0.dart b/packages/cupertino_ui/example/lib/checkbox/cupertino_checkbox.0.dart index 42be8a78f49e..082bf302daa2 100644 --- a/packages/cupertino_ui/example/lib/checkbox/cupertino_checkbox.0.dart +++ b/packages/cupertino_ui/example/lib/checkbox/cupertino_checkbox.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoCheckbox]. @@ -52,3 +53,4 @@ class _CupertinoCheckboxExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.0.dart b/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.0.dart index 9d0e4d95efba..cf00644b52c1 100644 --- a/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.0.dart +++ b/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoContextMenu]. @@ -75,3 +76,4 @@ class ContextMenuExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.1.dart b/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.1.dart index 21ef94b8f2a2..2652d4d2e8bb 100644 --- a/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.1.dart +++ b/packages/cupertino_ui/example/lib/context_menu/cupertino_context_menu.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoContextMenu]. @@ -114,3 +115,4 @@ class ContextMenuExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/date_picker/cupertino_date_picker.0.dart b/packages/cupertino_ui/example/lib/date_picker/cupertino_date_picker.0.dart index 28a5cc045057..78766d490d60 100644 --- a/packages/cupertino_ui/example/lib/date_picker/cupertino_date_picker.0.dart +++ b/packages/cupertino_ui/example/lib/date_picker/cupertino_date_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoDatePicker]. @@ -175,3 +176,4 @@ class _DatePickerItem extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/date_picker/cupertino_timer_picker.0.dart b/packages/cupertino_ui/example/lib/date_picker/cupertino_timer_picker.0.dart index fa1939de2217..e65c1baab415 100644 --- a/packages/cupertino_ui/example/lib/date_picker/cupertino_timer_picker.0.dart +++ b/packages/cupertino_ui/example/lib/date_picker/cupertino_timer_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTimerPicker]. @@ -120,3 +121,4 @@ class _TimerPickerItem extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/dialog/cupertino_action_sheet.0.dart b/packages/cupertino_ui/example/lib/dialog/cupertino_action_sheet.0.dart index 3d7b9fb5175f..44955e1f7406 100644 --- a/packages/cupertino_ui/example/lib/dialog/cupertino_action_sheet.0.dart +++ b/packages/cupertino_ui/example/lib/dialog/cupertino_action_sheet.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoActionSheet]. @@ -76,3 +77,4 @@ class ActionSheetExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/dialog/cupertino_alert_dialog.0.dart b/packages/cupertino_ui/example/lib/dialog/cupertino_alert_dialog.0.dart index 1a472277b142..8d3a54271356 100644 --- a/packages/cupertino_ui/example/lib/dialog/cupertino_alert_dialog.0.dart +++ b/packages/cupertino_ui/example/lib/dialog/cupertino_alert_dialog.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoAlertDialog]. @@ -69,3 +70,4 @@ class AlertDialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/dialog/cupertino_popup_surface.0.dart b/packages/cupertino_ui/example/lib/dialog/cupertino_popup_surface.0.dart index 2568fee5640e..11aa04c26375 100644 --- a/packages/cupertino_ui/example/lib/dialog/cupertino_popup_surface.0.dart +++ b/packages/cupertino_ui/example/lib/dialog/cupertino_popup_surface.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoPopupSurface]. @@ -104,3 +105,4 @@ class _PopupSurfaceExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/expansion_tile/cupertino_expansion_tile.0.dart b/packages/cupertino_ui/example/lib/expansion_tile/cupertino_expansion_tile.0.dart index 880b3c943442..53e971467262 100644 --- a/packages/cupertino_ui/example/lib/expansion_tile/cupertino_expansion_tile.0.dart +++ b/packages/cupertino_ui/example/lib/expansion_tile/cupertino_expansion_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoExpansionTile] showing both @@ -122,3 +123,4 @@ class _TransitionTileSectionState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/form_row/cupertino_form_row.0.dart b/packages/cupertino_ui/example/lib/form_row/cupertino_form_row.0.dart index 46712240ab11..dbdc6e86c326 100644 --- a/packages/cupertino_ui/example/lib/form_row/cupertino_form_row.0.dart +++ b/packages/cupertino_ui/example/lib/form_row/cupertino_form_row.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoFormRow]. @@ -137,3 +138,4 @@ class PrefixWidget extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/list_section/list_section_base.0.dart b/packages/cupertino_ui/example/lib/list_section/list_section_base.0.dart index 42c9529893de..02de7644e45d 100644 --- a/packages/cupertino_ui/example/lib/list_section/list_section_base.0.dart +++ b/packages/cupertino_ui/example/lib/list_section/list_section_base.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for base [CupertinoListSection] and [CupertinoListTile]. @@ -84,3 +85,4 @@ class _SecondPage extends StatelessWidget { return CupertinoPageScaffold(child: Center(child: Text(text))); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/list_section/list_section_inset.0.dart b/packages/cupertino_ui/example/lib/list_section/list_section_inset.0.dart index 99803fce1e37..6a7d7e5109d9 100644 --- a/packages/cupertino_ui/example/lib/list_section/list_section_inset.0.dart +++ b/packages/cupertino_ui/example/lib/list_section/list_section_inset.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for inset [CupertinoListSection] and [CupertinoListTile]. @@ -84,3 +85,4 @@ class _SecondPage extends StatelessWidget { return CupertinoPageScaffold(child: Center(child: Text(text))); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/list_tile/cupertino_list_tile.0.dart b/packages/cupertino_ui/example/lib/list_tile/cupertino_list_tile.0.dart index 857da6ec22cb..eb0750eebb52 100644 --- a/packages/cupertino_ui/example/lib/list_tile/cupertino_list_tile.0.dart +++ b/packages/cupertino_ui/example/lib/list_tile/cupertino_list_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; import 'package:material_ui/material_ui.dart'; @@ -61,3 +62,4 @@ class CupertinoListTileExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/magnifier/cupertino_magnifier.0.dart b/packages/cupertino_ui/example/lib/magnifier/cupertino_magnifier.0.dart index 31133d546e8e..48cf781f0614 100644 --- a/packages/cupertino_ui/example/lib/magnifier/cupertino_magnifier.0.dart +++ b/packages/cupertino_ui/example/lib/magnifier/cupertino_magnifier.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoMagnifier]. @@ -77,3 +78,4 @@ class _CupertinoMagnifierExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/magnifier/cupertino_text_magnifier.0.dart b/packages/cupertino_ui/example/lib/magnifier/cupertino_text_magnifier.0.dart index d06b3374cbb2..00425f2ba7fa 100644 --- a/packages/cupertino_ui/example/lib/magnifier/cupertino_text_magnifier.0.dart +++ b/packages/cupertino_ui/example/lib/magnifier/cupertino_text_magnifier.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTextMagnifier]. @@ -58,3 +59,4 @@ class _CupertinoTextMagnifierExampleAppState ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/magnifier/text_magnifier.0.dart b/packages/cupertino_ui/example/lib/magnifier/text_magnifier.0.dart index 8a37af835f9f..d79d27f161fa 100644 --- a/packages/cupertino_ui/example/lib/magnifier/text_magnifier.0.dart +++ b/packages/cupertino_ui/example/lib/magnifier/text_magnifier.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/foundation.dart'; import 'package:material_ui/material_ui.dart'; @@ -105,3 +106,4 @@ class CustomMagnifier extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.0.dart b/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.0.dart index fdc4a78a12cb..d3a7862acd20 100644 --- a/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.0.dart +++ b/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for a basic [CupertinoMenuAnchor]. @@ -84,3 +85,4 @@ class _CupertinoMenuAnchorExampleState ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.1.dart b/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.1.dart index 343714f3a4e7..528976d3ec32 100644 --- a/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.1.dart +++ b/packages/cupertino_ui/example/lib/menu_anchor/menu_anchor.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for a [CupertinoMenuAnchor] that shows a menu with three @@ -133,3 +134,4 @@ class _CupertinoMenuAnchorExampleState ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.0.dart b/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.0.dart index 8939902bed3b..c66dff39c0b4 100644 --- a/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.0.dart +++ b/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoNavigationBar]. @@ -48,3 +49,4 @@ class _NavBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.1.dart b/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.1.dart index d7f764ae068d..e3c6cda815bd 100644 --- a/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.1.dart +++ b/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoNavigationBar] showing a @@ -71,3 +72,4 @@ class _NavigationBarSearchField extends StatelessWidget Size get preferredSize => const Size.fromHeight(searchFieldHeight + padding * 2); } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.2.dart b/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.2.dart index 4158c0d759a6..51e43efc884c 100644 --- a/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.2.dart +++ b/packages/cupertino_ui/example/lib/nav_bar/cupertino_navigation_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoNavigationBar.large]. @@ -63,3 +64,4 @@ class _NavBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.0.dart b/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.0.dart index 0c2dfcb5d9d9..8de624cb880f 100644 --- a/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.0.dart +++ b/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSliverNavigationBar]. @@ -110,3 +111,4 @@ class NextPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.1.dart b/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.1.dart index 1ff6046a14f5..0e2ccef985cf 100644 --- a/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.1.dart +++ b/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSliverNavigationBar.search]. @@ -158,3 +159,4 @@ class _NextPageState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.2.dart b/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.2.dart index 73db9bb8f3df..704601d429f5 100644 --- a/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.2.dart +++ b/packages/cupertino_ui/example/lib/nav_bar/cupertino_sliver_nav_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSliverNavigationBar]. @@ -117,3 +118,4 @@ class NextPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/page_scaffold/cupertino_page_scaffold.0.dart b/packages/cupertino_ui/example/lib/page_scaffold/cupertino_page_scaffold.0.dart index 9ece253966f9..d59c7c5000a9 100644 --- a/packages/cupertino_ui/example/lib/page_scaffold/cupertino_page_scaffold.0.dart +++ b/packages/cupertino_ui/example/lib/page_scaffold/cupertino_page_scaffold.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoPageScaffold]. @@ -56,3 +57,4 @@ class _PageScaffoldExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/picker/cupertino_picker.0.dart b/packages/cupertino_ui/example/lib/picker/cupertino_picker.0.dart index a27bfa67fe47..123fe28fc716 100644 --- a/packages/cupertino_ui/example/lib/picker/cupertino_picker.0.dart +++ b/packages/cupertino_ui/example/lib/picker/cupertino_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoPicker]. @@ -111,3 +112,4 @@ class _CupertinoPickerExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/radio/cupertino_radio.0.dart b/packages/cupertino_ui/example/lib/radio/cupertino_radio.0.dart index 6128f5bef940..8be8a29d7789 100644 --- a/packages/cupertino_ui/example/lib/radio/cupertino_radio.0.dart +++ b/packages/cupertino_ui/example/lib/radio/cupertino_radio.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoRadio]. @@ -65,3 +66,4 @@ class _CupertinoRadioExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/radio/cupertino_radio.toggleable.0.dart b/packages/cupertino_ui/example/lib/radio/cupertino_radio.toggleable.0.dart index 915eae184bca..92625fd57e85 100644 --- a/packages/cupertino_ui/example/lib/radio/cupertino_radio.toggleable.0.dart +++ b/packages/cupertino_ui/example/lib/radio/cupertino_radio.toggleable.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoRadio.toggleable]. @@ -68,3 +69,4 @@ class _CupertinoRadioExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/refresh/cupertino_sliver_refresh_control.0.dart b/packages/cupertino_ui/example/lib/refresh/cupertino_sliver_refresh_control.0.dart index a972b5a282ea..2119bff2a859 100644 --- a/packages/cupertino_ui/example/lib/refresh/cupertino_sliver_refresh_control.0.dart +++ b/packages/cupertino_ui/example/lib/refresh/cupertino_sliver_refresh_control.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSliverRefreshControl]. @@ -71,3 +72,4 @@ class _RefreshControlExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/route/show_cupertino_dialog.0.dart b/packages/cupertino_ui/example/lib/route/show_cupertino_dialog.0.dart index 3bd3ebd1cca0..602310febe8b 100644 --- a/packages/cupertino_ui/example/lib/route/show_cupertino_dialog.0.dart +++ b/packages/cupertino_ui/example/lib/route/show_cupertino_dialog.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [showCupertinoDialog]. @@ -69,3 +70,4 @@ class CupertinoDialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/route/show_cupertino_modal_popup.0.dart b/packages/cupertino_ui/example/lib/route/show_cupertino_modal_popup.0.dart index ed46db84888a..b3685be94b50 100644 --- a/packages/cupertino_ui/example/lib/route/show_cupertino_modal_popup.0.dart +++ b/packages/cupertino_ui/example/lib/route/show_cupertino_modal_popup.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [showCupertinoModalPopup]. @@ -65,3 +66,4 @@ class ModalPopupExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.0.dart b/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.0.dart index 996b9fc279b1..732f9bc39ead 100644 --- a/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.0.dart +++ b/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoScrollbar]. @@ -49,3 +50,4 @@ class ScrollbarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.1.dart b/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.1.dart index bcac8bf12e31..eddee1a5b1de 100644 --- a/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.1.dart +++ b/packages/cupertino_ui/example/lib/scrollbar/cupertino_scrollbar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoScrollbar]. @@ -59,3 +60,4 @@ class _ScrollbarExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.0.dart b/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.0.dart index 1d73e28aa08c..2f63c3b94b71 100644 --- a/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.0.dart +++ b/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSearchTextField]. @@ -60,3 +61,4 @@ class _SearchTextFieldExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.1.dart b/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.1.dart index 1b205fc119a6..9dff0f704313 100644 --- a/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.1.dart +++ b/packages/cupertino_ui/example/lib/search_field/cupertino_search_field.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSearchTextField]. @@ -75,3 +76,4 @@ class SearchTextField extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/segmented_control/cupertino_segmented_control.0.dart b/packages/cupertino_ui/example/lib/segmented_control/cupertino_segmented_control.0.dart index 7d134e79ad4e..1a67519dcc9f 100644 --- a/packages/cupertino_ui/example/lib/segmented_control/cupertino_segmented_control.0.dart +++ b/packages/cupertino_ui/example/lib/segmented_control/cupertino_segmented_control.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSegmentedControl]. @@ -143,3 +144,4 @@ class _SegmentedControlExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart b/packages/cupertino_ui/example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart index 0099003bf9b8..7b46b22778fe 100644 --- a/packages/cupertino_ui/example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart +++ b/packages/cupertino_ui/example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSlidingSegmentedControl]. @@ -117,3 +118,4 @@ class _SegmentedControlExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.0.dart b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.0.dart index 3cdfc51d2321..042f1709736b 100644 --- a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.0.dart +++ b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSheetRoute]. @@ -88,3 +89,4 @@ class _SheetScaffold extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.1.dart b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.1.dart index 0270171abc40..2cbffc52a10f 100644 --- a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.1.dart +++ b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [showCupertinoSheet]. @@ -126,3 +127,4 @@ class _SheetNextPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.2.dart b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.2.dart index e08024517d1a..d86b89faa5bd 100644 --- a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.2.dart +++ b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSheetRoute] with restorable state and nested navigation. @@ -294,3 +295,4 @@ class _MultiplicationPageState extends State ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.3.dart b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.3.dart index ae87aa82ca86..3c39e1fa2269 100644 --- a/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.3.dart +++ b/packages/cupertino_ui/example/lib/sheet/cupertino_sheet.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSheetRoute]. @@ -96,3 +97,4 @@ class _ScrollableSheetBody extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/slider/cupertino_slider.0.dart b/packages/cupertino_ui/example/lib/slider/cupertino_slider.0.dart index 05a439fc9fd3..7d98342dd656 100644 --- a/packages/cupertino_ui/example/lib/slider/cupertino_slider.0.dart +++ b/packages/cupertino_ui/example/lib/slider/cupertino_slider.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSlider]. @@ -84,3 +85,4 @@ class _CupertinoSliderExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/switch/cupertino_switch.0.dart b/packages/cupertino_ui/example/lib/switch/cupertino_switch.0.dart index 60712d1d1aa4..dc9b024405ab 100644 --- a/packages/cupertino_ui/example/lib/switch/cupertino_switch.0.dart +++ b/packages/cupertino_ui/example/lib/switch/cupertino_switch.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoSwitch]. @@ -52,3 +53,4 @@ class _CupertinoSwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_controller.0.dart b/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_controller.0.dart index a9392e107a6d..a9b27d377d6a 100644 --- a/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_controller.0.dart +++ b/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_controller.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTabController]. @@ -70,3 +71,4 @@ class _TabControllerExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_scaffold.0.dart b/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_scaffold.0.dart index e9cb6e8cfe35..8dbb70256a5f 100644 --- a/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_scaffold.0.dart +++ b/packages/cupertino_ui/example/lib/tab_scaffold/cupertino_tab_scaffold.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTabScaffold]. @@ -83,3 +84,4 @@ class _TabScaffoldExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/text_field/cupertino_text_field.0.dart b/packages/cupertino_ui/example/lib/text_field/cupertino_text_field.0.dart index 57566533bcf1..709e02877ed3 100644 --- a/packages/cupertino_ui/example/lib/text_field/cupertino_text_field.0.dart +++ b/packages/cupertino_ui/example/lib/text_field/cupertino_text_field.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTextField]. @@ -53,3 +54,4 @@ class _CupertinoTextFieldExampleState extends State { ); } } +// #endregion body diff --git a/packages/cupertino_ui/example/lib/text_form_field_row/cupertino_text_form_field_row.1.dart b/packages/cupertino_ui/example/lib/text_form_field_row/cupertino_text_form_field_row.1.dart index 0aafa55bc543..d4e13dfbcea5 100644 --- a/packages/cupertino_ui/example/lib/text_form_field_row/cupertino_text_form_field_row.1.dart +++ b/packages/cupertino_ui/example/lib/text_form_field_row/cupertino_text_form_field_row.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; /// Flutter code sample for [CupertinoTextFormFieldRow]. @@ -56,3 +57,4 @@ class FromSectionExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/cupertino_ui/lib/src/activity_indicator.dart b/packages/cupertino_ui/lib/src/activity_indicator.dart index 2e418e461e5c..511882bfe08f 100644 --- a/packages/cupertino_ui/lib/src/activity_indicator.dart +++ b/packages/cupertino_ui/lib/src/activity_indicator.dart @@ -29,7 +29,7 @@ const Color _kActiveTickColor = CupertinoDynamicColor.withBrightness( // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/activity_indicator/cupertino_activity_indicator.0.dart} +/// {@example /example/lib/activity_indicator/cupertino_activity_indicator.0.dart#body} /// /// /// @@ -215,7 +215,7 @@ class _CupertinoActivityIndicatorPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/activity_indicator/cupertino_linear_activity_indicator.0.dart} +/// {@example /example/lib/activity_indicator/cupertino_linear_activity_indicator.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/bottom_tab_bar.dart b/packages/cupertino_ui/lib/src/bottom_tab_bar.dart index 173f7025bc34..12aa277aed55 100644 --- a/packages/cupertino_ui/lib/src/bottom_tab_bar.dart +++ b/packages/cupertino_ui/lib/src/bottom_tab_bar.dart @@ -54,7 +54,7 @@ const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_tab_bar/cupertino_tab_bar.0.dart} +/// {@example /example/lib/bottom_tab_bar/cupertino_tab_bar.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/button.dart b/packages/cupertino_ui/lib/src/button.dart index 19f577162482..62571ad58c9a 100644 --- a/packages/cupertino_ui/lib/src/button.dart +++ b/packages/cupertino_ui/lib/src/button.dart @@ -73,7 +73,7 @@ enum _CupertinoButtonStyle { /// /// {@endtemplate} /// -/// {@example /example/lib/button/cupertino_button.0.dart} +/// {@example /example/lib/button/cupertino_button.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/checkbox.dart b/packages/cupertino_ui/lib/src/checkbox.dart index 09710c691ffb..cd5a46bfdc54 100644 --- a/packages/cupertino_ui/lib/src/checkbox.dart +++ b/packages/cupertino_ui/lib/src/checkbox.dart @@ -81,7 +81,7 @@ const List _kDisabledDarkGradientOpacities = [0.08, 0.14]; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox/cupertino_checkbox.0.dart} +/// {@example /example/lib/checkbox/cupertino_checkbox.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/context_menu.dart b/packages/cupertino_ui/lib/src/context_menu.dart index ed5751e50133..d488faaf1421 100644 --- a/packages/cupertino_ui/lib/src/context_menu.dart +++ b/packages/cupertino_ui/lib/src/context_menu.dart @@ -105,7 +105,7 @@ enum _ContextMenuLocation { center, left, right } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/context_menu/cupertino_context_menu.0.dart} +/// {@example /example/lib/context_menu/cupertino_context_menu.0.dart#body} /// /// /// @@ -118,7 +118,7 @@ enum _ContextMenuLocation { center, left, right } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/context_menu/cupertino_context_menu.1.dart} +/// {@example /example/lib/context_menu/cupertino_context_menu.1.dart#body} /// /// /// @@ -354,7 +354,7 @@ class CupertinoContextMenu extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// - /// {@example /example/lib/context_menu/cupertino_context_menu.1.dart} + /// {@example /example/lib/context_menu/cupertino_context_menu.1.dart#body} /// /// final CupertinoContextMenuBuilder builder; diff --git a/packages/cupertino_ui/lib/src/date_picker.dart b/packages/cupertino_ui/lib/src/date_picker.dart index ab84b4be848f..cc5369baa051 100644 --- a/packages/cupertino_ui/lib/src/date_picker.dart +++ b/packages/cupertino_ui/lib/src/date_picker.dart @@ -242,7 +242,7 @@ enum _PickerColumnType { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/date_picker/cupertino_date_picker.0.dart} +/// {@example /example/lib/date_picker/cupertino_date_picker.0.dart#body} /// /// /// @@ -2184,7 +2184,7 @@ enum CupertinoTimerPickerMode { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/date_picker/cupertino_timer_picker.0.dart} +/// {@example /example/lib/date_picker/cupertino_timer_picker.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/dialog.dart b/packages/cupertino_ui/lib/src/dialog.dart index 7bd99725093f..6bc2485f3d3e 100644 --- a/packages/cupertino_ui/lib/src/dialog.dart +++ b/packages/cupertino_ui/lib/src/dialog.dart @@ -223,7 +223,7 @@ bool _isInAccessibilityMode(BuildContext context) { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/cupertino_alert_dialog.0.dart} +/// {@example /example/lib/dialog/cupertino_alert_dialog.0.dart#body} /// /// /// @@ -533,7 +533,7 @@ class _CupertinoAlertDialogState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/cupertino_popup_surface.0.dart} +/// {@example /example/lib/dialog/cupertino_popup_surface.0.dart#body} /// /// /// @@ -1074,7 +1074,7 @@ class _ActionSheetGestureDetector extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/cupertino_action_sheet.0.dart} +/// {@example /example/lib/dialog/cupertino_action_sheet.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/expansion_tile.dart b/packages/cupertino_ui/lib/src/expansion_tile.dart index 634a51ac9ec0..e00dc4960b2c 100644 --- a/packages/cupertino_ui/lib/src/expansion_tile.dart +++ b/packages/cupertino_ui/lib/src/expansion_tile.dart @@ -67,7 +67,7 @@ enum ExpansionTileTransitionMode { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/expansion_tile/cupertino_expansion_tile.0.dart} +/// {@example /example/lib/expansion_tile/cupertino_expansion_tile.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/form_row.dart b/packages/cupertino_ui/lib/src/form_row.dart index 0a3d60eb1e7c..28181f73bc80 100644 --- a/packages/cupertino_ui/lib/src/form_row.dart +++ b/packages/cupertino_ui/lib/src/form_row.dart @@ -45,7 +45,7 @@ const EdgeInsetsGeometry _kDefaultPadding = EdgeInsetsDirectional.fromSTEB(20.0, // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/form_row/cupertino_form_row.0.dart} +/// {@example /example/lib/form_row/cupertino_form_row.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/list_section.dart b/packages/cupertino_ui/lib/src/list_section.dart index e0c2685e2423..f441ec2bacc5 100644 --- a/packages/cupertino_ui/lib/src/list_section.dart +++ b/packages/cupertino_ui/lib/src/list_section.dart @@ -170,7 +170,7 @@ enum CupertinoListSectionType { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/list_section/list_section_base.0.dart} +/// {@example /example/lib/list_section/list_section_base.0.dart#body} /// /// /// @@ -184,7 +184,7 @@ enum CupertinoListSectionType { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/list_section/list_section_inset.0.dart} +/// {@example /example/lib/list_section/list_section_inset.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/list_tile.dart b/packages/cupertino_ui/lib/src/list_tile.dart index 849f882e24ce..9b7d84a206de 100644 --- a/packages/cupertino_ui/lib/src/list_tile.dart +++ b/packages/cupertino_ui/lib/src/list_tile.dart @@ -87,7 +87,7 @@ enum _CupertinoListTileType { base, notched } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/cupertino_list_tile.0.dart} +/// {@example /example/lib/list_tile/cupertino_list_tile.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/magnifier.dart b/packages/cupertino_ui/lib/src/magnifier.dart index 16fbaf427dc0..52d2dc6365e3 100644 --- a/packages/cupertino_ui/lib/src/magnifier.dart +++ b/packages/cupertino_ui/lib/src/magnifier.dart @@ -21,7 +21,7 @@ import 'theme.dart'; /// /// This sample demonstrates how to use [CupertinoTextMagnifier]. /// -/// {@example example/lib/magnifier/cupertino_text_magnifier.0.dart} +/// {@example example/lib/magnifier/cupertino_text_magnifier.0.dart#body} /// // TODO(framework): End of the blue example container. /// @@ -233,7 +233,7 @@ class _CupertinoTextMagnifierState extends State /// /// This sample demonstrates how to use [CupertinoMagnifier]. /// -/// {@example example/lib/magnifier/cupertino_magnifier.0.dart} +/// {@example example/lib/magnifier/cupertino_magnifier.0.dart#body} /// // TODO(framework): End of the blue example container. /// diff --git a/packages/cupertino_ui/lib/src/menu_anchor.dart b/packages/cupertino_ui/lib/src/menu_anchor.dart index 0d2739b8fc22..5bb4c193d2ba 100644 --- a/packages/cupertino_ui/lib/src/menu_anchor.dart +++ b/packages/cupertino_ui/lib/src/menu_anchor.dart @@ -301,7 +301,7 @@ typedef CupertinoMenuAnimationStatusChangedCallback = void Function(AnimationSta /// This example demonstrates a simple [CupertinoMenuAnchor] that wraps /// a button. /// -/// {@example /example/lib/menu_anchor/menu_anchor.0.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.0.dart#body} /// // TODO(framework): End of the blue example container. /// @@ -314,7 +314,7 @@ typedef CupertinoMenuAnimationStatusChangedCallback = void Function(AnimationSta // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_anchor.1.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.1.dart#body} /// /// /// @@ -1710,7 +1710,7 @@ class _CupertinoDividerPainter extends CustomPainter { /// This example demonstrates a simple [CupertinoMenuAnchor] that wraps /// a button. /// -/// {@example /example/lib/menu_anchor/menu_anchor.0.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.0.dart#body} /// // TODO(framework): End of the blue example container. /// @@ -1723,7 +1723,7 @@ class _CupertinoDividerPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_anchor.1.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.1.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/nav_bar.dart b/packages/cupertino_ui/lib/src/nav_bar.dart index b4019e9d50f1..7a65e3aae2be 100644 --- a/packages/cupertino_ui/lib/src/nav_bar.dart +++ b/packages/cupertino_ui/lib/src/nav_bar.dart @@ -340,7 +340,7 @@ bool _isTransitionable(BuildContext context) { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/nav_bar/cupertino_navigation_bar.0.dart} +/// {@example /example/lib/nav_bar/cupertino_navigation_bar.0.dart#body} /// /// /// @@ -354,7 +354,7 @@ bool _isTransitionable(BuildContext context) { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/nav_bar/cupertino_navigation_bar.2.dart} +/// {@example /example/lib/nav_bar/cupertino_navigation_bar.2.dart#body} /// /// /// @@ -641,7 +641,7 @@ class CupertinoNavigationBar extends StatefulWidget implements ObstructingPrefer // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// - /// {@example /example/lib/nav_bar/cupertino_navigation_bar.1.dart} + /// {@example /example/lib/nav_bar/cupertino_navigation_bar.1.dart#body} /// /// /// @@ -952,7 +952,7 @@ class _CupertinoNavigationBarState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/nav_bar/cupertino_sliver_nav_bar.0.dart} +/// {@example /example/lib/nav_bar/cupertino_sliver_nav_bar.0.dart#body} /// /// /// @@ -964,7 +964,7 @@ class _CupertinoNavigationBarState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/nav_bar/cupertino_sliver_nav_bar.2.dart} +/// {@example /example/lib/nav_bar/cupertino_sliver_nav_bar.2.dart#body} /// /// /// @@ -1039,7 +1039,7 @@ class CupertinoSliverNavigationBar extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// - /// {@example /example/lib/nav_bar/cupertino_sliver_nav_bar.1.dart} + /// {@example /example/lib/nav_bar/cupertino_sliver_nav_bar.1.dart#body} /// /// const CupertinoSliverNavigationBar.search({ diff --git a/packages/cupertino_ui/lib/src/page_scaffold.dart b/packages/cupertino_ui/lib/src/page_scaffold.dart index dec3941a812b..da811cbdcf2c 100644 --- a/packages/cupertino_ui/lib/src/page_scaffold.dart +++ b/packages/cupertino_ui/lib/src/page_scaffold.dart @@ -35,7 +35,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/page_scaffold/cupertino_page_scaffold.0.dart} +/// {@example /example/lib/page_scaffold/cupertino_page_scaffold.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/picker.dart b/packages/cupertino_ui/lib/src/picker.dart index 54d9745958a9..b5dc3068299c 100644 --- a/packages/cupertino_ui/lib/src/picker.dart +++ b/packages/cupertino_ui/lib/src/picker.dart @@ -59,7 +59,7 @@ const Curve _kCupertinoPickerTapToScrollCurve = Curves.easeInOut; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/picker/cupertino_picker.0.dart} +/// {@example /example/lib/picker/cupertino_picker.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/radio.dart b/packages/cupertino_ui/lib/src/radio.dart index 904edacd86b4..2675fb75c913 100644 --- a/packages/cupertino_ui/lib/src/radio.dart +++ b/packages/cupertino_ui/lib/src/radio.dart @@ -88,7 +88,7 @@ const List _kDisabledDarkGradientOpacities = [0.08, 0.14]; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/radio/cupertino_radio.0.dart} +/// {@example /example/lib/radio/cupertino_radio.0.dart#body} /// /// /// @@ -189,7 +189,7 @@ class CupertinoRadio extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// - /// {@example /example/lib/radio/cupertino_radio.toggleable.0.dart} + /// {@example /example/lib/radio/cupertino_radio.toggleable.0.dart#body} /// /// final bool toggleable; diff --git a/packages/cupertino_ui/lib/src/refresh.dart b/packages/cupertino_ui/lib/src/refresh.dart index de8adb3e56d7..2d68853b7011 100644 --- a/packages/cupertino_ui/lib/src/refresh.dart +++ b/packages/cupertino_ui/lib/src/refresh.dart @@ -276,7 +276,7 @@ typedef RefreshCallback = Future Function(); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/refresh/cupertino_sliver_refresh_control.0.dart} +/// {@example /example/lib/refresh/cupertino_sliver_refresh_control.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/route.dart b/packages/cupertino_ui/lib/src/route.dart index b289b55e7610..9a42d021fe90 100644 --- a/packages/cupertino_ui/lib/src/route.dart +++ b/packages/cupertino_ui/lib/src/route.dart @@ -1307,7 +1307,7 @@ class CupertinoModalPopupRoute extends PopupRoute { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/route/show_cupertino_modal_popup.0.dart} +/// {@example /example/lib/route/show_cupertino_modal_popup.0.dart#body} /// /// /// @@ -1406,7 +1406,7 @@ Widget _buildCupertinoDialogTransitions( // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/route/show_cupertino_dialog.0.dart} +/// {@example /example/lib/route/show_cupertino_dialog.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/scrollbar.dart b/packages/cupertino_ui/lib/src/scrollbar.dart index d67531bdf2f5..d3387c15e413 100644 --- a/packages/cupertino_ui/lib/src/scrollbar.dart +++ b/packages/cupertino_ui/lib/src/scrollbar.dart @@ -55,7 +55,7 @@ const double _kScrollbarCrossAxisMargin = 3.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/scrollbar/cupertino_scrollbar.0.dart} +/// {@example /example/lib/scrollbar/cupertino_scrollbar.0.dart#body} /// /// /// @@ -69,7 +69,7 @@ const double _kScrollbarCrossAxisMargin = 3.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/scrollbar/cupertino_scrollbar.1.dart} +/// {@example /example/lib/scrollbar/cupertino_scrollbar.1.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/search_field.dart b/packages/cupertino_ui/lib/src/search_field.dart index 1a1e6d0a3ffd..7d3507a0bd66 100644 --- a/packages/cupertino_ui/lib/src/search_field.dart +++ b/packages/cupertino_ui/lib/src/search_field.dart @@ -47,7 +47,7 @@ const double _kMaxPrefixIconSize = 30.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/search_field/cupertino_search_field.0.dart} +/// {@example /example/lib/search_field/cupertino_search_field.0.dart#body} /// /// /// @@ -64,7 +64,7 @@ const double _kMaxPrefixIconSize = 30.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/search_field/cupertino_search_field.1.dart} +/// {@example /example/lib/search_field/cupertino_search_field.1.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/segmented_control.dart b/packages/cupertino_ui/lib/src/segmented_control.dart index 2b0044f13fb6..9481e3383a89 100644 --- a/packages/cupertino_ui/lib/src/segmented_control.dart +++ b/packages/cupertino_ui/lib/src/segmented_control.dart @@ -85,7 +85,7 @@ const Duration _kFadeDuration = Duration(milliseconds: 165); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/segmented_control/cupertino_segmented_control.0.dart} +/// {@example /example/lib/segmented_control/cupertino_segmented_control.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/sheet.dart b/packages/cupertino_ui/lib/src/sheet.dart index ceb88e1eeb5e..abd3c1c4787d 100644 --- a/packages/cupertino_ui/lib/src/sheet.dart +++ b/packages/cupertino_ui/lib/src/sheet.dart @@ -167,7 +167,7 @@ typedef _GetSheetDragged = bool Function(); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/sheet/cupertino_sheet.1.dart} +/// {@example /example/lib/sheet/cupertino_sheet.1.dart#body} /// /// /// @@ -623,7 +623,7 @@ class _StretchDragControllerProvider extends InheritedWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/sheet/cupertino_sheet.0.dart} +/// {@example /example/lib/sheet/cupertino_sheet.0.dart#body} /// /// /// @@ -636,7 +636,7 @@ class _StretchDragControllerProvider extends InheritedWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/sheet/cupertino_sheet.2.dart} +/// {@example /example/lib/sheet/cupertino_sheet.2.dart#body} /// /// /// @@ -648,7 +648,7 @@ class _StretchDragControllerProvider extends InheritedWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/sheet/cupertino_sheet.3.dart} +/// {@example /example/lib/sheet/cupertino_sheet.3.dart#body} /// /// /// @@ -699,7 +699,7 @@ class CupertinoSheetRoute extends PageRoute with _CupertinoSheetRouteTrans // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// - /// {@example /example/lib/sheet/cupertino_sheet.3.dart} + /// {@example /example/lib/sheet/cupertino_sheet.3.dart#body} /// /// final ScrollableWidgetBuilder? scrollableBuilder; diff --git a/packages/cupertino_ui/lib/src/slider.dart b/packages/cupertino_ui/lib/src/slider.dart index bad6ba52e2bd..7efd84471ba8 100644 --- a/packages/cupertino_ui/lib/src/slider.dart +++ b/packages/cupertino_ui/lib/src/slider.dart @@ -60,7 +60,7 @@ const double _kVelocityThreshold = 1.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/slider/cupertino_slider.0.dart} +/// {@example /example/lib/slider/cupertino_slider.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/sliding_segmented_control.dart b/packages/cupertino_ui/lib/src/sliding_segmented_control.dart index 11ec7e0e0376..3db6c14df96d 100644 --- a/packages/cupertino_ui/lib/src/sliding_segmented_control.dart +++ b/packages/cupertino_ui/lib/src/sliding_segmented_control.dart @@ -352,7 +352,7 @@ class _SegmentSeparatorState extends State<_SegmentSeparator> // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart} +/// {@example /example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart#body} /// /// /// @@ -522,7 +522,7 @@ class CupertinoSlidingSegmentedControl extends StatefulWidget // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// - /// {@example /example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart} + /// {@example /example/lib/segmented_control/cupertino_sliding_segmented_control.0.dart#body} /// /// final bool isMomentary; diff --git a/packages/cupertino_ui/lib/src/switch.dart b/packages/cupertino_ui/lib/src/switch.dart index edb72459a99d..1a182d527d30 100644 --- a/packages/cupertino_ui/lib/src/switch.dart +++ b/packages/cupertino_ui/lib/src/switch.dart @@ -86,7 +86,7 @@ const CupertinoDynamicColor _kOffLabelColor = CupertinoDynamicColor.withBrightne // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/switch/cupertino_switch.0.dart} +/// {@example /example/lib/switch/cupertino_switch.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/tab_scaffold.dart b/packages/cupertino_ui/lib/src/tab_scaffold.dart index 81bee2042e74..f99d0956e233 100644 --- a/packages/cupertino_ui/lib/src/tab_scaffold.dart +++ b/packages/cupertino_ui/lib/src/tab_scaffold.dart @@ -31,7 +31,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/tab_scaffold/cupertino_tab_controller.0.dart} +/// {@example /example/lib/tab_scaffold/cupertino_tab_controller.0.dart#body} /// /// /// @@ -119,7 +119,7 @@ class CupertinoTabController extends ChangeNotifier { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/tab_scaffold/cupertino_tab_scaffold.0.dart} +/// {@example /example/lib/tab_scaffold/cupertino_tab_scaffold.0.dart#body} /// /// /// diff --git a/packages/cupertino_ui/lib/src/text_field.dart b/packages/cupertino_ui/lib/src/text_field.dart index 12f116c8562e..20e477e690bb 100644 --- a/packages/cupertino_ui/lib/src/text_field.dart +++ b/packages/cupertino_ui/lib/src/text_field.dart @@ -156,7 +156,7 @@ class _CupertinoTextFieldSelectionGestureDetectorBuilder // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/text_field/cupertino_text_field.0.dart} +/// {@example /example/lib/text_field/cupertino_text_field.0.dart#body} /// /// /// @@ -847,7 +847,7 @@ class CupertinoTextField extends StatefulWidget { /// /// This sample demonstrates how to customize the magnifier that this text field uses. /// - /// {@example example/lib/magnifier/text_magnifier.0.dart} + /// {@example example/lib/magnifier/text_magnifier.0.dart#body} /// // TODO(framework): End of the blue example container. final TextMagnifierConfiguration? magnifierConfiguration; diff --git a/packages/cupertino_ui/lib/src/text_form_field_row.dart b/packages/cupertino_ui/lib/src/text_form_field_row.dart index a0519a476180..e3b256c0736e 100644 --- a/packages/cupertino_ui/lib/src/text_form_field_row.dart +++ b/packages/cupertino_ui/lib/src/text_form_field_row.dart @@ -87,7 +87,7 @@ import 'text_field.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro cupertino_ui.dartpad_guide} /// -/// {@example /example/lib/text_form_field_row/cupertino_text_form_field_row.1.dart} +/// {@example /example/lib/text_form_field_row/cupertino_text_form_field_row.1.dart#body} /// /// class CupertinoTextFormFieldRow extends FormField { diff --git a/packages/material_ui/example/lib/about/about_list_tile.0.dart b/packages/material_ui/example/lib/about/about_list_tile.0.dart index 0dd180d0006a..db3e37ccf236 100644 --- a/packages/material_ui/example/lib/about/about_list_tile.0.dart +++ b/packages/material_ui/example/lib/about/about_list_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AboutListTile]. @@ -80,3 +81,4 @@ class AboutListTileExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/action_buttons/action_icon_theme.0.dart b/packages/material_ui/example/lib/action_buttons/action_icon_theme.0.dart index 10482c0d55f2..864234d44067 100644 --- a/packages/material_ui/example/lib/action_buttons/action_icon_theme.0.dart +++ b/packages/material_ui/example/lib/action_buttons/action_icon_theme.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ActionIconTheme]. @@ -118,3 +119,4 @@ class MySecondPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/action_chip/action_chip.0.dart b/packages/material_ui/example/lib/action_chip/action_chip.0.dart index 73657ebe67c5..4b954c724dc8 100644 --- a/packages/material_ui/example/lib/action_chip/action_chip.0.dart +++ b/packages/material_ui/example/lib/action_chip/action_chip.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body // Flutter code sample [ActionChip]. import 'package:material_ui/material_ui.dart'; @@ -48,3 +49,4 @@ class _ActionChipExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/animated_icon/animated_icon.0.dart b/packages/material_ui/example/lib/animated_icon/animated_icon.0.dart index 0ebb88184538..29979592aa9b 100644 --- a/packages/material_ui/example/lib/animated_icon/animated_icon.0.dart +++ b/packages/material_ui/example/lib/animated_icon/animated_icon.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AnimatedIcon]. @@ -64,3 +65,4 @@ class _AnimatedIconExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/animated_icon/animated_icons_data.0.dart b/packages/material_ui/example/lib/animated_icon/animated_icons_data.0.dart index d5149c5c66fc..e114ea4bc70d 100644 --- a/packages/material_ui/example/lib/animated_icon/animated_icons_data.0.dart +++ b/packages/material_ui/example/lib/animated_icon/animated_icons_data.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AnimatedIcon]. @@ -99,3 +100,4 @@ class _AnimatedIconExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app/app.0.dart b/packages/material_ui/example/lib/app/app.0.dart index 9dfe8999e1a3..f96d2a4be376 100644 --- a/packages/material_ui/example/lib/app/app.0.dart +++ b/packages/material_ui/example/lib/app/app.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [MaterialApp]. @@ -93,3 +94,4 @@ class _MaterialAppExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/app_bar.0.dart b/packages/material_ui/example/lib/app_bar/app_bar.0.dart index 8eb0cd32fdda..58a6107d824b 100644 --- a/packages/material_ui/example/lib/app_bar/app_bar.0.dart +++ b/packages/material_ui/example/lib/app_bar/app_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AppBar]. @@ -65,3 +66,4 @@ class AppBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/app_bar.1.dart b/packages/material_ui/example/lib/app_bar/app_bar.1.dart index d4d2e0955fed..f46897e414f8 100644 --- a/packages/material_ui/example/lib/app_bar/app_bar.1.dart +++ b/packages/material_ui/example/lib/app_bar/app_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AppBar]. @@ -119,3 +120,4 @@ class _AppBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/app_bar.2.dart b/packages/material_ui/example/lib/app_bar/app_bar.2.dart index 69fa58f8116d..23e1947bd435 100644 --- a/packages/material_ui/example/lib/app_bar/app_bar.2.dart +++ b/packages/material_ui/example/lib/app_bar/app_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AppBar]. @@ -43,3 +44,4 @@ class AppBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/app_bar.3.dart b/packages/material_ui/example/lib/app_bar/app_bar.3.dart index f77d5daa9259..d14434066dab 100644 --- a/packages/material_ui/example/lib/app_bar/app_bar.3.dart +++ b/packages/material_ui/example/lib/app_bar/app_bar.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AppBar]. @@ -97,3 +98,4 @@ class AppBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/app_bar.4.dart b/packages/material_ui/example/lib/app_bar/app_bar.4.dart index 12051200fb2a..721696ea40e8 100644 --- a/packages/material_ui/example/lib/app_bar/app_bar.4.dart +++ b/packages/material_ui/example/lib/app_bar/app_bar.4.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AppBar.shape]. @@ -148,3 +149,4 @@ class CustomAppBarShape extends OutlinedBorder { return super.lerpTo(b, t); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/sliver_app_bar.1.dart b/packages/material_ui/example/lib/app_bar/sliver_app_bar.1.dart index 7f46394027a4..a90cf5fe1da2 100644 --- a/packages/material_ui/example/lib/app_bar/sliver_app_bar.1.dart +++ b/packages/material_ui/example/lib/app_bar/sliver_app_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SliverAppBar]. @@ -126,3 +127,4 @@ class _SliverAppBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/sliver_app_bar.2.dart b/packages/material_ui/example/lib/app_bar/sliver_app_bar.2.dart index b676dc709abb..d814e316072c 100644 --- a/packages/material_ui/example/lib/app_bar/sliver_app_bar.2.dart +++ b/packages/material_ui/example/lib/app_bar/sliver_app_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SliverAppBar.medium]. @@ -51,3 +52,4 @@ class AppBarMediumApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/sliver_app_bar.3.dart b/packages/material_ui/example/lib/app_bar/sliver_app_bar.3.dart index 473ef3c9ecbf..6e8071733fac 100644 --- a/packages/material_ui/example/lib/app_bar/sliver_app_bar.3.dart +++ b/packages/material_ui/example/lib/app_bar/sliver_app_bar.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SliverAppBar.large]. @@ -51,3 +52,4 @@ class AppBarLargeApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/app_bar/sliver_app_bar.4.dart b/packages/material_ui/example/lib/app_bar/sliver_app_bar.4.dart index d9cb08b50633..319b5f9c6d27 100644 --- a/packages/material_ui/example/lib/app_bar/sliver_app_bar.4.dart +++ b/packages/material_ui/example/lib/app_bar/sliver_app_bar.4.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SliverAppBar]. @@ -87,3 +88,4 @@ class _StretchableSliverAppBarState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/autocomplete/autocomplete.0.dart b/packages/material_ui/example/lib/autocomplete/autocomplete.0.dart index efdfc37bd257..5164c99fec57 100644 --- a/packages/material_ui/example/lib/autocomplete/autocomplete.0.dart +++ b/packages/material_ui/example/lib/autocomplete/autocomplete.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Autocomplete]. @@ -58,3 +59,4 @@ class AutocompleteBasicExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/autocomplete/autocomplete.1.dart b/packages/material_ui/example/lib/autocomplete/autocomplete.1.dart index 24b89d741989..ba2f10016093 100644 --- a/packages/material_ui/example/lib/autocomplete/autocomplete.1.dart +++ b/packages/material_ui/example/lib/autocomplete/autocomplete.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Autocomplete]. @@ -87,3 +88,4 @@ class AutocompleteBasicUserExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/autocomplete/autocomplete.2.dart b/packages/material_ui/example/lib/autocomplete/autocomplete.2.dart index 026a831483df..a142915c9915 100644 --- a/packages/material_ui/example/lib/autocomplete/autocomplete.2.dart +++ b/packages/material_ui/example/lib/autocomplete/autocomplete.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Autocomplete] that shows how to fetch the options @@ -95,3 +96,4 @@ class _FakeAPI { }); } } +// #endregion body diff --git a/packages/material_ui/example/lib/autocomplete/autocomplete.3.dart b/packages/material_ui/example/lib/autocomplete/autocomplete.3.dart index 6c4e727355f1..fdca491ddea6 100644 --- a/packages/material_ui/example/lib/autocomplete/autocomplete.3.dart +++ b/packages/material_ui/example/lib/autocomplete/autocomplete.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:async'; import 'package:material_ui/material_ui.dart'; @@ -170,3 +171,4 @@ class _DebounceTimer { class _CancelException implements Exception { const _CancelException(); } +// #endregion body diff --git a/packages/material_ui/example/lib/autocomplete/autocomplete.4.dart b/packages/material_ui/example/lib/autocomplete/autocomplete.4.dart index 03b5f1f0bc08..603d3492f10f 100644 --- a/packages/material_ui/example/lib/autocomplete/autocomplete.4.dart +++ b/packages/material_ui/example/lib/autocomplete/autocomplete.4.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:async'; import 'package:material_ui/material_ui.dart'; @@ -242,3 +243,4 @@ class _CancelException implements Exception { class _NetworkException implements Exception { const _NetworkException(); } +// #endregion body diff --git a/packages/material_ui/example/lib/badge/badge.0.dart b/packages/material_ui/example/lib/badge/badge.0.dart index e63549f74d3e..e015b423922e 100644 --- a/packages/material_ui/example/lib/badge/badge.0.dart +++ b/packages/material_ui/example/lib/badge/badge.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Badge]. @@ -52,3 +53,4 @@ class BadgeExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/banner/material_banner.0.dart b/packages/material_ui/example/lib/banner/material_banner.0.dart index 0d2bd8dd4893..6df5e706df41 100644 --- a/packages/material_ui/example/lib/banner/material_banner.0.dart +++ b/packages/material_ui/example/lib/banner/material_banner.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [MaterialBanner]. @@ -37,3 +38,4 @@ class MaterialBannerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/banner/material_banner.1.dart b/packages/material_ui/example/lib/banner/material_banner.1.dart index b172921bbfef..f8021f579721 100644 --- a/packages/material_ui/example/lib/banner/material_banner.1.dart +++ b/packages/material_ui/example/lib/banner/material_banner.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [MaterialBanner]. @@ -43,3 +44,4 @@ class MaterialBannerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.1.dart b/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.1.dart index cf6e108e070a..680cd665267d 100644 --- a/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.1.dart +++ b/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [BottomAppBar]. @@ -152,3 +153,4 @@ class _DemoBottomAppBar extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.2.dart b/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.2.dart index fd8ebcb6ce6c..55d5a0d3226e 100644 --- a/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.2.dart +++ b/packages/material_ui/example/lib/bottom_app_bar/bottom_app_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/rendering.dart'; import 'package:material_ui/material_ui.dart'; @@ -187,3 +188,4 @@ class _DemoBottomAppBar extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.0.dart b/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.0.dart index 9be1ec2d2473..f3d4ce525419 100644 --- a/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.0.dart +++ b/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [BottomNavigationBar]. @@ -65,3 +66,4 @@ class _BottomNavigationBarExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.1.dart b/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.1.dart index 2a7a3dcb2172..29b34eef898c 100644 --- a/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.1.dart +++ b/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [BottomNavigationBar]. @@ -80,3 +81,4 @@ class _BottomNavigationBarExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.2.dart b/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.2.dart index 839b544193fc..05faa52696a2 100644 --- a/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.2.dart +++ b/packages/material_ui/example/lib/bottom_navigation_bar/bottom_navigation_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [BottomNavigationBar]. @@ -96,3 +97,4 @@ class _BottomNavigationBarExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_sheet/show_bottom_sheet.0.dart b/packages/material_ui/example/lib/bottom_sheet/show_bottom_sheet.0.dart index 1319564955be..ab4c0662647c 100644 --- a/packages/material_ui/example/lib/bottom_sheet/show_bottom_sheet.0.dart +++ b/packages/material_ui/example/lib/bottom_sheet/show_bottom_sheet.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showBottomSheet]. @@ -108,3 +109,4 @@ class _BottomSheetExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.0.dart b/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.0.dart index 64c7e99d9b15..ddf45d3a126d 100644 --- a/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.0.dart +++ b/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showModalBottomSheet]. @@ -58,3 +59,4 @@ class BottomSheetExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.1.dart b/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.1.dart index c858efeecbcd..afa48cac65c9 100644 --- a/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.1.dart +++ b/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showModalBottomSheet]. @@ -58,3 +59,4 @@ class BottomSheetExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.2.dart b/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.2.dart index 35dd9628d4cb..19748742fb33 100644 --- a/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.2.dart +++ b/packages/material_ui/example/lib/bottom_sheet/show_modal_bottom_sheet.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showModalBottomSheet]. @@ -109,3 +110,4 @@ class _ModalBottomSheetExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/button_style/button_style.0.dart b/packages/material_ui/example/lib/button_style/button_style.0.dart index 97516b190c1f..2bea7b5f2df9 100644 --- a/packages/material_ui/example/lib/button_style/button_style.0.dart +++ b/packages/material_ui/example/lib/button_style/button_style.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ElevatedButton]. @@ -68,3 +69,4 @@ class ButtonTypesGroup extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/card/card.0.dart b/packages/material_ui/example/lib/card/card.0.dart index 65d022c2d9b5..720918f51da3 100644 --- a/packages/material_ui/example/lib/card/card.0.dart +++ b/packages/material_ui/example/lib/card/card.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Card]. @@ -62,3 +63,4 @@ class CardExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/card/card.1.dart b/packages/material_ui/example/lib/card/card.1.dart index ee27282f906f..a219ad024595 100644 --- a/packages/material_ui/example/lib/card/card.1.dart +++ b/packages/material_ui/example/lib/card/card.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Card]. @@ -49,3 +50,4 @@ class CardExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/card/card.2.dart b/packages/material_ui/example/lib/card/card.2.dart index 1fc8d14d7d9a..d19968ae6231 100644 --- a/packages/material_ui/example/lib/card/card.2.dart +++ b/packages/material_ui/example/lib/card/card.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Card]. @@ -46,3 +47,4 @@ class _SampleCard extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/carousel/carousel.0.dart b/packages/material_ui/example/lib/carousel/carousel.0.dart index 7802ca14c532..d51fe1fe0f9d 100644 --- a/packages/material_ui/example/lib/carousel/carousel.0.dart +++ b/packages/material_ui/example/lib/carousel/carousel.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [CarouselView]. @@ -277,3 +278,4 @@ enum ImageInfo { final String subtitle; final String url; } +// #endregion body diff --git a/packages/material_ui/example/lib/carousel/carousel.1.dart b/packages/material_ui/example/lib/carousel/carousel.1.dart index b52203713ca1..af8f4ea8782b 100644 --- a/packages/material_ui/example/lib/carousel/carousel.1.dart +++ b/packages/material_ui/example/lib/carousel/carousel.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [CarouselView.builder]. @@ -54,3 +55,4 @@ class CarouselBuilderExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/checkbox/checkbox.0.dart b/packages/material_ui/example/lib/checkbox/checkbox.0.dart index 7fe5f5a93763..07b58b837708 100644 --- a/packages/material_ui/example/lib/checkbox/checkbox.0.dart +++ b/packages/material_ui/example/lib/checkbox/checkbox.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Checkbox]. @@ -58,3 +59,4 @@ class _CheckboxExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/checkbox/checkbox.1.dart b/packages/material_ui/example/lib/checkbox/checkbox.1.dart index fe26aa47e9c4..cad2f7ece7c6 100644 --- a/packages/material_ui/example/lib/checkbox/checkbox.1.dart +++ b/packages/material_ui/example/lib/checkbox/checkbox.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for M3 [Checkbox] with error state. @@ -68,3 +69,4 @@ class _CheckboxExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.0.dart b/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.0.dart index 3b25f9dbe50d..6d00f3931376 100644 --- a/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.0.dart +++ b/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/scheduler.dart' show timeDilation; import 'package:material_ui/material_ui.dart'; @@ -46,3 +47,4 @@ class _CheckboxListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.1.dart b/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.1.dart index bc7300e72f97..b49bc3f39b03 100644 --- a/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.1.dart +++ b/packages/material_ui/example/lib/checkbox_list_tile/checkbox_list_tile.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [CheckboxListTile]. @@ -79,3 +80,4 @@ class _CheckboxListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.0.dart b/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.0.dart index 858ce661f14d..fcb2369fc61f 100644 --- a/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.0.dart +++ b/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/gestures.dart'; import 'package:material_ui/material_ui.dart'; @@ -95,3 +96,4 @@ class _LabeledCheckboxExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.1.dart b/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.1.dart index 6ab133db815d..e8339d20ede8 100644 --- a/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.1.dart +++ b/packages/material_ui/example/lib/checkbox_list_tile/custom_labeled_checkbox.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for custom labeled checkbox. @@ -84,3 +85,4 @@ class _LabeledCheckboxExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/chip/chip_attributes.avatar_box_constraints.0.dart b/packages/material_ui/example/lib/chip/chip_attributes.avatar_box_constraints.0.dart index 9306f59102b3..f34973c346e9 100644 --- a/packages/material_ui/example/lib/chip/chip_attributes.avatar_box_constraints.0.dart +++ b/packages/material_ui/example/lib/chip/chip_attributes.avatar_box_constraints.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ChipAttributes.avatarBoxConstraints]. @@ -65,3 +66,4 @@ class AvatarBoxConstraintsExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/chip/chip_attributes.chip_animation_style.0.dart b/packages/material_ui/example/lib/chip/chip_attributes.chip_animation_style.0.dart index 5d8d83c3eb1b..aa4d6884c428 100644 --- a/packages/material_ui/example/lib/chip/chip_attributes.chip_animation_style.0.dart +++ b/packages/material_ui/example/lib/chip/chip_attributes.chip_animation_style.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ChipAttributes.chipAnimationStyle]. @@ -160,3 +161,4 @@ class _ChipAnimationStyleExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/chip/deletable_chip_attributes.delete_icon_box_constraints.0.dart b/packages/material_ui/example/lib/chip/deletable_chip_attributes.delete_icon_box_constraints.0.dart index 2e4b8ca6e317..ece5b8c43c09 100644 --- a/packages/material_ui/example/lib/chip/deletable_chip_attributes.delete_icon_box_constraints.0.dart +++ b/packages/material_ui/example/lib/chip/deletable_chip_attributes.delete_icon_box_constraints.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DeletableChipAttributes.deleteIconBoxConstraints]. @@ -65,3 +66,4 @@ class DeleteIconBoxConstraintsExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/chip/deletable_chip_attributes.on_deleted.0.dart b/packages/material_ui/example/lib/chip/deletable_chip_attributes.on_deleted.0.dart index 4fecdab9bd89..8895275f344e 100644 --- a/packages/material_ui/example/lib/chip/deletable_chip_attributes.on_deleted.0.dart +++ b/packages/material_ui/example/lib/chip/deletable_chip_attributes.on_deleted.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DeletableChipAttributes.onDeleted]. @@ -83,3 +84,4 @@ class _OnDeletedExampleState extends State { return const CastList(); } } +// #endregion body diff --git a/packages/material_ui/example/lib/choice_chip/choice_chip.0.dart b/packages/material_ui/example/lib/choice_chip/choice_chip.0.dart index dd6218e16b36..60ae18480678 100644 --- a/packages/material_ui/example/lib/choice_chip/choice_chip.0.dart +++ b/packages/material_ui/example/lib/choice_chip/choice_chip.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ChoiceChip]. @@ -63,3 +64,4 @@ class _ActionChoiceExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/color_scheme/color_scheme.0.dart b/packages/material_ui/example/lib/color_scheme/color_scheme.0.dart index 2e1b6f21ba3c..4876fa37cbfb 100644 --- a/packages/material_ui/example/lib/color_scheme/color_scheme.0.dart +++ b/packages/material_ui/example/lib/color_scheme/color_scheme.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ColorScheme]. @@ -593,3 +594,4 @@ class SettingsButton extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/color_scheme/dynamic_content_color.0.dart b/packages/material_ui/example/lib/color_scheme/dynamic_content_color.0.dart index a24abacc252a..330fa6cb8dd9 100644 --- a/packages/material_ui/example/lib/color_scheme/dynamic_content_color.0.dart +++ b/packages/material_ui/example/lib/color_scheme/dynamic_content_color.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ColorScheme.fromImageProvider] with content-based dynamic color. @@ -524,3 +525,4 @@ class ColorChip extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/context_menu/context_menu_controller.0.dart b/packages/material_ui/example/lib/context_menu/context_menu_controller.0.dart index 99257c851d7a..97fa297ad7db 100644 --- a/packages/material_ui/example/lib/context_menu/context_menu_controller.0.dart +++ b/packages/material_ui/example/lib/context_menu/context_menu_controller.0.dart @@ -182,3 +182,4 @@ class _ContextMenuRegionState extends State<_ContextMenuRegion> { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.0.dart b/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.0.dart index a62ccb9303c9..c24bdf43e90c 100644 --- a/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.0.dart +++ b/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.0.dart @@ -96,3 +96,4 @@ class _EditableTextToolbarBuilderExampleAppState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.1.dart b/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.1.dart index 395bddfdf137..c82d24befbc8 100644 --- a/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.1.dart +++ b/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.1.dart @@ -113,3 +113,4 @@ bool _isValidEmail(String text) { r'(?[a-zA-Z0-9]+)', ).hasMatch(text); } +// #endregion body diff --git a/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.2.dart b/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.2.dart index 69bbbae0e361..2a4baef3a30a 100644 --- a/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.2.dart +++ b/packages/material_ui/example/lib/context_menu/editable_text_toolbar_builder.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body // This example demonstrates how to create a custom toolbar that retains the // look of the default buttons for the current platform. @@ -141,3 +142,4 @@ class _MyTextSelectionToolbar extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/context_menu/selectable_region_toolbar_builder.0.dart b/packages/material_ui/example/lib/context_menu/selectable_region_toolbar_builder.0.dart index 347f63c2de76..31fdd34f8578 100644 --- a/packages/material_ui/example/lib/context_menu/selectable_region_toolbar_builder.0.dart +++ b/packages/material_ui/example/lib/context_menu/selectable_region_toolbar_builder.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body // This example demonstrates a custom context menu in non-editable text using // SelectionArea. @@ -90,3 +91,4 @@ class _SelectableRegionToolbarBuilderExampleAppState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/data_table/data_table.0.dart b/packages/material_ui/example/lib/data_table/data_table.0.dart index 3c8104791b08..d116d69b6935 100644 --- a/packages/material_ui/example/lib/data_table/data_table.0.dart +++ b/packages/material_ui/example/lib/data_table/data_table.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DataTable]. @@ -71,3 +72,4 @@ class DataTableExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/data_table/data_table.1.dart b/packages/material_ui/example/lib/data_table/data_table.1.dart index 44621d1bb83d..03c491e9b1c1 100644 --- a/packages/material_ui/example/lib/data_table/data_table.1.dart +++ b/packages/material_ui/example/lib/data_table/data_table.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DataTable]. @@ -69,3 +70,4 @@ class _DataTableExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/date_picker/custom_calendar_date_picker.0.dart b/packages/material_ui/example/lib/date_picker/custom_calendar_date_picker.0.dart index 96ed2ab1d134..da31dbc4982b 100644 --- a/packages/material_ui/example/lib/date_picker/custom_calendar_date_picker.0.dart +++ b/packages/material_ui/example/lib/date_picker/custom_calendar_date_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample demonstrating how to use a custom [CalendarDelegate] @@ -155,3 +156,4 @@ class CustomCalendarDelegate extends CalendarDelegate { return localizations.dateHelpText; } } +// #endregion body diff --git a/packages/material_ui/example/lib/date_picker/date_picker_theme_day_shape.0.dart b/packages/material_ui/example/lib/date_picker/date_picker_theme_day_shape.0.dart index e973fefb29d4..339130e85417 100644 --- a/packages/material_ui/example/lib/date_picker/date_picker_theme_day_shape.0.dart +++ b/packages/material_ui/example/lib/date_picker/date_picker_theme_day_shape.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DatePickerThemeData]. @@ -62,3 +63,4 @@ class _DatePickerExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/date_picker/show_date_picker.0.dart b/packages/material_ui/example/lib/date_picker/show_date_picker.0.dart index 1e5e1a26bd69..fa4ebc34baa4 100644 --- a/packages/material_ui/example/lib/date_picker/show_date_picker.0.dart +++ b/packages/material_ui/example/lib/date_picker/show_date_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showDatePicker]. @@ -108,3 +109,4 @@ class _DatePickerExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/date_picker/show_date_picker.1.dart b/packages/material_ui/example/lib/date_picker/show_date_picker.1.dart index 636783ad5e97..c9b7c6c192af 100644 --- a/packages/material_ui/example/lib/date_picker/show_date_picker.1.dart +++ b/packages/material_ui/example/lib/date_picker/show_date_picker.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for basic [showDatePicker]. @@ -64,3 +65,4 @@ class _DatePickerExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/date_picker/show_date_range_picker.0.dart b/packages/material_ui/example/lib/date_picker/show_date_range_picker.0.dart index cfc2a6529da2..ed7ec54483dc 100644 --- a/packages/material_ui/example/lib/date_picker/show_date_range_picker.0.dart +++ b/packages/material_ui/example/lib/date_picker/show_date_range_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showDateRangePicker]. @@ -125,3 +126,4 @@ class _DatePickerExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/adaptive_alert_dialog.0.dart b/packages/material_ui/example/lib/dialog/adaptive_alert_dialog.0.dart index ded7b758f5e8..0d19f901c3e2 100644 --- a/packages/material_ui/example/lib/dialog/adaptive_alert_dialog.0.dart +++ b/packages/material_ui/example/lib/dialog/adaptive_alert_dialog.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; import 'package:material_ui/material_ui.dart'; @@ -72,3 +73,4 @@ class AdaptiveDialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/alert_dialog.0.dart b/packages/material_ui/example/lib/dialog/alert_dialog.0.dart index aa7d6cba550f..c6c8f529becd 100644 --- a/packages/material_ui/example/lib/dialog/alert_dialog.0.dart +++ b/packages/material_ui/example/lib/dialog/alert_dialog.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AlertDialog]. @@ -49,3 +50,4 @@ class DialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/alert_dialog.1.dart b/packages/material_ui/example/lib/dialog/alert_dialog.1.dart index bf70bc0335e6..e69397e69941 100644 --- a/packages/material_ui/example/lib/dialog/alert_dialog.1.dart +++ b/packages/material_ui/example/lib/dialog/alert_dialog.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [AlertDialog]. @@ -50,3 +51,4 @@ class DialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/dialog.0.dart b/packages/material_ui/example/lib/dialog/dialog.0.dart index c3221d86ce61..41a838c7e9e3 100644 --- a/packages/material_ui/example/lib/dialog/dialog.0.dart +++ b/packages/material_ui/example/lib/dialog/dialog.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Dialog]. @@ -82,3 +83,4 @@ class DialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/show_dialog.0.dart b/packages/material_ui/example/lib/dialog/show_dialog.0.dart index d1d3cae9c8ec..ed16ce9e8b85 100644 --- a/packages/material_ui/example/lib/dialog/show_dialog.0.dart +++ b/packages/material_ui/example/lib/dialog/show_dialog.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showDialog]. @@ -70,3 +71,4 @@ class DialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/show_dialog.1.dart b/packages/material_ui/example/lib/dialog/show_dialog.1.dart index b6a405941bac..69b7aee23f48 100644 --- a/packages/material_ui/example/lib/dialog/show_dialog.1.dart +++ b/packages/material_ui/example/lib/dialog/show_dialog.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showDialog]. @@ -73,3 +74,4 @@ class DialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dialog/show_dialog.2.dart b/packages/material_ui/example/lib/dialog/show_dialog.2.dart index a469cab8cc09..68824f728e00 100644 --- a/packages/material_ui/example/lib/dialog/show_dialog.2.dart +++ b/packages/material_ui/example/lib/dialog/show_dialog.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showDialog]. @@ -76,3 +77,4 @@ class DialogExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/divider/divider.0.dart b/packages/material_ui/example/lib/divider/divider.0.dart index 895b39ebb7ee..f761a6e35dae 100644 --- a/packages/material_ui/example/lib/divider/divider.0.dart +++ b/packages/material_ui/example/lib/divider/divider.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Divider]. @@ -67,3 +68,4 @@ class DividerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/divider/divider.1.dart b/packages/material_ui/example/lib/divider/divider.1.dart index 247e260a3e4a..a76422ea43e8 100644 --- a/packages/material_ui/example/lib/divider/divider.1.dart +++ b/packages/material_ui/example/lib/divider/divider.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Divider]. @@ -42,3 +43,4 @@ class DividerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/divider/vertical_divider.0.dart b/packages/material_ui/example/lib/divider/vertical_divider.0.dart index 261ab3c80524..96d899d783d9 100644 --- a/packages/material_ui/example/lib/divider/vertical_divider.0.dart +++ b/packages/material_ui/example/lib/divider/vertical_divider.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [VerticalDivider]. @@ -59,3 +60,4 @@ class DividerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/divider/vertical_divider.1.dart b/packages/material_ui/example/lib/divider/vertical_divider.1.dart index b261d28c14e7..357ccd8498e1 100644 --- a/packages/material_ui/example/lib/divider/vertical_divider.1.dart +++ b/packages/material_ui/example/lib/divider/vertical_divider.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Divider]. @@ -42,3 +43,4 @@ class DividerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/drawer/drawer.0.dart b/packages/material_ui/example/lib/drawer/drawer.0.dart index fc1624082a31..0efb215f7936 100644 --- a/packages/material_ui/example/lib/drawer/drawer.0.dart +++ b/packages/material_ui/example/lib/drawer/drawer.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Drawer]. @@ -76,3 +77,4 @@ class _DrawerExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown/dropdown_button.0.dart b/packages/material_ui/example/lib/dropdown/dropdown_button.0.dart index 05771b37266a..a3fa293e8c9e 100644 --- a/packages/material_ui/example/lib/dropdown/dropdown_button.0.dart +++ b/packages/material_ui/example/lib/dropdown/dropdown_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DropdownButton]. @@ -54,3 +55,4 @@ class _DropdownButtonExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown/dropdown_button.selected_item_builder.0.dart b/packages/material_ui/example/lib/dropdown/dropdown_button.selected_item_builder.0.dart index a9046215d577..d6e5bd973f00 100644 --- a/packages/material_ui/example/lib/dropdown/dropdown_button.selected_item_builder.0.dart +++ b/packages/material_ui/example/lib/dropdown/dropdown_button.selected_item_builder.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DropdownButton.selectedItemBuilder]. @@ -83,3 +84,4 @@ class _DropdownButtonExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown/dropdown_button.style.0.dart b/packages/material_ui/example/lib/dropdown/dropdown_button.style.0.dart index 5e1e588fd782..bcfd1abdc12c 100644 --- a/packages/material_ui/example/lib/dropdown/dropdown_button.style.0.dart +++ b/packages/material_ui/example/lib/dropdown/dropdown_button.style.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [DropdownButton.style]. @@ -68,3 +69,4 @@ class _DropdownButtonExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.0.dart b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.0.dart index c9b138017fc1..f330c1988df8 100644 --- a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.0.dart +++ b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:collection/collection.dart'; import 'package:material_ui/material_ui.dart'; @@ -161,3 +162,4 @@ class _DropdownMenuExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.1.dart b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.1.dart index 5bb0fb575d2c..e11f4f848537 100644 --- a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.1.dart +++ b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:collection/collection.dart'; import 'package:material_ui/material_ui.dart'; @@ -54,3 +55,4 @@ class _DropdownMenuExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.2.dart b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.2.dart index 700418ad561c..a5988becb2f4 100644 --- a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.2.dart +++ b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:collection/collection.dart'; import 'package:material_ui/material_ui.dart'; @@ -167,3 +168,4 @@ class _DropdownMenuExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu_entry_label_widget.0.dart b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu_entry_label_widget.0.dart index 8f61afe53b4a..e118baf74d17 100644 --- a/packages/material_ui/example/lib/dropdown_menu/dropdown_menu_entry_label_widget.0.dart +++ b/packages/material_ui/example/lib/dropdown_menu/dropdown_menu_entry_label_widget.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for the [DropdownMenuEntry] `labelWidget` property. @@ -92,3 +93,4 @@ class DropdownMenuEntryLabelWidgetExampleApp extends StatelessWidget { void main() { runApp(const DropdownMenuEntryLabelWidgetExampleApp()); } +// #endregion body diff --git a/packages/material_ui/example/lib/elevated_button/elevated_button.0.dart b/packages/material_ui/example/lib/elevated_button/elevated_button.0.dart index 3b81d301832c..5cc5101e3d15 100644 --- a/packages/material_ui/example/lib/elevated_button/elevated_button.0.dart +++ b/packages/material_ui/example/lib/elevated_button/elevated_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ElevatedButton]. @@ -56,3 +57,4 @@ class _ElevatedButtonExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/expansible/expansible.0.dart b/packages/material_ui/example/lib/expansible/expansible.0.dart index bbcc92fe5eb2..a6858b33b479 100644 --- a/packages/material_ui/example/lib/expansible/expansible.0.dart +++ b/packages/material_ui/example/lib/expansible/expansible.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Expansible]. @@ -73,3 +74,4 @@ class _ExpansibleWidgetExampleState extends State { super.dispose(); } } +// #endregion body diff --git a/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.0.dart b/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.0.dart index c35e8bfa2ea1..ad6408901e22 100644 --- a/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.0.dart +++ b/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ExpansionPanelList]. @@ -90,3 +91,4 @@ class _ExpansionPanelListExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart b/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart index da6b46187b49..9ccf6831e8ab 100644 --- a/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart +++ b/packages/material_ui/example/lib/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ExpansionPanelList.radio]. @@ -88,3 +89,4 @@ class _ExpansionPanelListRadioExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/expansion_tile/expansion_tile.0.dart b/packages/material_ui/example/lib/expansion_tile/expansion_tile.0.dart index 54d7e678cf3b..63e69ce6ee3a 100644 --- a/packages/material_ui/example/lib/expansion_tile/expansion_tile.0.dart +++ b/packages/material_ui/example/lib/expansion_tile/expansion_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ExpansionTile]. @@ -68,3 +69,4 @@ class _ExpansionTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/expansion_tile/expansion_tile.1.dart b/packages/material_ui/example/lib/expansion_tile/expansion_tile.1.dart index 5c085cead82b..8dfb4bb9b45e 100644 --- a/packages/material_ui/example/lib/expansion_tile/expansion_tile.1.dart +++ b/packages/material_ui/example/lib/expansion_tile/expansion_tile.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ExpansionTile] and [ExpansibleController]. @@ -82,3 +83,4 @@ class _ExpansionTileControllerAppState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/expansion_tile/expansion_tile.2.dart b/packages/material_ui/example/lib/expansion_tile/expansion_tile.2.dart index 977a62ce755c..5544a5869b72 100644 --- a/packages/material_ui/example/lib/expansion_tile/expansion_tile.2.dart +++ b/packages/material_ui/example/lib/expansion_tile/expansion_tile.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ExpansionTile] and [AnimationStyle]. @@ -87,3 +88,4 @@ class _ExpansionTileAnimationStyleAppState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/filled_button/filled_button.0.dart b/packages/material_ui/example/lib/filled_button/filled_button.0.dart index 788b55e61d18..f7256df46096 100644 --- a/packages/material_ui/example/lib/filled_button/filled_button.0.dart +++ b/packages/material_ui/example/lib/filled_button/filled_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [FilledButton]. @@ -57,3 +58,4 @@ class FilledButtonApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/filter_chip/filter_chip.0.dart b/packages/material_ui/example/lib/filter_chip/filter_chip.0.dart index 380c158d3c6e..8bc9d5c55841 100644 --- a/packages/material_ui/example/lib/filter_chip/filter_chip.0.dart +++ b/packages/material_ui/example/lib/filter_chip/filter_chip.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [FilterChip]. @@ -72,3 +73,4 @@ class _FilterChipExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/flexible_space_bar/flexible_space_bar.0.dart b/packages/material_ui/example/lib/flexible_space_bar/flexible_space_bar.0.dart index 67a78bc421c5..76c03041cc21 100644 --- a/packages/material_ui/example/lib/flexible_space_bar/flexible_space_bar.0.dart +++ b/packages/material_ui/example/lib/flexible_space_bar/flexible_space_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/gestures.dart'; import 'package:material_ui/material_ui.dart'; @@ -80,3 +81,4 @@ class FlexibleSpaceBarExampleApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/floating_action_button/floating_action_button.0.dart b/packages/material_ui/example/lib/floating_action_button/floating_action_button.0.dart index 39ccb911d08b..2a40f347a959 100644 --- a/packages/material_ui/example/lib/floating_action_button/floating_action_button.0.dart +++ b/packages/material_ui/example/lib/floating_action_button/floating_action_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [FloatingActionButton]. @@ -58,3 +59,4 @@ class _FloatingActionButtonExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/floating_action_button/floating_action_button.1.dart b/packages/material_ui/example/lib/floating_action_button/floating_action_button.1.dart index c781dcda04ef..4263944b7eeb 100644 --- a/packages/material_ui/example/lib/floating_action_button/floating_action_button.1.dart +++ b/packages/material_ui/example/lib/floating_action_button/floating_action_button.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [FloatingActionButton]. @@ -99,3 +100,4 @@ class FloatingActionButtonExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/floating_action_button/floating_action_button.2.dart b/packages/material_ui/example/lib/floating_action_button/floating_action_button.2.dart index 6f21a15155b4..1afecb03e473 100644 --- a/packages/material_ui/example/lib/floating_action_button/floating_action_button.2.dart +++ b/packages/material_ui/example/lib/floating_action_button/floating_action_button.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [FloatingActionButton]. @@ -100,3 +101,4 @@ class FloatingActionButtonExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/floating_action_button_location/standard_fab_location.0.dart b/packages/material_ui/example/lib/floating_action_button_location/standard_fab_location.0.dart index d1841d9e6486..1b553160c0a7 100644 --- a/packages/material_ui/example/lib/floating_action_button_location/standard_fab_location.0.dart +++ b/packages/material_ui/example/lib/floating_action_button_location/standard_fab_location.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [StandardFabLocation]. @@ -50,3 +51,4 @@ class StandardFabLocationExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/icon_alignment/icon_alignment.0.dart b/packages/material_ui/example/lib/icon_alignment/icon_alignment.0.dart index 929a5b1f2432..da3b35b8e0c0 100644 --- a/packages/material_ui/example/lib/icon_alignment/icon_alignment.0.dart +++ b/packages/material_ui/example/lib/icon_alignment/icon_alignment.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for the [IconAlignment] property on various Material @@ -144,3 +145,4 @@ class _IconAlignmentExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/icon_button/icon_button.0.dart b/packages/material_ui/example/lib/icon_button/icon_button.0.dart index a6aefb57c73e..47090a654c36 100644 --- a/packages/material_ui/example/lib/icon_button/icon_button.0.dart +++ b/packages/material_ui/example/lib/icon_button/icon_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [IconButton]. @@ -51,3 +52,4 @@ class _IconButtonExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/icon_button/icon_button.1.dart b/packages/material_ui/example/lib/icon_button/icon_button.1.dart index da54abb68983..ae182dfe4917 100644 --- a/packages/material_ui/example/lib/icon_button/icon_button.1.dart +++ b/packages/material_ui/example/lib/icon_button/icon_button.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [IconButton]. @@ -46,3 +47,4 @@ class IconButtonExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/icon_button/icon_button.2.dart b/packages/material_ui/example/lib/icon_button/icon_button.2.dart index a02237f547db..a704b635f503 100644 --- a/packages/material_ui/example/lib/icon_button/icon_button.2.dart +++ b/packages/material_ui/example/lib/icon_button/icon_button.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [IconButton]. @@ -83,3 +84,4 @@ class ButtonTypesGroup extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/icon_button/icon_button.3.dart b/packages/material_ui/example/lib/icon_button/icon_button.3.dart index aa16ccd45a24..6b8bfc4f98e0 100644 --- a/packages/material_ui/example/lib/icon_button/icon_button.3.dart +++ b/packages/material_ui/example/lib/icon_button/icon_button.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [IconButton] with toggle feature. @@ -133,3 +134,4 @@ class _DemoIconToggleButtonsState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/ink/ink.image_clip.0.dart b/packages/material_ui/example/lib/ink/ink.image_clip.0.dart index 40e0ffc8e02f..52515be2d7cf 100644 --- a/packages/material_ui/example/lib/ink/ink.image_clip.0.dart +++ b/packages/material_ui/example/lib/ink/ink.image_clip.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Image.frameBuilder]. @@ -55,3 +56,4 @@ class ImageClipExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/ink/ink.image_clip.1.dart b/packages/material_ui/example/lib/ink/ink.image_clip.1.dart index 4cf64dcfff34..e565c7bc59a9 100644 --- a/packages/material_ui/example/lib/ink/ink.image_clip.1.dart +++ b/packages/material_ui/example/lib/ink/ink.image_clip.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Image.frameBuilder]. @@ -57,3 +58,4 @@ class ImageClipExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/ink_well/ink_well.0.dart b/packages/material_ui/example/lib/ink_well/ink_well.0.dart index 90c0f85e82b3..cbaaa3080755 100644 --- a/packages/material_ui/example/lib/ink_well/ink_well.0.dart +++ b/packages/material_ui/example/lib/ink_well/ink_well.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InkWell]. @@ -52,3 +53,4 @@ class _InkWellExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_chip/input_chip.0.dart b/packages/material_ui/example/lib/input_chip/input_chip.0.dart index aac879672931..ec96eacd2319 100644 --- a/packages/material_ui/example/lib/input_chip/input_chip.0.dart +++ b/packages/material_ui/example/lib/input_chip/input_chip.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body // Flutter code sample InputChip. import 'package:material_ui/material_ui.dart'; @@ -79,3 +80,4 @@ class _InputChipExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_chip/input_chip.1.dart b/packages/material_ui/example/lib/input_chip/input_chip.1.dart index 4eeb2f578edd..f679c65bbf0f 100644 --- a/packages/material_ui/example/lib/input_chip/input_chip.1.dart +++ b/packages/material_ui/example/lib/input_chip/input_chip.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:async'; import 'package:material_ui/material_ui.dart'; @@ -358,3 +359,4 @@ class ToppingInputChip extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.0.dart index 7b3a4275b8cd..7f3e648b726f 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration]. @@ -38,3 +39,4 @@ class InputDecorationExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.1.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.1.dart index 56b0ad4e9412..1e012610968d 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.1.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration]. @@ -35,3 +36,4 @@ class InputDecorationExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.2.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.2.dart index 34c023968c83..0bf179678d7d 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.2.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration]. @@ -36,3 +37,4 @@ class InputDecorationExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.3.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.3.dart index 5f6685ebed7c..875e055776e6 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.3.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration]. @@ -37,3 +38,4 @@ class InputDecorationExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.floating_label_style_error.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.floating_label_style_error.0.dart index bc4a06ec9def..486061c23312 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.floating_label_style_error.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.floating_label_style_error.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecorator]. @@ -53,3 +54,4 @@ class InputDecoratorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.helper.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.helper.0.dart index 52b883cc6152..56269484ac02 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.helper.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.helper.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration.helper]. @@ -49,3 +50,4 @@ class HelperExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.label.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.label.0.dart index f9c4457c9f48..587da1712af0 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.label.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.label.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration.label]. @@ -45,3 +46,4 @@ class LabelExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.label_style_error.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.label_style_error.0.dart index 7cb369986d66..262b0eb0dea7 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.label_style_error.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.label_style_error.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecorator]. @@ -51,3 +52,4 @@ class InputDecoratorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon.0.dart index 325cb2a715c3..8ba5ee9c226a 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecorator]. @@ -35,3 +36,4 @@ class InputDecoratorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon_constraints.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon_constraints.0.dart index 19381307e069..18e15ce0a6e0 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon_constraints.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.prefix_icon_constraints.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration.prefixIconConstraints]. @@ -55,3 +56,4 @@ class PrefixIconConstraintsExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon.0.dart index 3dab6eb9d02c..a23d2eee2687 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecorator]. @@ -35,3 +36,4 @@ class InputDecoratorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon_constraints.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon_constraints.0.dart index 989c4aa1327e..a3f169be19da 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon_constraints.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.suffix_icon_constraints.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration.suffixIconConstraints]. @@ -55,3 +56,4 @@ class SuffixIconConstraintsExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.0.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.0.dart index ffe5a2815b2c..049e3f84c746 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.0.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration]. @@ -41,3 +42,4 @@ class MaterialStateExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.1.dart b/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.1.dart index 26c5ba8782e1..b8995de24d77 100644 --- a/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.1.dart +++ b/packages/material_ui/example/lib/input_decorator/input_decoration.widget_state.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [InputDecoration]. @@ -48,3 +49,4 @@ class MaterialStateExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/custom_list_item.0.dart b/packages/material_ui/example/lib/list_tile/custom_list_item.0.dart index 46aa15a6e3a7..3aedcfd0de27 100644 --- a/packages/material_ui/example/lib/list_tile/custom_list_item.0.dart +++ b/packages/material_ui/example/lib/list_tile/custom_list_item.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for custom list items. @@ -118,3 +119,4 @@ class CustomListItemExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/custom_list_item.1.dart b/packages/material_ui/example/lib/list_tile/custom_list_item.1.dart index 9662a21f3196..380694937bbd 100644 --- a/packages/material_ui/example/lib/list_tile/custom_list_item.1.dart +++ b/packages/material_ui/example/lib/list_tile/custom_list_item.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for custom list items. @@ -149,3 +150,4 @@ class CustomListItemExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/list_tile.0.dart b/packages/material_ui/example/lib/list_tile/list_tile.0.dart index 6e7cfb09b835..636b32d2a16f 100644 --- a/packages/material_ui/example/lib/list_tile/list_tile.0.dart +++ b/packages/material_ui/example/lib/list_tile/list_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ListTile]. @@ -149,3 +150,4 @@ class _ListTileExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/list_tile.1.dart b/packages/material_ui/example/lib/list_tile/list_tile.1.dart index 35b6e67f2c79..24c5d7550a22 100644 --- a/packages/material_ui/example/lib/list_tile/list_tile.1.dart +++ b/packages/material_ui/example/lib/list_tile/list_tile.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ListTile]. @@ -76,3 +77,4 @@ class ListTileExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/list_tile.2.dart b/packages/material_ui/example/lib/list_tile/list_tile.2.dart index b747bb44d40a..4cd4d05b0a74 100644 --- a/packages/material_ui/example/lib/list_tile/list_tile.2.dart +++ b/packages/material_ui/example/lib/list_tile/list_tile.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ListTile]. @@ -57,3 +58,4 @@ class ListTileExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/list_tile.3.dart b/packages/material_ui/example/lib/list_tile/list_tile.3.dart index 130c080576aa..567a011aece7 100644 --- a/packages/material_ui/example/lib/list_tile/list_tile.3.dart +++ b/packages/material_ui/example/lib/list_tile/list_tile.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ListTile]. @@ -76,3 +77,4 @@ class _ListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/list_tile.4.dart b/packages/material_ui/example/lib/list_tile/list_tile.4.dart index bb456559f0c2..163d2eea865a 100644 --- a/packages/material_ui/example/lib/list_tile/list_tile.4.dart +++ b/packages/material_ui/example/lib/list_tile/list_tile.4.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ListTile]. @@ -78,3 +79,4 @@ class _ListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/list_tile/list_tile.selected.0.dart b/packages/material_ui/example/lib/list_tile/list_tile.selected.0.dart index 111050aadee1..e9a135a955e3 100644 --- a/packages/material_ui/example/lib/list_tile/list_tile.selected.0.dart +++ b/packages/material_ui/example/lib/list_tile/list_tile.selected.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ListTile.selected]. @@ -48,3 +49,4 @@ class _ListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/material_state/material_state_border_side.0.dart b/packages/material_ui/example/lib/material_state/material_state_border_side.0.dart index 2dcecb5a23ea..59a086d6ebc2 100644 --- a/packages/material_ui/example/lib/material_state/material_state_border_side.0.dart +++ b/packages/material_ui/example/lib/material_state/material_state_border_side.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [WidgetStateBorderSide]. @@ -53,3 +54,4 @@ class _MaterialStateBorderSideExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/material_state/material_state_mouse_cursor.0.dart b/packages/material_ui/example/lib/material_state/material_state_mouse_cursor.0.dart index acf8d72a35c3..8331b02538ba 100644 --- a/packages/material_ui/example/lib/material_state/material_state_mouse_cursor.0.dart +++ b/packages/material_ui/example/lib/material_state/material_state_mouse_cursor.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [WidgetStateMouseCursor]. @@ -57,3 +58,4 @@ class MaterialStateMouseCursorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/material_state/material_state_outlined_border.0.dart b/packages/material_ui/example/lib/material_state/material_state_outlined_border.0.dart index 0ba557ec282e..4f3419020b4b 100644 --- a/packages/material_ui/example/lib/material_state/material_state_outlined_border.0.dart +++ b/packages/material_ui/example/lib/material_state/material_state_outlined_border.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [WidgetStateOutlinedBorder]. @@ -58,3 +59,4 @@ class _WidgetStateOutlinedBorderExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/material_state/material_state_property.0.dart b/packages/material_ui/example/lib/material_state/material_state_property.0.dart index d38a9c8d3852..9ef5a0b22838 100644 --- a/packages/material_ui/example/lib/material_state/material_state_property.0.dart +++ b/packages/material_ui/example/lib/material_state/material_state_property.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [WidgetStateProperty]. @@ -48,3 +49,4 @@ class MaterialStatePropertyExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/checkbox_menu_button.0.dart b/packages/material_ui/example/lib/menu_anchor/checkbox_menu_button.0.dart index 8728dfc50707..29a726576fe7 100644 --- a/packages/material_ui/example/lib/menu_anchor/checkbox_menu_button.0.dart +++ b/packages/material_ui/example/lib/menu_anchor/checkbox_menu_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -116,3 +117,4 @@ class MenuApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/menu_accelerator_label.0.dart b/packages/material_ui/example/lib/menu_anchor/menu_accelerator_label.0.dart index fcbbd678a35f..ee47d85e2e5c 100644 --- a/packages/material_ui/example/lib/menu_anchor/menu_accelerator_label.0.dart +++ b/packages/material_ui/example/lib/menu_anchor/menu_accelerator_label.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -109,3 +110,4 @@ class MenuAcceleratorApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/menu_anchor.0.dart b/packages/material_ui/example/lib/menu_anchor/menu_anchor.0.dart index 5e1b36d2fca5..a885f7e5234c 100644 --- a/packages/material_ui/example/lib/menu_anchor/menu_anchor.0.dart +++ b/packages/material_ui/example/lib/menu_anchor/menu_anchor.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -240,3 +241,4 @@ class MenuApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/menu_anchor.1.dart b/packages/material_ui/example/lib/menu_anchor/menu_anchor.1.dart index 45d0d003574b..0cb33daada15 100644 --- a/packages/material_ui/example/lib/menu_anchor/menu_anchor.1.dart +++ b/packages/material_ui/example/lib/menu_anchor/menu_anchor.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -285,3 +286,4 @@ class ContextMenuApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/menu_anchor.2.dart b/packages/material_ui/example/lib/menu_anchor/menu_anchor.2.dart index bce2281adde1..7301bcb23181 100644 --- a/packages/material_ui/example/lib/menu_anchor/menu_anchor.2.dart +++ b/packages/material_ui/example/lib/menu_anchor/menu_anchor.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [MenuAnchor]. @@ -66,3 +67,4 @@ class _MenuAnchorExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/menu_anchor.3.dart b/packages/material_ui/example/lib/menu_anchor/menu_anchor.3.dart index efbcbaaa2a3a..60aa888a5eb8 100644 --- a/packages/material_ui/example/lib/menu_anchor/menu_anchor.3.dart +++ b/packages/material_ui/example/lib/menu_anchor/menu_anchor.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SimpleCascadingMenuApp]. @@ -68,3 +69,4 @@ class SimpleCascadingMenuApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/menu_bar.0.dart b/packages/material_ui/example/lib/menu_anchor/menu_bar.0.dart index a86dc7cba59a..97a414f4e52a 100644 --- a/packages/material_ui/example/lib/menu_anchor/menu_bar.0.dart +++ b/packages/material_ui/example/lib/menu_anchor/menu_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -267,3 +268,4 @@ class MenuBarApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/menu_anchor/radio_menu_button.0.dart b/packages/material_ui/example/lib/menu_anchor/radio_menu_button.0.dart index 79fea2bc5692..5e316b2b9d26 100644 --- a/packages/material_ui/example/lib/menu_anchor/radio_menu_button.0.dart +++ b/packages/material_ui/example/lib/menu_anchor/radio_menu_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -123,3 +124,4 @@ class MenuApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/navigation_bar/navigation_bar.0.dart b/packages/material_ui/example/lib/navigation_bar/navigation_bar.0.dart index e56dd123b3c0..57353329fffe 100644 --- a/packages/material_ui/example/lib/navigation_bar/navigation_bar.0.dart +++ b/packages/material_ui/example/lib/navigation_bar/navigation_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [NavigationBar]. @@ -137,3 +138,4 @@ class _NavigationExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/navigation_bar/navigation_bar.1.dart b/packages/material_ui/example/lib/navigation_bar/navigation_bar.1.dart index 48a063b04b75..cedd20f7de4f 100644 --- a/packages/material_ui/example/lib/navigation_bar/navigation_bar.1.dart +++ b/packages/material_ui/example/lib/navigation_bar/navigation_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [NavigationBar]. @@ -95,3 +96,4 @@ class _NavigationExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/navigation_bar/navigation_bar.2.dart b/packages/material_ui/example/lib/navigation_bar/navigation_bar.2.dart index 9240c1ac397f..df8328c0b709 100644 --- a/packages/material_ui/example/lib/navigation_bar/navigation_bar.2.dart +++ b/packages/material_ui/example/lib/navigation_bar/navigation_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [NavigationBar] with nested [Navigator] destinations. @@ -391,3 +392,4 @@ class _DestinationViewState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/navigation_drawer/navigation_drawer.0.dart b/packages/material_ui/example/lib/navigation_drawer/navigation_drawer.0.dart index 9b4db76b4cf8..eba8dbb3db06 100644 --- a/packages/material_ui/example/lib/navigation_drawer/navigation_drawer.0.dart +++ b/packages/material_ui/example/lib/navigation_drawer/navigation_drawer.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body // Builds an adaptive navigation widget layout. When the screen width is less than // 450, A [NavigationBar] will be displayed. Otherwise, a [NavigationRail] will be // displayed on the left side, and also a button to open the [NavigationDrawer]. @@ -185,3 +186,4 @@ class _NavigationDrawerExampleState extends State { : buildBottomBarScaffold(); } } +// #endregion body diff --git a/packages/material_ui/example/lib/navigation_rail/navigation_rail.0.dart b/packages/material_ui/example/lib/navigation_rail/navigation_rail.0.dart index 2fbffe18d6e9..0b6744a9d527 100644 --- a/packages/material_ui/example/lib/navigation_rail/navigation_rail.0.dart +++ b/packages/material_ui/example/lib/navigation_rail/navigation_rail.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [NavigationRail]. @@ -206,3 +207,4 @@ class _NavRailExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/navigation_rail/navigation_rail.extended_animation.0.dart b/packages/material_ui/example/lib/navigation_rail/navigation_rail.extended_animation.0.dart index e367f46a0259..33a326f5a9f5 100644 --- a/packages/material_ui/example/lib/navigation_rail/navigation_rail.extended_animation.0.dart +++ b/packages/material_ui/example/lib/navigation_rail/navigation_rail.extended_animation.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:ui'; import 'package:material_ui/material_ui.dart'; @@ -126,3 +127,4 @@ class MyNavigationRailFab extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/outlined_button/outlined_button.0.dart b/packages/material_ui/example/lib/outlined_button/outlined_button.0.dart index b7b89683e95d..1ce9f7262cd3 100644 --- a/packages/material_ui/example/lib/outlined_button/outlined_button.0.dart +++ b/packages/material_ui/example/lib/outlined_button/outlined_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [OutlinedButton]. @@ -35,3 +36,4 @@ class OutlinedButtonExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.0.dart b/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.0.dart index 09542fdc2d5f..d6581e3071b8 100644 --- a/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.0.dart +++ b/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; import 'package:material_ui/material_ui.dart'; @@ -74,3 +75,4 @@ class SecondPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.1.dart b/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.1.dart index f64029138f38..f046bef43f2b 100644 --- a/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.1.dart +++ b/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [PageTransitionsTheme]. @@ -67,3 +68,4 @@ class SecondPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.3.dart b/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.3.dart index 8b4640392cfd..790e8c49b593 100644 --- a/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.3.dart +++ b/packages/material_ui/example/lib/page_transitions_theme/page_transitions_theme.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for the default Android U page transition theme @@ -151,3 +152,4 @@ class SecondPage extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.0.dart b/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.0.dart index 6a0a6405e2bc..d220b6427b6d 100644 --- a/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.0.dart +++ b/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [PaginatedDataTable]. @@ -82,3 +83,4 @@ class DataTableExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.1.dart b/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.1.dart index 1a85f0a1ff00..d7c0ef5cc516 100644 --- a/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.1.dart +++ b/packages/material_ui/example/lib/paginated_data_table/paginated_data_table.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [PaginatedDataTable]. @@ -297,3 +298,4 @@ final List>> episodes = >>[ DateTime(2023, 8, 10), ], ]; +// #endregion body diff --git a/packages/material_ui/example/lib/platform_menu_bar/platform_menu_bar.0.dart b/packages/material_ui/example/lib/platform_menu_bar/platform_menu_bar.0.dart index 913f15c3a2ab..c58c8bbbab37 100644 --- a/packages/material_ui/example/lib/platform_menu_bar/platform_menu_bar.0.dart +++ b/packages/material_ui/example/lib/platform_menu_bar/platform_menu_bar.0.dart @@ -138,3 +138,4 @@ class _PlatformMenuBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/popup_menu/popup_menu.0.dart b/packages/material_ui/example/lib/popup_menu/popup_menu.0.dart index 458a77ae072f..5eacf5ec9d6c 100644 --- a/packages/material_ui/example/lib/popup_menu/popup_menu.0.dart +++ b/packages/material_ui/example/lib/popup_menu/popup_menu.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [PopupMenuButton]. @@ -61,3 +62,4 @@ class _PopupMenuExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/popup_menu/popup_menu.1.dart b/packages/material_ui/example/lib/popup_menu/popup_menu.1.dart index 97debb14f699..c1565c14d59c 100644 --- a/packages/material_ui/example/lib/popup_menu/popup_menu.1.dart +++ b/packages/material_ui/example/lib/popup_menu/popup_menu.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [PopupMenuButton]. @@ -64,3 +65,4 @@ class _PopupMenuExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/popup_menu/popup_menu.2.dart b/packages/material_ui/example/lib/popup_menu/popup_menu.2.dart index cfad79932d3b..5891f148b782 100644 --- a/packages/material_ui/example/lib/popup_menu/popup_menu.2.dart +++ b/packages/material_ui/example/lib/popup_menu/popup_menu.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [PopupMenuButton]. @@ -134,3 +135,4 @@ class _PopupMenuExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.0.dart b/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.0.dart index 09d5cea0087d..8c680dd61605 100644 --- a/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.0.dart +++ b/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [CircularProgressIndicator]. @@ -87,3 +88,4 @@ class _ProgressIndicatorExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.1.dart b/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.1.dart index c801b9eb5038..4d0a4dc5d8b4 100644 --- a/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.1.dart +++ b/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [CircularProgressIndicator]. @@ -102,3 +103,4 @@ class _ProgressIndicatorExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.2.dart b/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.2.dart index d1aa67ff68f7..ada250c6d938 100644 --- a/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.2.dart +++ b/packages/material_ui/example/lib/progress_indicator/circular_progress_indicator.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [CircularProgressIndicator]. @@ -140,3 +141,4 @@ class ManyProgressIndicators extends StatelessWidget { return child; } } +// #endregion body diff --git a/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.0.dart b/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.0.dart index c861852bdec8..ed67e46189f4 100644 --- a/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.0.dart +++ b/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [LinearProgressIndicator]. @@ -90,3 +91,4 @@ class _ProgressIndicatorExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.1.dart b/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.1.dart index 7c3fcf1cf433..5c5b359695d8 100644 --- a/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.1.dart +++ b/packages/material_ui/example/lib/progress_indicator/linear_progress_indicator.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [LinearProgressIndicator]. @@ -100,3 +101,4 @@ class _ProgressIndicatorExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio/radio.0.dart b/packages/material_ui/example/lib/radio/radio.0.dart index 18a04a52a135..8229dbcb515f 100644 --- a/packages/material_ui/example/lib/radio/radio.0.dart +++ b/packages/material_ui/example/lib/radio/radio.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Radio]. @@ -58,3 +59,4 @@ class _RadioExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio/radio.1.dart b/packages/material_ui/example/lib/radio/radio.1.dart index c63b29ef5472..e001c89d1965 100644 --- a/packages/material_ui/example/lib/radio/radio.1.dart +++ b/packages/material_ui/example/lib/radio/radio.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Radio] to showcase how to customize radio style. @@ -111,3 +112,4 @@ class _RadioExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio/radio.toggleable.0.dart b/packages/material_ui/example/lib/radio/radio.toggleable.0.dart index f46308f5807e..7ebb2d15f387 100644 --- a/packages/material_ui/example/lib/radio/radio.toggleable.0.dart +++ b/packages/material_ui/example/lib/radio/radio.toggleable.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Radio.toggleable]. @@ -70,3 +71,4 @@ class _ToggleableExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.0.dart b/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.0.dart index b057e5fec415..d30b0655823f 100644 --- a/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.0.dart +++ b/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/gestures.dart'; import 'package:material_ui/material_ui.dart'; @@ -101,3 +102,4 @@ class _LabeledRadioExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.1.dart b/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.1.dart index 01bdb620261f..b341c9c13e4b 100644 --- a/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.1.dart +++ b/packages/material_ui/example/lib/radio_list_tile/custom_labeled_radio.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for custom labeled radio. @@ -92,3 +93,4 @@ class _LabeledRadioExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.0.dart b/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.0.dart index f5cc528c6a79..fd3327ffdf72 100644 --- a/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.0.dart +++ b/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [RadioListTile]. @@ -58,3 +59,4 @@ class _RadioListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.1.dart b/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.1.dart index fc1bc4e6fee1..b941046d17a8 100644 --- a/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.1.dart +++ b/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [RadioListTile]. @@ -68,3 +69,4 @@ class _RadioListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.toggleable.0.dart b/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.toggleable.0.dart index cd2ed449c475..7413a4a978c6 100644 --- a/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.toggleable.0.dart +++ b/packages/material_ui/example/lib/radio_list_tile/radio_list_tile.toggleable.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [RadioListTile.toggleable]. @@ -63,3 +64,4 @@ class _RadioListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/range_slider/range_slider.0.dart b/packages/material_ui/example/lib/range_slider/range_slider.0.dart index 8363ce6e2498..a432a7ff5a7c 100644 --- a/packages/material_ui/example/lib/range_slider/range_slider.0.dart +++ b/packages/material_ui/example/lib/range_slider/range_slider.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [RangeSlider]. @@ -50,3 +51,4 @@ class _RangeSliderExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.0.dart b/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.0.dart index fd0b4f2d3418..daf3af7264d3 100644 --- a/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.0.dart +++ b/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [RefreshIndicator]. @@ -62,3 +63,4 @@ class _RefreshIndicatorExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.1.dart b/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.1.dart index d362bb853014..85aea0d02f7b 100644 --- a/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.1.dart +++ b/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/gestures.dart'; import 'package:material_ui/material_ui.dart'; @@ -98,3 +99,4 @@ class RefreshIndicatorExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.2.dart b/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.2.dart index cb08cfe62f71..8834c2fa16ec 100644 --- a/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.2.dart +++ b/packages/material_ui/example/lib/refresh_indicator/refresh_indicator.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:ui'; import 'package:material_ui/material_ui.dart'; @@ -103,3 +104,4 @@ class _RefreshIndicatorExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.0.dart b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.0.dart index 021726881c7c..52869cacfc84 100644 --- a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.0.dart +++ b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ReorderableListView]. @@ -57,3 +58,4 @@ class _ReorderableListViewExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.1.dart b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.1.dart index 1fec3a4cdc32..2132f688260f 100644 --- a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.1.dart +++ b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:ui'; import 'package:material_ui/material_ui.dart'; @@ -82,3 +83,4 @@ class _ReorderableExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.2.dart b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.2.dart index 902ae1e15c81..169c0cfcd58f 100644 --- a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.2.dart +++ b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:ui'; import 'package:material_ui/material_ui.dart'; @@ -90,3 +91,4 @@ class _ReorderableExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart index cdb5bfa34799..86db9222fb54 100644 --- a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart +++ b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ReorderableListView.buildDefaultDragHandles]. @@ -70,3 +71,4 @@ class _ReorderableExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart index b53399bc6fb4..f2202d7c90e5 100644 --- a/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart +++ b/packages/material_ui/example/lib/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ReorderableListView.builder]. @@ -57,3 +58,4 @@ class _ReorderableExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.0.dart b/packages/material_ui/example/lib/scaffold/scaffold.0.dart index d48043ec25b0..c351523cb3ed 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold]. @@ -40,3 +41,4 @@ class _ScaffoldExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.1.dart b/packages/material_ui/example/lib/scaffold/scaffold.1.dart index 88900eb1e710..e442e6e394e2 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.1.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold]. @@ -41,3 +42,4 @@ class _ScaffoldExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.2.dart b/packages/material_ui/example/lib/scaffold/scaffold.2.dart index f0380558a4c1..71716bc5fb4b 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.2.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold]. @@ -47,3 +48,4 @@ class _ScaffoldExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.drawer.0.dart b/packages/material_ui/example/lib/scaffold/scaffold.drawer.0.dart index ae5cff9cffca..8c7c976d1bbf 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.drawer.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.drawer.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold.drawer]. @@ -65,3 +66,4 @@ class _DrawerExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.end_drawer.0.dart b/packages/material_ui/example/lib/scaffold/scaffold.end_drawer.0.dart index 57a7f1d336b3..50754ea52334 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.end_drawer.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.end_drawer.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold.endDrawer]. @@ -65,3 +66,4 @@ class _EndDrawerExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.floating_action_button_animator.0.dart b/packages/material_ui/example/lib/scaffold/scaffold.floating_action_button_animator.0.dart index 3ccc49bba6c5..9400e15c6769 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.floating_action_button_animator.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.floating_action_button_animator.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold.floatingActionButtonAnimator]. @@ -133,3 +134,4 @@ class _ScaffoldFloatingActionButtonAnimatorExampleState ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.of.0.dart b/packages/material_ui/example/lib/scaffold/scaffold.of.0.dart index 1e55c236fecd..f855def1be58 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.of.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.of.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold.of]. @@ -60,3 +61,4 @@ class MyScaffoldBody extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold.of.1.dart b/packages/material_ui/example/lib/scaffold/scaffold.of.1.dart index ecd2fb7af7ab..aaceaa7cd45b 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold.of.1.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold.of.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scaffold.of]. @@ -61,3 +62,4 @@ class OfExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger.0.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger.0.dart index eb4d16f60df2..4c662c6f69cb 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldMessenger]. @@ -37,3 +38,4 @@ class ScaffoldMessengerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.0.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.0.dart index fccb1eae3b0b..565c7068f918 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldMessenger.of]. @@ -37,3 +38,4 @@ class OfExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.1.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.1.dart index 15a0af3c78ab..64a5d65e39d8 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.1.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger.of.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldMessenger.of]. @@ -58,3 +59,4 @@ class _OfExampleAppState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_material_banner.0.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_material_banner.0.dart index 662246c23c05..6b44823f2f37 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_material_banner.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_material_banner.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldMessengerState.showMaterialBanner]. @@ -42,3 +43,4 @@ class ShowMaterialBannerExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart index 8a9ebb6bc00a..0190826a6432 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldMessengerState.showSnackBar]. @@ -37,3 +38,4 @@ class ShowSnackBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.1.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.1.dart index 311fa4186fc6..247c6ccf4294 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.1.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SnackBar]. @@ -72,3 +73,4 @@ class _SnackBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.2.dart b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.2.dart index d03f91ee5402..a4ec13c6c8f1 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.2.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_messenger_state.show_snack_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SnackBar]. @@ -96,3 +97,4 @@ class _SnackBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.0.dart b/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.0.dart index 759f8beb234b..21443c5c4535 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.0.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldState.showBottomSheet]. @@ -57,3 +58,4 @@ class ShowBottomSheetExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.1.dart b/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.1.dart index 4ffac4c25b2a..1f639c8ba9f9 100644 --- a/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.1.dart +++ b/packages/material_ui/example/lib/scaffold/scaffold_state.show_bottom_sheet.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ScaffoldState.showBottomSheet]. @@ -110,3 +111,4 @@ class _ShowBottomSheetExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scrollbar/scrollbar.0.dart b/packages/material_ui/example/lib/scrollbar/scrollbar.0.dart index 23cccb851772..7da3429d2806 100644 --- a/packages/material_ui/example/lib/scrollbar/scrollbar.0.dart +++ b/packages/material_ui/example/lib/scrollbar/scrollbar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scrollbar]. @@ -41,3 +42,4 @@ class ScrollbarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/scrollbar/scrollbar.1.dart b/packages/material_ui/example/lib/scrollbar/scrollbar.1.dart index 40feb8289eca..bf5c74b87451 100644 --- a/packages/material_ui/example/lib/scrollbar/scrollbar.1.dart +++ b/packages/material_ui/example/lib/scrollbar/scrollbar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Scrollbar]. @@ -50,3 +51,4 @@ class _ScrollbarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/search_anchor/search_anchor.0.dart b/packages/material_ui/example/lib/search_anchor/search_anchor.0.dart index 32212caf6bfe..19b55fff30d1 100644 --- a/packages/material_ui/example/lib/search_anchor/search_anchor.0.dart +++ b/packages/material_ui/example/lib/search_anchor/search_anchor.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SearchAnchor.bar]. @@ -144,3 +145,4 @@ enum ColorLabel { final String label; final Color color; } +// #endregion body diff --git a/packages/material_ui/example/lib/search_anchor/search_anchor.1.dart b/packages/material_ui/example/lib/search_anchor/search_anchor.1.dart index ade35ccaede9..f3cd85633cf3 100644 --- a/packages/material_ui/example/lib/search_anchor/search_anchor.1.dart +++ b/packages/material_ui/example/lib/search_anchor/search_anchor.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for pinned [SearchAnchor] while scrolling. @@ -84,3 +85,4 @@ class _PinnedSearchBarAppState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/search_anchor/search_anchor.2.dart b/packages/material_ui/example/lib/search_anchor/search_anchor.2.dart index f378a223787c..b025aeb93dcb 100644 --- a/packages/material_ui/example/lib/search_anchor/search_anchor.2.dart +++ b/packages/material_ui/example/lib/search_anchor/search_anchor.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SearchAnchor]. @@ -61,3 +62,4 @@ class _SearchBarAppState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/search_anchor/search_anchor.3.dart b/packages/material_ui/example/lib/search_anchor/search_anchor.3.dart index 469fbb05ec82..5a9882a79363 100644 --- a/packages/material_ui/example/lib/search_anchor/search_anchor.3.dart +++ b/packages/material_ui/example/lib/search_anchor/search_anchor.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SearchAnchor]. @@ -94,3 +95,4 @@ class _FakeAPI { }); } } +// #endregion body diff --git a/packages/material_ui/example/lib/search_anchor/search_anchor.4.dart b/packages/material_ui/example/lib/search_anchor/search_anchor.4.dart index b699770ed000..ae918534f71c 100644 --- a/packages/material_ui/example/lib/search_anchor/search_anchor.4.dart +++ b/packages/material_ui/example/lib/search_anchor/search_anchor.4.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:async'; import 'package:material_ui/material_ui.dart'; @@ -174,3 +175,4 @@ class _DebounceTimer { class _CancelException implements Exception { const _CancelException(); } +// #endregion body diff --git a/packages/material_ui/example/lib/search_anchor/search_bar.0.dart b/packages/material_ui/example/lib/search_anchor/search_bar.0.dart index fe51aceed46b..377d3108d406 100644 --- a/packages/material_ui/example/lib/search_anchor/search_bar.0.dart +++ b/packages/material_ui/example/lib/search_anchor/search_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SearchBar]. @@ -79,3 +80,4 @@ class _SearchBarAppState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/segmented_button/segmented_button.0.dart b/packages/material_ui/example/lib/segmented_button/segmented_button.0.dart index 3ea2c9dbcaa2..27cd5c44a3bb 100644 --- a/packages/material_ui/example/lib/segmented_button/segmented_button.0.dart +++ b/packages/material_ui/example/lib/segmented_button/segmented_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SegmentedButton]. @@ -118,3 +119,4 @@ class _MultipleChoiceState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/segmented_button/segmented_button.1.dart b/packages/material_ui/example/lib/segmented_button/segmented_button.1.dart index f6508a999c11..f58b6c8ca9c7 100644 --- a/packages/material_ui/example/lib/segmented_button/segmented_button.1.dart +++ b/packages/material_ui/example/lib/segmented_button/segmented_button.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SegmentedButton.styleFrom]. @@ -76,3 +77,4 @@ class _SegmentedButtonExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/selectable_region/selectable_region.0.dart b/packages/material_ui/example/lib/selectable_region/selectable_region.0.dart index e644a59facca..1648e5442b20 100644 --- a/packages/material_ui/example/lib/selectable_region/selectable_region.0.dart +++ b/packages/material_ui/example/lib/selectable_region/selectable_region.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/rendering.dart'; import 'package:material_ui/material_ui.dart'; @@ -375,3 +376,4 @@ class _RenderSelectableAdapter extends RenderProxyBox super.dispose(); } } +// #endregion body diff --git a/packages/material_ui/example/lib/selection_area/selection_area.0.dart b/packages/material_ui/example/lib/selection_area/selection_area.0.dart index 50d17c71c22a..4a34ce346120 100644 --- a/packages/material_ui/example/lib/selection_area/selection_area.0.dart +++ b/packages/material_ui/example/lib/selection_area/selection_area.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SelectionArea]. @@ -28,3 +29,4 @@ class SelectionAreaExampleApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/selection_area/selection_area.1.dart b/packages/material_ui/example/lib/selection_area/selection_area.1.dart index 89d6d0a1a3f9..240dd8694e27 100644 --- a/packages/material_ui/example/lib/selection_area/selection_area.1.dart +++ b/packages/material_ui/example/lib/selection_area/selection_area.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/foundation.dart'; import 'package:material_ui/material_ui.dart'; @@ -151,3 +152,4 @@ class _MySelectableTextState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/selection_area/selection_area.2.dart b/packages/material_ui/example/lib/selection_area/selection_area.2.dart index abfe03dee513..423a4dd0c01c 100644 --- a/packages/material_ui/example/lib/selection_area/selection_area.2.dart +++ b/packages/material_ui/example/lib/selection_area/selection_area.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'dart:math'; import 'package:flutter/foundation.dart'; @@ -501,3 +502,4 @@ class _MySelectableTextColumnState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/selection_container/selection_container.0.dart b/packages/material_ui/example/lib/selection_container/selection_container.0.dart index 4477f160da41..e7fb0b7287cd 100644 --- a/packages/material_ui/example/lib/selection_container/selection_container.0.dart +++ b/packages/material_ui/example/lib/selection_container/selection_container.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/rendering.dart'; import 'package:material_ui/material_ui.dart'; @@ -135,3 +136,4 @@ class SelectAllOrNoneContainerDelegate return super.handleSelectAll(event); } } +// #endregion body diff --git a/packages/material_ui/example/lib/selection_container/selection_container_disabled.0.dart b/packages/material_ui/example/lib/selection_container/selection_container_disabled.0.dart index 0a2dcbba6de9..748c748f73d5 100644 --- a/packages/material_ui/example/lib/selection_container/selection_container_disabled.0.dart +++ b/packages/material_ui/example/lib/selection_container/selection_container_disabled.0.dart @@ -32,3 +32,4 @@ class SelectionContainerDisabledExampleApp extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/shaped_input_border/shaped_input_border.0.dart b/packages/material_ui/example/lib/shaped_input_border/shaped_input_border.0.dart index 2df091d27db2..fae5656cc4c4 100644 --- a/packages/material_ui/example/lib/shaped_input_border/shaped_input_border.0.dart +++ b/packages/material_ui/example/lib/shaped_input_border/shaped_input_border.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ShapedInputBorder]. @@ -117,3 +118,4 @@ class ShapedInputBorderExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/slider/slider.0.dart b/packages/material_ui/example/lib/slider/slider.0.dart index cc8b4c09e3c2..9bade324fce3 100644 --- a/packages/material_ui/example/lib/slider/slider.0.dart +++ b/packages/material_ui/example/lib/slider/slider.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Slider]. @@ -80,3 +81,4 @@ class _SliderExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/slider/slider.1.dart b/packages/material_ui/example/lib/slider/slider.1.dart index a778c31c4a47..04ab4f0f6fa6 100644 --- a/packages/material_ui/example/lib/slider/slider.1.dart +++ b/packages/material_ui/example/lib/slider/slider.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Slider]. @@ -59,3 +60,4 @@ class _SliderExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/snack_bar/snack_bar.0.dart b/packages/material_ui/example/lib/snack_bar/snack_bar.0.dart index 8424982db65c..00d6a1a6011d 100644 --- a/packages/material_ui/example/lib/snack_bar/snack_bar.0.dart +++ b/packages/material_ui/example/lib/snack_bar/snack_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SnackBar]. @@ -45,3 +46,4 @@ class SnackBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/snack_bar/snack_bar.1.dart b/packages/material_ui/example/lib/snack_bar/snack_bar.1.dart index a99981192bec..920f5435f815 100644 --- a/packages/material_ui/example/lib/snack_bar/snack_bar.1.dart +++ b/packages/material_ui/example/lib/snack_bar/snack_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SnackBar]. @@ -52,3 +53,4 @@ class SnackBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/snack_bar/snack_bar.2.dart b/packages/material_ui/example/lib/snack_bar/snack_bar.2.dart index 674ea478cce4..f1d67ce88936 100644 --- a/packages/material_ui/example/lib/snack_bar/snack_bar.2.dart +++ b/packages/material_ui/example/lib/snack_bar/snack_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SnackBar]. @@ -160,3 +161,4 @@ class _SnackBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/stepper/step_style.0.dart b/packages/material_ui/example/lib/stepper/step_style.0.dart index 2aa57b9a8455..3d409e20bf4e 100644 --- a/packages/material_ui/example/lib/stepper/step_style.0.dart +++ b/packages/material_ui/example/lib/stepper/step_style.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [StepStyle]. @@ -85,3 +86,4 @@ class _StepStyleExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/stepper/stepper.0.dart b/packages/material_ui/example/lib/stepper/stepper.0.dart index d0fd1fe09eaf..5eb700c8844e 100644 --- a/packages/material_ui/example/lib/stepper/stepper.0.dart +++ b/packages/material_ui/example/lib/stepper/stepper.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Stepper]. @@ -71,3 +72,4 @@ class _StepperExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/stepper/stepper.controls_builder.0.dart b/packages/material_ui/example/lib/stepper/stepper.controls_builder.0.dart index 4a3750a21ef7..8645dab45b28 100644 --- a/packages/material_ui/example/lib/stepper/stepper.controls_builder.0.dart +++ b/packages/material_ui/example/lib/stepper/stepper.controls_builder.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Stepper.controlsBuilder]. @@ -49,3 +50,4 @@ class ControlsBuilderExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch/switch.0.dart b/packages/material_ui/example/lib/switch/switch.0.dart index 98a87c3c7cf0..fbe395416226 100644 --- a/packages/material_ui/example/lib/switch/switch.0.dart +++ b/packages/material_ui/example/lib/switch/switch.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Switch]. @@ -47,3 +48,4 @@ class _SwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch/switch.1.dart b/packages/material_ui/example/lib/switch/switch.1.dart index 179a1b955ad4..67a07f4e1af7 100644 --- a/packages/material_ui/example/lib/switch/switch.1.dart +++ b/packages/material_ui/example/lib/switch/switch.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Switch]. @@ -63,3 +64,4 @@ class _SwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch/switch.2.dart b/packages/material_ui/example/lib/switch/switch.2.dart index 4ce1ad72e2fb..b51378f7e2e1 100644 --- a/packages/material_ui/example/lib/switch/switch.2.dart +++ b/packages/material_ui/example/lib/switch/switch.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Switch]. @@ -65,3 +66,4 @@ class _SwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch/switch.3.dart b/packages/material_ui/example/lib/switch/switch.3.dart index d858f77bb4ce..17174f5b29c7 100644 --- a/packages/material_ui/example/lib/switch/switch.3.dart +++ b/packages/material_ui/example/lib/switch/switch.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:cupertino_ui/cupertino_ui.dart'; import 'package:material_ui/material_ui.dart'; @@ -65,3 +66,4 @@ class _SwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch/switch.4.dart b/packages/material_ui/example/lib/switch/switch.4.dart index ed0408ec8d5d..60b457cec4c5 100644 --- a/packages/material_ui/example/lib/switch/switch.4.dart +++ b/packages/material_ui/example/lib/switch/switch.4.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Switch.adaptive]. @@ -135,3 +136,4 @@ class _SwitchThemeAdaptation extends Adaptation { } } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.0.dart b/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.0.dart index b330f9323850..06a6f52b48fb 100644 --- a/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.0.dart +++ b/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/gestures.dart'; import 'package:material_ui/material_ui.dart'; @@ -95,3 +96,4 @@ class _LabeledSwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.1.dart b/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.1.dart index 0eb549c751c0..4715499c3d36 100644 --- a/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.1.dart +++ b/packages/material_ui/example/lib/switch_list_tile/custom_labeled_switch.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for custom labeled switch. @@ -84,3 +85,4 @@ class _LabeledSwitchExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.0.dart b/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.0.dart index 9479efe0445f..f01d5f18cbeb 100644 --- a/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.0.dart +++ b/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SwitchListTile]. @@ -46,3 +47,4 @@ class _SwitchListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.1.dart b/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.1.dart index 1a4eb20e0c41..25d0d772e8e1 100644 --- a/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.1.dart +++ b/packages/material_ui/example/lib/switch_list_tile/switch_list_tile.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [SwitchListTile]. @@ -82,3 +83,4 @@ class _SwitchListTileExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tab_controller/tab_controller.1.dart b/packages/material_ui/example/lib/tab_controller/tab_controller.1.dart index 90fbc31f01a3..7b6a961e3fb1 100644 --- a/packages/material_ui/example/lib/tab_controller/tab_controller.1.dart +++ b/packages/material_ui/example/lib/tab_controller/tab_controller.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabController]. @@ -121,3 +122,4 @@ class _DefaultTabControllerListenerState return widget.child; } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.0.dart b/packages/material_ui/example/lib/tabs/tab_bar.0.dart index 69e07abdd826..580fe214019f 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.0.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabBar]. @@ -47,3 +48,4 @@ class TabBarExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.1.dart b/packages/material_ui/example/lib/tabs/tab_bar.1.dart index 42e16e40cce7..fd14f580612b 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.1.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabBar]. @@ -67,3 +68,4 @@ class _TabBarExampleState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.2.dart b/packages/material_ui/example/lib/tabs/tab_bar.2.dart index 717388e83e60..57459f970cb9 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.2.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabBar]. @@ -106,3 +107,4 @@ class _NestedTabBarState extends State ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.3.dart b/packages/material_ui/example/lib/tabs/tab_bar.3.dart index 7d71e8365002..3df986da4297 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.3.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for a [TabBar] that displays custom effects on top of @@ -190,3 +191,4 @@ class RightMask extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.indicator_animation.0.dart b/packages/material_ui/example/lib/tabs/tab_bar.indicator_animation.0.dart index 9f0bcba66c6c..93f20c70dab2 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.indicator_animation.0.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.indicator_animation.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabBar.indicatorAnimation]. @@ -99,3 +100,4 @@ class _IndicatorAnimationExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.onFocusChange.dart b/packages/material_ui/example/lib/tabs/tab_bar.onFocusChange.dart index ec2c369a77da..189ede1d7a8d 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.onFocusChange.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.onFocusChange.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabBar.onFocusChange]. @@ -77,3 +78,4 @@ class _TabBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tabs/tab_bar.onHover.dart b/packages/material_ui/example/lib/tabs/tab_bar.onHover.dart index d31386972cac..89b3abdfcc8c 100644 --- a/packages/material_ui/example/lib/tabs/tab_bar.onHover.dart +++ b/packages/material_ui/example/lib/tabs/tab_bar.onHover.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TabBar.onFocusChange]. @@ -66,3 +67,4 @@ class _TabBarExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_button/text_button.0.dart b/packages/material_ui/example/lib/text_button/text_button.0.dart index 3a58feb883c9..7eb838d06940 100644 --- a/packages/material_ui/example/lib/text_button/text_button.0.dart +++ b/packages/material_ui/example/lib/text_button/text_button.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TextButton]. @@ -493,3 +494,4 @@ class TextButtonExampleSwitches extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_button/text_button.1.dart b/packages/material_ui/example/lib/text_button/text_button.1.dart index 1e3ad28bfea9..b085f87e137f 100644 --- a/packages/material_ui/example/lib/text_button/text_button.1.dart +++ b/packages/material_ui/example/lib/text_button/text_button.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TextButton]. @@ -97,3 +98,4 @@ class _HomeState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_field/text_field.0.dart b/packages/material_ui/example/lib/text_field/text_field.0.dart index 3de715f3d088..dd6714cd53f1 100644 --- a/packages/material_ui/example/lib/text_field/text_field.0.dart +++ b/packages/material_ui/example/lib/text_field/text_field.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TextField]. @@ -38,3 +39,4 @@ class TextFieldExampleApp extends StatelessWidget { } void main() => runApp(const TextFieldExampleApp()); +// #endregion body diff --git a/packages/material_ui/example/lib/text_field/text_field.1.dart b/packages/material_ui/example/lib/text_field/text_field.1.dart index cadabff9eef5..9145784bebde 100644 --- a/packages/material_ui/example/lib/text_field/text_field.1.dart +++ b/packages/material_ui/example/lib/text_field/text_field.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TextField]. @@ -71,3 +72,4 @@ class _TextFieldExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_field/text_field.2.dart b/packages/material_ui/example/lib/text_field/text_field.2.dart index 1ffe83b6fd39..9a886fc2ce4d 100644 --- a/packages/material_ui/example/lib/text_field/text_field.2.dart +++ b/packages/material_ui/example/lib/text_field/text_field.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for Material Design 3 [TextField]s. @@ -75,3 +76,4 @@ class OutlinedTextFieldExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_field/text_field.3.dart b/packages/material_ui/example/lib/text_field/text_field.3.dart index 3351f488967d..808f587ffada 100644 --- a/packages/material_ui/example/lib/text_field/text_field.3.dart +++ b/packages/material_ui/example/lib/text_field/text_field.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -124,3 +125,4 @@ class _TextFieldShiftEnterExampleState /// A custom [Intent] to represent the action of inserting a newline. class _InsertNewLineTextIntent extends Intent {} +// #endregion body diff --git a/packages/material_ui/example/lib/text_field/text_field_magnifier.0.dart b/packages/material_ui/example/lib/text_field/text_field_magnifier.0.dart index 8a37af835f9f..d79d27f161fa 100644 --- a/packages/material_ui/example/lib/text_field/text_field_magnifier.0.dart +++ b/packages/material_ui/example/lib/text_field/text_field_magnifier.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/foundation.dart'; import 'package:material_ui/material_ui.dart'; @@ -105,3 +106,4 @@ class CustomMagnifier extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_field/text_field_tap_region.0.dart b/packages/material_ui/example/lib/text_field/text_field_tap_region.0.dart index 8c6b396dfb59..a0c26aaa946a 100644 --- a/packages/material_ui/example/lib/text_field/text_field_tap_region.0.dart +++ b/packages/material_ui/example/lib/text_field/text_field_tap_region.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -256,3 +257,4 @@ class _SpinnerFieldState extends State> { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_form_field/text_form_field.1.dart b/packages/material_ui/example/lib/text_form_field/text_form_field.1.dart index 6b8a0ac051f2..314376560f37 100644 --- a/packages/material_ui/example/lib/text_form_field/text_form_field.1.dart +++ b/packages/material_ui/example/lib/text_form_field/text_form_field.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/services.dart'; import 'package:material_ui/material_ui.dart'; @@ -65,3 +66,4 @@ class _TextFormFieldExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/text_form_field/text_form_field.2.dart b/packages/material_ui/example/lib/text_form_field/text_form_field.2.dart index 4f5c2ef24a48..0606ac3e2030 100644 --- a/packages/material_ui/example/lib/text_form_field/text_form_field.2.dart +++ b/packages/material_ui/example/lib/text_form_field/text_form_field.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [TextFormField]. @@ -131,3 +132,4 @@ Future validateUsernameFromServer(String username) async { return 'Username $username is already taken'; } +// #endregion body diff --git a/packages/material_ui/example/lib/theme/theme_extension.1.dart b/packages/material_ui/example/lib/theme/theme_extension.1.dart index 9d7fb75a250c..ebca4b53c87b 100644 --- a/packages/material_ui/example/lib/theme/theme_extension.1.dart +++ b/packages/material_ui/example/lib/theme/theme_extension.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:flutter/scheduler.dart'; import 'package:material_ui/material_ui.dart'; @@ -113,3 +114,4 @@ class Home extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/theme_data/theme_data.0.dart b/packages/material_ui/example/lib/theme_data/theme_data.0.dart index 132ae417dcf1..bf0204610999 100644 --- a/packages/material_ui/example/lib/theme_data/theme_data.0.dart +++ b/packages/material_ui/example/lib/theme_data/theme_data.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; void main() { @@ -108,3 +109,4 @@ class _HomeState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/time_picker/show_time_picker.0.dart b/packages/material_ui/example/lib/time_picker/show_time_picker.0.dart index 4717555610df..8ce2dd6dcfc4 100644 --- a/packages/material_ui/example/lib/time_picker/show_time_picker.0.dart +++ b/packages/material_ui/example/lib/time_picker/show_time_picker.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [showTimePicker]. @@ -343,3 +344,4 @@ class RadioSelection extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.0.dart b/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.0.dart index 7584843da78f..a4de0c1415d2 100644 --- a/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.0.dart +++ b/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [ToggleButtons]. @@ -152,3 +153,4 @@ class _ToggleButtonsSampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.1.dart b/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.1.dart index dc06c210f544..e3432f6e09ca 100644 --- a/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.1.dart +++ b/packages/material_ui/example/lib/toggle_buttons/toggle_buttons.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for migrating from [ToggleButtons] to [SegmentedButton]. @@ -102,3 +103,4 @@ class _ToggleButtonsExampleState extends State { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tooltip/tooltip.0.dart b/packages/material_ui/example/lib/tooltip/tooltip.0.dart index a0fa91ae4fb5..2a22513dfbf0 100644 --- a/packages/material_ui/example/lib/tooltip/tooltip.0.dart +++ b/packages/material_ui/example/lib/tooltip/tooltip.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Tooltip]. @@ -36,3 +37,4 @@ class TooltipSample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tooltip/tooltip.1.dart b/packages/material_ui/example/lib/tooltip/tooltip.1.dart index 39411b44100f..7cfed6c00bf6 100644 --- a/packages/material_ui/example/lib/tooltip/tooltip.1.dart +++ b/packages/material_ui/example/lib/tooltip/tooltip.1.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Tooltip]. @@ -48,3 +49,4 @@ class TooltipSample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tooltip/tooltip.2.dart b/packages/material_ui/example/lib/tooltip/tooltip.2.dart index 4542bd99dfa7..697ceeac85be 100644 --- a/packages/material_ui/example/lib/tooltip/tooltip.2.dart +++ b/packages/material_ui/example/lib/tooltip/tooltip.2.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Tooltip]. @@ -45,3 +46,4 @@ class TooltipSample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/tooltip/tooltip.3.dart b/packages/material_ui/example/lib/tooltip/tooltip.3.dart index 59447211f5bd..e9ebbe1a58ba 100644 --- a/packages/material_ui/example/lib/tooltip/tooltip.3.dart +++ b/packages/material_ui/example/lib/tooltip/tooltip.3.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [Tooltip]. @@ -54,3 +55,4 @@ class TooltipSample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/example/lib/widget_state_input_border/widget_state_input_border.0.dart b/packages/material_ui/example/lib/widget_state_input_border/widget_state_input_border.0.dart index 51ae7dd2d69b..17cc48e59285 100644 --- a/packages/material_ui/example/lib/widget_state_input_border/widget_state_input_border.0.dart +++ b/packages/material_ui/example/lib/widget_state_input_border/widget_state_input_border.0.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// #region body import 'package:material_ui/material_ui.dart'; /// Flutter code sample for [WidgetStateInputBorder]. @@ -110,3 +111,4 @@ class WidgetStateInputBorderExample extends StatelessWidget { ); } } +// #endregion body diff --git a/packages/material_ui/lib/src/about.dart b/packages/material_ui/lib/src/about.dart index 00e5f9ce7aee..41bb4c6b6f12 100644 --- a/packages/material_ui/lib/src/about.dart +++ b/packages/material_ui/lib/src/about.dart @@ -60,7 +60,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/about/about_list_tile.0.dart} +/// {@example /example/lib/about/about_list_tile.0.dart#body} /// /// class AboutListTile extends StatelessWidget { diff --git a/packages/material_ui/lib/src/action_chip.dart b/packages/material_ui/lib/src/action_chip.dart index ccee67d47e4f..6e55847915a3 100644 --- a/packages/material_ui/lib/src/action_chip.dart +++ b/packages/material_ui/lib/src/action_chip.dart @@ -54,7 +54,7 @@ enum _ChipVariant { flat, elevated } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/action_chip/action_chip.0.dart} +/// {@example /example/lib/action_chip/action_chip.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/action_icons_theme.dart b/packages/material_ui/lib/src/action_icons_theme.dart index 0289c7f414a6..267d4f56a674 100644 --- a/packages/material_ui/lib/src/action_icons_theme.dart +++ b/packages/material_ui/lib/src/action_icons_theme.dart @@ -155,7 +155,7 @@ class ActionIconThemeData with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/action_buttons/action_icon_theme.0.dart} +/// {@example /example/lib/action_buttons/action_icon_theme.0.dart#body} /// /// class ActionIconTheme extends InheritedTheme { diff --git a/packages/material_ui/lib/src/adaptive_text_selection_toolbar.dart b/packages/material_ui/lib/src/adaptive_text_selection_toolbar.dart index 3563a0e85618..63de5576b2a0 100644 --- a/packages/material_ui/lib/src/adaptive_text_selection_toolbar.dart +++ b/packages/material_ui/lib/src/adaptive_text_selection_toolbar.dart @@ -248,7 +248,7 @@ class AdaptiveTextSelectionToolbar extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/context_menu/editable_text_toolbar_builder.2.dart} + /// {@example /example/lib/context_menu/editable_text_toolbar_builder.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/animated_icons/animated_icons.dart b/packages/material_ui/lib/src/animated_icons/animated_icons.dart index 4ae2859f6178..7b917bf8d20f 100644 --- a/packages/material_ui/lib/src/animated_icons/animated_icons.dart +++ b/packages/material_ui/lib/src/animated_icons/animated_icons.dart @@ -25,7 +25,7 @@ part of material_animated_icons; // ignore: use_string_in_part_of_directives // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/animated_icon/animated_icon.0.dart} +/// {@example /example/lib/animated_icon/animated_icon.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/animated_icons/animated_icons_data.dart b/packages/material_ui/lib/src/animated_icons/animated_icons_data.dart index 392c725e2fae..d43f66c07070 100644 --- a/packages/material_ui/lib/src/animated_icons/animated_icons_data.dart +++ b/packages/material_ui/lib/src/animated_icons/animated_icons_data.dart @@ -23,7 +23,7 @@ part of material_animated_icons; // ignore: use_string_in_part_of_directives // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/animated_icon/animated_icons_data.0.dart} +/// {@example /example/lib/animated_icon/animated_icons_data.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/app.dart b/packages/material_ui/lib/src/app.dart index 8e5c830a7bdd..e3d03bc8932c 100644 --- a/packages/material_ui/lib/src/app.dart +++ b/packages/material_ui/lib/src/app.dart @@ -831,7 +831,7 @@ class MaterialApp extends StatefulWidget { /// /// {@endtemplate} /// - /// {@example /example/lib/app/app.0.dart} + /// {@example /example/lib/app/app.0.dart#body} /// /// final AnimationStyle? themeAnimationStyle; diff --git a/packages/material_ui/lib/src/app_bar.dart b/packages/material_ui/lib/src/app_bar.dart index 236fac16113d..5fec0916295a 100644 --- a/packages/material_ui/lib/src/app_bar.dart +++ b/packages/material_ui/lib/src/app_bar.dart @@ -132,7 +132,7 @@ class _PreferredAppBarSize extends Size { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/app_bar/app_bar.0.dart} +/// {@example /example/lib/app_bar/app_bar.0.dart#body} /// /// /// @@ -148,7 +148,7 @@ class _PreferredAppBarSize extends Size { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/app_bar/app_bar.1.dart} +/// {@example /example/lib/app_bar/app_bar.1.dart#body} /// /// /// @@ -179,7 +179,7 @@ class _PreferredAppBarSize extends Size { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/app_bar/app_bar.2.dart} +/// {@example /example/lib/app_bar/app_bar.2.dart#body} /// /// /// @@ -193,7 +193,7 @@ class _PreferredAppBarSize extends Size { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/app_bar/app_bar.3.dart} +/// {@example /example/lib/app_bar/app_bar.3.dart#body} /// /// /// @@ -550,7 +550,7 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/app_bar/app_bar.4.dart} + /// {@example /example/lib/app_bar/app_bar.4.dart#body} /// /// /// @@ -1566,7 +1566,7 @@ class _SliverAppBarDelegate extends SliverPersistentHeaderDelegate { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/app_bar/sliver_app_bar.4.dart} +/// {@example /example/lib/app_bar/sliver_app_bar.4.dart#body} /// /// /// @@ -1579,7 +1579,7 @@ class _SliverAppBarDelegate extends SliverPersistentHeaderDelegate { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/app_bar/sliver_app_bar.1.dart} +/// {@example /example/lib/app_bar/sliver_app_bar.1.dart#body} /// /// /// @@ -1689,7 +1689,7 @@ class SliverAppBar extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/app_bar/sliver_app_bar.2.dart} + /// {@example /example/lib/app_bar/sliver_app_bar.2.dart#body} /// /// /// @@ -1766,7 +1766,7 @@ class SliverAppBar extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/app_bar/sliver_app_bar.3.dart} + /// {@example /example/lib/app_bar/sliver_app_bar.3.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/autocomplete.dart b/packages/material_ui/lib/src/autocomplete.dart index 9f7a762ebd18..bcb86c4a6717 100644 --- a/packages/material_ui/lib/src/autocomplete.dart +++ b/packages/material_ui/lib/src/autocomplete.dart @@ -23,7 +23,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/autocomplete/autocomplete.0.dart} +/// {@example /example/lib/autocomplete/autocomplete.0.dart#body} /// /// /// @@ -36,7 +36,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/autocomplete/autocomplete.1.dart} +/// {@example /example/lib/autocomplete/autocomplete.1.dart#body} /// /// /// @@ -49,7 +49,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/autocomplete/autocomplete.2.dart} +/// {@example /example/lib/autocomplete/autocomplete.2.dart#body} /// /// /// @@ -63,7 +63,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/autocomplete/autocomplete.3.dart} +/// {@example /example/lib/autocomplete/autocomplete.3.dart#body} /// /// /// @@ -78,7 +78,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/autocomplete/autocomplete.4.dart} +/// {@example /example/lib/autocomplete/autocomplete.4.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/badge.dart b/packages/material_ui/lib/src/badge.dart index f9e213263612..ab36ef89a3cc 100644 --- a/packages/material_ui/lib/src/badge.dart +++ b/packages/material_ui/lib/src/badge.dart @@ -40,7 +40,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/badge/badge.0.dart} +/// {@example /example/lib/badge/badge.0.dart#body} /// /// class Badge extends StatelessWidget { diff --git a/packages/material_ui/lib/src/banner.dart b/packages/material_ui/lib/src/banner.dart index 6fe349285cf1..a77f44e8435b 100644 --- a/packages/material_ui/lib/src/banner.dart +++ b/packages/material_ui/lib/src/banner.dart @@ -79,7 +79,7 @@ enum MaterialBannerClosedReason { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/banner/material_banner.0.dart} +/// {@example /example/lib/banner/material_banner.0.dart#body} /// /// /// @@ -92,7 +92,7 @@ enum MaterialBannerClosedReason { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/banner/material_banner.1.dart} +/// {@example /example/lib/banner/material_banner.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/bottom_app_bar.dart b/packages/material_ui/lib/src/bottom_app_bar.dart index 5fe9912bc1bd..37123f01a1ed 100644 --- a/packages/material_ui/lib/src/bottom_app_bar.dart +++ b/packages/material_ui/lib/src/bottom_app_bar.dart @@ -54,7 +54,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_app_bar/bottom_app_bar.1.dart} +/// {@example /example/lib/bottom_app_bar/bottom_app_bar.1.dart#body} /// /// /// @@ -69,7 +69,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_app_bar/bottom_app_bar.2.dart} +/// {@example /example/lib/bottom_app_bar/bottom_app_bar.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/bottom_navigation_bar.dart b/packages/material_ui/lib/src/bottom_navigation_bar.dart index 3aff99c6bbbb..9f61a9ee4da1 100644 --- a/packages/material_ui/lib/src/bottom_navigation_bar.dart +++ b/packages/material_ui/lib/src/bottom_navigation_bar.dart @@ -147,7 +147,7 @@ enum BottomNavigationBarLandscapeLayout { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_navigation_bar/bottom_navigation_bar.0.dart} +/// {@example /example/lib/bottom_navigation_bar/bottom_navigation_bar.0.dart#body} /// /// /// @@ -160,7 +160,7 @@ enum BottomNavigationBarLandscapeLayout { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_bar/navigation_bar.0.dart} +/// {@example /example/lib/navigation_bar/navigation_bar.0.dart#body} /// /// /// @@ -180,7 +180,7 @@ enum BottomNavigationBarLandscapeLayout { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_navigation_bar/bottom_navigation_bar.1.dart} +/// {@example /example/lib/bottom_navigation_bar/bottom_navigation_bar.1.dart#body} /// /// /// @@ -195,7 +195,7 @@ enum BottomNavigationBarLandscapeLayout { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_navigation_bar/bottom_navigation_bar.2.dart} +/// {@example /example/lib/bottom_navigation_bar/bottom_navigation_bar.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/bottom_sheet.dart b/packages/material_ui/lib/src/bottom_sheet.dart index 2865eb0560ba..2e17b2285b41 100644 --- a/packages/material_ui/lib/src/bottom_sheet.dart +++ b/packages/material_ui/lib/src/bottom_sheet.dart @@ -1239,7 +1239,7 @@ class ModalBottomSheetRoute extends PopupRoute { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_sheet/show_modal_bottom_sheet.0.dart} +/// {@example /example/lib/bottom_sheet/show_modal_bottom_sheet.0.dart#body} /// /// /// @@ -1252,7 +1252,7 @@ class ModalBottomSheetRoute extends PopupRoute { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_sheet/show_modal_bottom_sheet.1.dart} +/// {@example /example/lib/bottom_sheet/show_modal_bottom_sheet.1.dart#body} /// /// /// @@ -1282,7 +1282,7 @@ class ModalBottomSheetRoute extends PopupRoute { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_sheet/show_modal_bottom_sheet.2.dart} +/// {@example /example/lib/bottom_sheet/show_modal_bottom_sheet.2.dart#body} /// /// /// @@ -1392,7 +1392,7 @@ Future showModalBottomSheet({ // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/bottom_sheet/show_bottom_sheet.0.dart} +/// {@example /example/lib/bottom_sheet/show_bottom_sheet.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/button_style.dart b/packages/material_ui/lib/src/button_style.dart index 71a295af3df4..3a7004f9aa00 100644 --- a/packages/material_ui/lib/src/button_style.dart +++ b/packages/material_ui/lib/src/button_style.dart @@ -154,7 +154,7 @@ typedef ButtonLayerBuilder = // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/button_style/button_style.0.dart} +/// {@example /example/lib/button_style/button_style.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/button_style_button.dart b/packages/material_ui/lib/src/button_style_button.dart index 41f833ea8af7..9daa9f4f1803 100644 --- a/packages/material_ui/lib/src/button_style_button.dart +++ b/packages/material_ui/lib/src/button_style_button.dart @@ -53,7 +53,7 @@ import 'tooltip.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/icon_alignment/icon_alignment.0.dart} +/// {@example /example/lib/icon_alignment/icon_alignment.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/card.dart b/packages/material_ui/lib/src/card.dart index 80f93f98a741..03e973abe73b 100644 --- a/packages/material_ui/lib/src/card.dart +++ b/packages/material_ui/lib/src/card.dart @@ -38,7 +38,7 @@ enum _CardVariant { elevated, filled, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/card/card.0.dart} +/// {@example /example/lib/card/card.0.dart#body} /// /// /// @@ -55,7 +55,7 @@ enum _CardVariant { elevated, filled, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/card/card.1.dart} +/// {@example /example/lib/card/card.1.dart#body} /// /// /// @@ -78,7 +78,7 @@ enum _CardVariant { elevated, filled, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/card/card.2.dart} +/// {@example /example/lib/card/card.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/carousel.dart b/packages/material_ui/lib/src/carousel.dart index 7b7a253c7c40..0bd3757931fd 100644 --- a/packages/material_ui/lib/src/carousel.dart +++ b/packages/material_ui/lib/src/carousel.dart @@ -130,7 +130,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/carousel/carousel.0.dart} +/// {@example /example/lib/carousel/carousel.0.dart#body} /// /// /// @@ -247,7 +247,7 @@ class CarouselView extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/carousel/carousel.1.dart} + /// {@example /example/lib/carousel/carousel.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/checkbox.dart b/packages/material_ui/lib/src/checkbox.dart index d9b8e03e992f..10d813b9f42b 100644 --- a/packages/material_ui/lib/src/checkbox.dart +++ b/packages/material_ui/lib/src/checkbox.dart @@ -52,7 +52,7 @@ enum _CheckboxType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox/checkbox.0.dart} +/// {@example /example/lib/checkbox/checkbox.0.dart#body} /// /// /// @@ -64,7 +64,7 @@ enum _CheckboxType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox/checkbox.1.dart} +/// {@example /example/lib/checkbox/checkbox.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/checkbox_list_tile.dart b/packages/material_ui/lib/src/checkbox_list_tile.dart index 15b815fad646..e272406c5119 100644 --- a/packages/material_ui/lib/src/checkbox_list_tile.dart +++ b/packages/material_ui/lib/src/checkbox_list_tile.dart @@ -105,7 +105,7 @@ enum _CheckboxType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox_list_tile/checkbox_list_tile.0.dart} +/// {@example /example/lib/checkbox_list_tile/checkbox_list_tile.0.dart#body} /// /// /// @@ -118,7 +118,7 @@ enum _CheckboxType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox_list_tile/checkbox_list_tile.1.dart} +/// {@example /example/lib/checkbox_list_tile/checkbox_list_tile.1.dart#body} /// /// /// @@ -151,7 +151,7 @@ enum _CheckboxType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox_list_tile/custom_labeled_checkbox.0.dart} +/// {@example /example/lib/checkbox_list_tile/custom_labeled_checkbox.0.dart#body} /// /// /// @@ -173,7 +173,7 @@ enum _CheckboxType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/checkbox_list_tile/custom_labeled_checkbox.1.dart} +/// {@example /example/lib/checkbox_list_tile/custom_labeled_checkbox.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/chip.dart b/packages/material_ui/lib/src/chip.dart index c32dead96c36..0b96fbffbce7 100644 --- a/packages/material_ui/lib/src/chip.dart +++ b/packages/material_ui/lib/src/chip.dart @@ -252,7 +252,7 @@ abstract interface class ChipAttributes { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/chip/chip_attributes.avatar_box_constraints.0.dart} + /// {@example /example/lib/chip/chip_attributes.avatar_box_constraints.0.dart#body} /// /// BoxConstraints? get avatarBoxConstraints; @@ -284,7 +284,7 @@ abstract interface class ChipAttributes { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/chip/chip_attributes.chip_animation_style.0.dart} + /// {@example /example/lib/chip/chip_attributes.chip_animation_style.0.dart#body} /// /// ChipAnimationStyle? get chipAnimationStyle; @@ -349,7 +349,7 @@ abstract interface class DeletableChipAttributes { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/chip/deletable_chip_attributes.on_deleted.0.dart} + /// {@example /example/lib/chip/deletable_chip_attributes.on_deleted.0.dart#body} /// /// VoidCallback? get onDeleted; @@ -394,7 +394,7 @@ abstract interface class DeletableChipAttributes { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/chip/deletable_chip_attributes.delete_icon_box_constraints.0.dart} + /// {@example /example/lib/chip/deletable_chip_attributes.delete_icon_box_constraints.0.dart#body} /// /// BoxConstraints? get deleteIconBoxConstraints; diff --git a/packages/material_ui/lib/src/choice_chip.dart b/packages/material_ui/lib/src/choice_chip.dart index e820dc69d9ca..0e8993601a6d 100644 --- a/packages/material_ui/lib/src/choice_chip.dart +++ b/packages/material_ui/lib/src/choice_chip.dart @@ -39,7 +39,7 @@ enum _ChipVariant { flat, elevated } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/choice_chip/choice_chip.0.dart} +/// {@example /example/lib/choice_chip/choice_chip.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/color_scheme.dart b/packages/material_ui/lib/src/color_scheme.dart index c8097bf3ce1d..3210fdfa5124 100644 --- a/packages/material_ui/lib/src/color_scheme.dart +++ b/packages/material_ui/lib/src/color_scheme.dart @@ -123,7 +123,7 @@ enum DynamicSchemeVariant { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/color_scheme/color_scheme.0.dart} +/// {@example /example/lib/color_scheme/color_scheme.0.dart#body} /// /// /// @@ -267,7 +267,7 @@ class ColorScheme with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/color_scheme/color_scheme.0.dart} + /// {@example /example/lib/color_scheme/color_scheme.0.dart#body} /// /// /// @@ -1738,7 +1738,7 @@ class ColorScheme with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/color_scheme/dynamic_content_color.0.dart} + /// {@example /example/lib/color_scheme/dynamic_content_color.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/data_table.dart b/packages/material_ui/lib/src/data_table.dart index 7109aea3180b..093ddc707774 100644 --- a/packages/material_ui/lib/src/data_table.dart +++ b/packages/material_ui/lib/src/data_table.dart @@ -421,7 +421,7 @@ class DataCell { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/data_table/data_table.0.dart} +/// {@example /example/lib/data_table/data_table.0.dart#body} /// /// /// @@ -435,7 +435,7 @@ class DataCell { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/data_table/data_table.1.dart} +/// {@example /example/lib/data_table/data_table.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/date.dart b/packages/material_ui/lib/src/date.dart index d18e882132c8..43583317de06 100644 --- a/packages/material_ui/lib/src/date.dart +++ b/packages/material_ui/lib/src/date.dart @@ -27,7 +27,7 @@ import 'material_localizations.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/date_picker/custom_calendar_date_picker.0.dart} +/// {@example /example/lib/date_picker/custom_calendar_date_picker.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/date_picker.dart b/packages/material_ui/lib/src/date_picker.dart index 146abf4d4cc9..30d3114366cb 100644 --- a/packages/material_ui/lib/src/date_picker.dart +++ b/packages/material_ui/lib/src/date_picker.dart @@ -166,7 +166,7 @@ const double _fontSizeToScale = 14.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/date_picker/show_date_picker.1.dart} +/// {@example /example/lib/date_picker/show_date_picker.1.dart#body} /// /// /// @@ -192,7 +192,7 @@ const double _fontSizeToScale = 14.0; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/date_picker/show_date_picker.0.dart} +/// {@example /example/lib/date_picker/show_date_picker.0.dart#body} /// /// /// @@ -1169,7 +1169,7 @@ typedef SelectableDayForRangePredicate = // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/date_picker/show_date_range_picker.0.dart} +/// {@example /example/lib/date_picker/show_date_range_picker.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/date_picker_theme.dart b/packages/material_ui/lib/src/date_picker_theme.dart index 0314a1cef4ab..b12203b7bc72 100644 --- a/packages/material_ui/lib/src/date_picker_theme.dart +++ b/packages/material_ui/lib/src/date_picker_theme.dart @@ -253,7 +253,7 @@ class DatePickerThemeData with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/date_picker/date_picker_theme_day_shape.0.dart} + /// {@example /example/lib/date_picker/date_picker_theme_day_shape.0.dart#body} /// /// final WidgetStateProperty? dayShape; @@ -275,7 +275,7 @@ class DatePickerThemeData with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/date_picker/date_picker_theme_day_shape.0.dart} + /// {@example /example/lib/date_picker/date_picker_theme_day_shape.0.dart#body} /// /// final WidgetStateProperty? todayForegroundColor; @@ -303,7 +303,7 @@ class DatePickerThemeData with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/date_picker/date_picker_theme_day_shape.0.dart} + /// {@example /example/lib/date_picker/date_picker_theme_day_shape.0.dart#body} /// /// final BorderSide? todayBorder; diff --git a/packages/material_ui/lib/src/dialog.dart b/packages/material_ui/lib/src/dialog.dart index edf949ab0e17..0fadaa1d051a 100644 --- a/packages/material_ui/lib/src/dialog.dart +++ b/packages/material_ui/lib/src/dialog.dart @@ -46,7 +46,7 @@ const EdgeInsets _defaultInsetPadding = EdgeInsets.symmetric(horizontal: 40.0, v // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/dialog.0.dart} +/// {@example /example/lib/dialog/dialog.0.dart#body} /// /// /// @@ -398,7 +398,7 @@ class Dialog extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/alert_dialog.0.dart} +/// {@example /example/lib/dialog/alert_dialog.0.dart#body} /// /// /// @@ -411,7 +411,7 @@ class Dialog extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/alert_dialog.1.dart} +/// {@example /example/lib/dialog/alert_dialog.1.dart#body} /// /// /// @@ -512,7 +512,7 @@ class AlertDialog extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/dialog/adaptive_alert_dialog.0.dart} + /// {@example /example/lib/dialog/adaptive_alert_dialog.0.dart#body} /// /// const factory AlertDialog.adaptive({ @@ -1629,7 +1629,7 @@ class _DialogContentPage extends Page { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/show_dialog.0.dart} +/// {@example /example/lib/dialog/show_dialog.0.dart#body} /// /// /// @@ -1642,7 +1642,7 @@ class _DialogContentPage extends Page { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/show_dialog.1.dart} +/// {@example /example/lib/dialog/show_dialog.1.dart#body} /// /// /// @@ -1667,7 +1667,7 @@ class _DialogContentPage extends Page { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dialog/show_dialog.2.dart} +/// {@example /example/lib/dialog/show_dialog.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/divider.dart b/packages/material_ui/lib/src/divider.dart index 5b5fa614207c..c11d3b97e18f 100644 --- a/packages/material_ui/lib/src/divider.dart +++ b/packages/material_ui/lib/src/divider.dart @@ -42,7 +42,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/divider/divider.0.dart} +/// {@example /example/lib/divider/divider.0.dart#body} /// /// /// @@ -55,7 +55,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/divider/divider.1.dart} +/// {@example /example/lib/divider/divider.1.dart#body} /// /// /// @@ -251,7 +251,7 @@ class Divider extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/divider/vertical_divider.0.dart} +/// {@example /example/lib/divider/vertical_divider.0.dart#body} /// /// /// @@ -264,7 +264,7 @@ class Divider extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/divider/vertical_divider.1.dart} +/// {@example /example/lib/divider/vertical_divider.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/drawer.dart b/packages/material_ui/lib/src/drawer.dart index a545c55fb1dc..17bc054a8dec 100644 --- a/packages/material_ui/lib/src/drawer.dart +++ b/packages/material_ui/lib/src/drawer.dart @@ -108,7 +108,7 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/drawer/drawer.0.dart} +/// {@example /example/lib/drawer/drawer.0.dart#body} /// /// /// @@ -120,7 +120,7 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_drawer/navigation_drawer.0.dart} +/// {@example /example/lib/navigation_drawer/navigation_drawer.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/dropdown.dart b/packages/material_ui/lib/src/dropdown.dart index 352b29752613..94b77ebce5c1 100644 --- a/packages/material_ui/lib/src/dropdown.dart +++ b/packages/material_ui/lib/src/dropdown.dart @@ -951,7 +951,7 @@ class DropdownButtonHideUnderline extends InheritedWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dropdown/dropdown_button.0.dart} +/// {@example /example/lib/dropdown/dropdown_button.0.dart#body} /// /// /// @@ -971,7 +971,7 @@ class DropdownButtonHideUnderline extends InheritedWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dropdown_menu/dropdown_menu.1.dart} +/// {@example /example/lib/dropdown_menu/dropdown_menu.1.dart#body} /// /// /// @@ -1170,7 +1170,7 @@ class DropdownButton extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/dropdown/dropdown_button.selected_item_builder.0.dart} + /// {@example /example/lib/dropdown/dropdown_button.selected_item_builder.0.dart#body} /// /// /// @@ -1204,7 +1204,7 @@ class DropdownButton extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/dropdown/dropdown_button.style.0.dart} + /// {@example /example/lib/dropdown/dropdown_button.style.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/dropdown_menu.dart b/packages/material_ui/lib/src/dropdown_menu.dart index 1c62eba2ccc9..7a9bdcd150cb 100644 --- a/packages/material_ui/lib/src/dropdown_menu.dart +++ b/packages/material_ui/lib/src/dropdown_menu.dart @@ -111,7 +111,7 @@ class DropdownMenuEntry { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/dropdown_menu/dropdown_menu_entry_label_widget.0.dart} + /// {@example /example/lib/dropdown_menu/dropdown_menu_entry_label_widget.0.dart#body} /// /// final Widget? labelWidget; @@ -175,7 +175,7 @@ enum DropdownMenuCloseBehavior { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/dropdown_menu/dropdown_menu.0.dart} +/// {@example /example/lib/dropdown_menu/dropdown_menu.0.dart#body} /// /// /// @@ -263,7 +263,7 @@ class DropdownMenu extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/dropdown_menu/dropdown_menu.2.dart} + /// {@example /example/lib/dropdown_menu/dropdown_menu.2.dart#body} /// /// final bool enabled; @@ -541,7 +541,7 @@ class DropdownMenu extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/dropdown_menu/dropdown_menu.2.dart} + /// {@example /example/lib/dropdown_menu/dropdown_menu.2.dart#body} /// /// final bool? requestFocusOnTap; diff --git a/packages/material_ui/lib/src/elevated_button.dart b/packages/material_ui/lib/src/elevated_button.dart index dff74bff7455..36f015c87be5 100644 --- a/packages/material_ui/lib/src/elevated_button.dart +++ b/packages/material_ui/lib/src/elevated_button.dart @@ -60,7 +60,7 @@ import 'theme_data.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/elevated_button/elevated_button.0.dart} +/// {@example /example/lib/elevated_button/elevated_button.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/expansion_panel.dart b/packages/material_ui/lib/src/expansion_panel.dart index 4568979fde5d..fa289fffc882 100644 --- a/packages/material_ui/lib/src/expansion_panel.dart +++ b/packages/material_ui/lib/src/expansion_panel.dart @@ -179,7 +179,7 @@ class ExpansionPanelRadio extends ExpansionPanel { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/expansion_panel/expansion_panel_list.0.dart} +/// {@example /example/lib/expansion_panel/expansion_panel_list.0.dart#body} /// /// /// @@ -219,7 +219,7 @@ class ExpansionPanelList extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart} + /// {@example /example/lib/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart#body} /// /// const ExpansionPanelList.radio({ diff --git a/packages/material_ui/lib/src/expansion_tile.dart b/packages/material_ui/lib/src/expansion_tile.dart index 1f6b4c260a8b..fc164b3eab24 100644 --- a/packages/material_ui/lib/src/expansion_tile.dart +++ b/packages/material_ui/lib/src/expansion_tile.dart @@ -51,7 +51,7 @@ const Duration _kExpand = Duration(milliseconds: 200); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/expansion_tile/expansion_tile.1.dart} +/// {@example /example/lib/expansion_tile/expansion_tile.1.dart#body} /// /// /// @@ -101,7 +101,7 @@ typedef ExpansionTileController = ExpansibleController; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/expansion_tile/expansion_tile.0.dart} +/// {@example /example/lib/expansion_tile/expansion_tile.0.dart#body} /// /// /// @@ -114,7 +114,7 @@ typedef ExpansionTileController = ExpansibleController; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/expansion_tile/expansion_tile.1.dart} +/// {@example /example/lib/expansion_tile/expansion_tile.1.dart#body} /// /// /// @@ -497,7 +497,7 @@ class ExpansionTile extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/expansion_tile/expansion_tile.2.dart} + /// {@example /example/lib/expansion_tile/expansion_tile.2.dart#body} /// /// final AnimationStyle? expansionAnimationStyle; diff --git a/packages/material_ui/lib/src/filled_button.dart b/packages/material_ui/lib/src/filled_button.dart index b1a893994da9..0adc9464133d 100644 --- a/packages/material_ui/lib/src/filled_button.dart +++ b/packages/material_ui/lib/src/filled_button.dart @@ -63,7 +63,7 @@ enum _FilledButtonVariant { filled, tonal } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/filled_button/filled_button.0.dart} +/// {@example /example/lib/filled_button/filled_button.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/filter_chip.dart b/packages/material_ui/lib/src/filter_chip.dart index 81b1b862a403..f5e2514eeae6 100644 --- a/packages/material_ui/lib/src/filter_chip.dart +++ b/packages/material_ui/lib/src/filter_chip.dart @@ -44,7 +44,7 @@ enum _ChipVariant { flat, elevated } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/filter_chip/filter_chip.0.dart} +/// {@example /example/lib/filter_chip/filter_chip.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/flexible_space_bar.dart b/packages/material_ui/lib/src/flexible_space_bar.dart index c082bfa1ead1..26045768ecfa 100644 --- a/packages/material_ui/lib/src/flexible_space_bar.dart +++ b/packages/material_ui/lib/src/flexible_space_bar.dart @@ -73,7 +73,7 @@ enum StretchMode { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/flexible_space_bar/flexible_space_bar.0.dart} +/// {@example /example/lib/flexible_space_bar/flexible_space_bar.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/floating_action_button.dart b/packages/material_ui/lib/src/floating_action_button.dart index b3a9f1d9509f..272cc4119c49 100644 --- a/packages/material_ui/lib/src/floating_action_button.dart +++ b/packages/material_ui/lib/src/floating_action_button.dart @@ -60,7 +60,7 @@ enum _FloatingActionButtonType { regular, small, large, extended } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/floating_action_button/floating_action_button.0.dart} +/// {@example /example/lib/floating_action_button/floating_action_button.0.dart#body} /// /// /// @@ -73,7 +73,7 @@ enum _FloatingActionButtonType { regular, small, large, extended } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/floating_action_button/floating_action_button.1.dart} +/// {@example /example/lib/floating_action_button/floating_action_button.1.dart#body} /// /// /// @@ -86,7 +86,7 @@ enum _FloatingActionButtonType { regular, small, large, extended } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/floating_action_button/floating_action_button.2.dart} +/// {@example /example/lib/floating_action_button/floating_action_button.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/floating_action_button_location.dart b/packages/material_ui/lib/src/floating_action_button_location.dart index e50178119b32..d8a4c704b3f4 100644 --- a/packages/material_ui/lib/src/floating_action_button_location.dart +++ b/packages/material_ui/lib/src/floating_action_button_location.dart @@ -485,7 +485,7 @@ abstract class FloatingActionButtonLocation { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/floating_action_button_location/standard_fab_location.0.dart} +/// {@example /example/lib/floating_action_button_location/standard_fab_location.0.dart#body} /// /// /// @@ -957,7 +957,7 @@ abstract class FloatingActionButtonAnimator { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold.floating_action_button_animator.0.dart} + /// {@example /example/lib/scaffold/scaffold.floating_action_button_animator.0.dart#body} /// /// static const FloatingActionButtonAnimator noAnimation = _NoAnimationFabMotionAnimator(); diff --git a/packages/material_ui/lib/src/icon_button.dart b/packages/material_ui/lib/src/icon_button.dart index 1e738f847403..96f606cca9bc 100644 --- a/packages/material_ui/lib/src/icon_button.dart +++ b/packages/material_ui/lib/src/icon_button.dart @@ -72,7 +72,7 @@ enum _IconButtonVariant { standard, filled, filledTonal, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/icon_button/icon_button.0.dart} +/// {@example /example/lib/icon_button/icon_button.0.dart#body} /// /// /// @@ -132,7 +132,7 @@ enum _IconButtonVariant { standard, filled, filledTonal, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/icon_button/icon_button.1.dart} +/// {@example /example/lib/icon_button/icon_button.1.dart#body} /// /// /// @@ -169,7 +169,7 @@ enum _IconButtonVariant { standard, filled, filledTonal, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/icon_button/icon_button.2.dart} +/// {@example /example/lib/icon_button/icon_button.2.dart#body} /// /// /// @@ -183,7 +183,7 @@ enum _IconButtonVariant { standard, filled, filledTonal, outlined } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/icon_button/icon_button.3.dart} +/// {@example /example/lib/icon_button/icon_button.3.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/ink_decoration.dart b/packages/material_ui/lib/src/ink_decoration.dart index 508945491d0b..431e2e50b8c4 100644 --- a/packages/material_ui/lib/src/ink_decoration.dart +++ b/packages/material_ui/lib/src/ink_decoration.dart @@ -130,7 +130,7 @@ import 'material.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/ink/ink.image_clip.0.dart} +/// {@example /example/lib/ink/ink.image_clip.0.dart#body} /// /// /// @@ -144,7 +144,7 @@ import 'material.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/ink/ink.image_clip.1.dart} +/// {@example /example/lib/ink/ink.image_clip.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/ink_well.dart b/packages/material_ui/lib/src/ink_well.dart index 5e6ed79c7331..0e3c8f4b8437 100644 --- a/packages/material_ui/lib/src/ink_well.dart +++ b/packages/material_ui/lib/src/ink_well.dart @@ -1496,7 +1496,7 @@ class _InkResponseState extends State<_InkResponseStateWidget> // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/ink_well/ink_well.0.dart} +/// {@example /example/lib/ink_well/ink_well.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/input_border.dart b/packages/material_ui/lib/src/input_border.dart index a18176ee3c18..c77bf69b9b3f 100644 --- a/packages/material_ui/lib/src/input_border.dart +++ b/packages/material_ui/lib/src/input_border.dart @@ -598,7 +598,7 @@ class OutlineInputBorder extends InputBorder { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/shaped_input_border/shaped_input_border.0.dart} +/// {@example /example/lib/shaped_input_border/shaped_input_border.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/input_chip.dart b/packages/material_ui/lib/src/input_chip.dart index 6f8f0d1d4356..b92763de1d93 100644 --- a/packages/material_ui/lib/src/input_chip.dart +++ b/packages/material_ui/lib/src/input_chip.dart @@ -50,7 +50,7 @@ import 'theme_data.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_chip/input_chip.0.dart} +/// {@example /example/lib/input_chip/input_chip.0.dart#body} /// /// /// @@ -66,7 +66,7 @@ import 'theme_data.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_chip/input_chip.1.dart} +/// {@example /example/lib/input_chip/input_chip.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/input_decorator.dart b/packages/material_ui/lib/src/input_decorator.dart index a5ed22139a58..8d809bacea35 100644 --- a/packages/material_ui/lib/src/input_decorator.dart +++ b/packages/material_ui/lib/src/input_decorator.dart @@ -2716,7 +2716,7 @@ class _InputDecoratorState extends State with TickerProviderStat // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_decorator/input_decoration.0.dart} +/// {@example /example/lib/input_decorator/input_decoration.0.dart#body} /// /// /// @@ -2732,7 +2732,7 @@ class _InputDecoratorState extends State with TickerProviderStat // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_decorator/input_decoration.1.dart} +/// {@example /example/lib/input_decorator/input_decoration.1.dart#body} /// /// /// @@ -2748,7 +2748,7 @@ class _InputDecoratorState extends State with TickerProviderStat // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_decorator/input_decoration.2.dart} +/// {@example /example/lib/input_decorator/input_decoration.2.dart#body} /// /// /// @@ -2764,7 +2764,7 @@ class _InputDecoratorState extends State with TickerProviderStat // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_decorator/input_decoration.3.dart} +/// {@example /example/lib/input_decorator/input_decoration.3.dart#body} /// /// /// @@ -2777,7 +2777,7 @@ class _InputDecoratorState extends State with TickerProviderStat // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_decorator/input_decoration.widget_state.0.dart} +/// {@example /example/lib/input_decorator/input_decoration.widget_state.0.dart#body} /// /// /// @@ -2791,7 +2791,7 @@ class _InputDecoratorState extends State with TickerProviderStat // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/input_decorator/input_decoration.widget_state.1.dart} +/// {@example /example/lib/input_decorator/input_decoration.widget_state.1.dart#body} /// /// /// @@ -3038,7 +3038,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.label.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.label.0.dart#body} /// /// /// @@ -3084,7 +3084,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.label_style_error.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.label_style_error.0.dart#body} /// /// /// {@endtemplate} @@ -3123,7 +3123,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.floating_label_style_error.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.floating_label_style_error.0.dart#body} /// /// /// {@endtemplate} @@ -3144,7 +3144,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.helper.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.helper.0.dart#body} /// /// /// @@ -3453,7 +3453,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.prefix_icon.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.prefix_icon.0.dart#body} /// /// /// @@ -3492,7 +3492,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.prefix_icon_constraints.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.prefix_icon_constraints.0.dart#body} /// /// final BoxConstraints? prefixIconConstraints; @@ -3588,7 +3588,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.suffix_icon.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.suffix_icon.0.dart#body} /// /// /// @@ -3682,7 +3682,7 @@ class InputDecoration { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/input_decorator/input_decoration.suffix_icon_constraints.0.dart} + /// {@example /example/lib/input_decorator/input_decoration.suffix_icon_constraints.0.dart#body} /// /// final BoxConstraints? suffixIconConstraints; diff --git a/packages/material_ui/lib/src/list_tile.dart b/packages/material_ui/lib/src/list_tile.dart index ec236dda3fad..09118240dbe9 100644 --- a/packages/material_ui/lib/src/list_tile.dart +++ b/packages/material_ui/lib/src/list_tile.dart @@ -241,7 +241,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/list_tile.0.dart} +/// {@example /example/lib/list_tile/list_tile.0.dart#body} /// /// /// @@ -256,7 +256,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/list_tile.1.dart} +/// {@example /example/lib/list_tile/list_tile.1.dart#body} /// /// /// @@ -269,7 +269,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/list_tile.2.dart} +/// {@example /example/lib/list_tile/list_tile.2.dart#body} /// /// /// @@ -283,7 +283,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/list_tile.3.dart} +/// {@example /example/lib/list_tile/list_tile.3.dart#body} /// /// /// @@ -297,7 +297,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/list_tile.4.dart} +/// {@example /example/lib/list_tile/list_tile.4.dart#body} /// /// /// @@ -408,7 +408,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/custom_list_item.0.dart} +/// {@example /example/lib/list_tile/custom_list_item.0.dart#body} /// /// /// @@ -422,7 +422,7 @@ enum ListTileTitleAlignment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/list_tile/custom_list_item.1.dart} +/// {@example /example/lib/list_tile/custom_list_item.1.dart#body} /// /// /// @@ -730,7 +730,7 @@ class ListTile extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/list_tile/list_tile.selected.0.dart} + /// {@example /example/lib/list_tile/list_tile.selected.0.dart#body} /// /// final bool selected; diff --git a/packages/material_ui/lib/src/material_state.dart b/packages/material_ui/lib/src/material_state.dart index aca777ac4b6f..89e777a3b2d8 100644 --- a/packages/material_ui/lib/src/material_state.dart +++ b/packages/material_ui/lib/src/material_state.dart @@ -170,7 +170,7 @@ typedef MaterialStateColor = WidgetStateColor; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/material_state/material_state_mouse_cursor.0.dart} +/// {@example /example/lib/material_state/material_state_mouse_cursor.0.dart#body} /// /// /// @@ -211,7 +211,7 @@ typedef MaterialStateMouseCursor = WidgetStateMouseCursor; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/material_state/material_state_border_side.0.dart} +/// {@example /example/lib/material_state/material_state_border_side.0.dart#body} /// /// /// @@ -246,7 +246,7 @@ typedef MaterialStateBorderSide = WidgetStateBorderSide; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/material_state/material_state_outlined_border.0.dart} +/// {@example /example/lib/material_state/material_state_outlined_border.0.dart#body} /// /// /// @@ -487,7 +487,7 @@ class _MaterialStateUnderlineInputBorder extends MaterialStateUnderlineInputBord // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/widget_state_input_border/widget_state_input_border.0.dart} +/// {@example /example/lib/widget_state_input_border/widget_state_input_border.0.dart#body} /// /// abstract interface class WidgetStateInputBorder @@ -560,7 +560,7 @@ class _WidgetInputBorderMapper extends WidgetStateMapper // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/material_state/material_state_property.0.dart} +/// {@example /example/lib/material_state/material_state_property.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/menu_anchor.dart b/packages/material_ui/lib/src/menu_anchor.dart index b33643255c83..aee8fded1d4b 100644 --- a/packages/material_ui/lib/src/menu_anchor.dart +++ b/packages/material_ui/lib/src/menu_anchor.dart @@ -221,7 +221,7 @@ class _TweenCurve extends Curve { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_anchor.0.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.0.dart#body} /// /// /// @@ -236,7 +236,7 @@ class _TweenCurve extends Curve { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_anchor.1.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.1.dart#body} /// /// /// @@ -249,7 +249,7 @@ class _TweenCurve extends Curve { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_anchor.3.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.3.dart#body} /// /// /// @@ -845,7 +845,7 @@ class _MenuAnchorState extends State with SingleTickerProviderStateM // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_bar.0.dart} +/// {@example /example/lib/menu_anchor/menu_bar.0.dart#body} /// /// /// {@endtemplate} @@ -1369,7 +1369,7 @@ class _MenuItemButtonState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/checkbox_menu_button.0.dart} +/// {@example /example/lib/menu_anchor/checkbox_menu_button.0.dart#body} /// /// /// @@ -1571,7 +1571,7 @@ class CheckboxMenuButton extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/radio_menu_button.0.dart} +/// {@example /example/lib/menu_anchor/radio_menu_button.0.dart#body} /// /// /// @@ -2973,7 +2973,7 @@ typedef MenuAcceleratorChildBuilder = // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_accelerator_label.0.dart} +/// {@example /example/lib/menu_anchor/menu_accelerator_label.0.dart#body} /// /// /// {@endtemplate} diff --git a/packages/material_ui/lib/src/navigation_bar.dart b/packages/material_ui/lib/src/navigation_bar.dart index f657ff9126a2..c9fdcba176c6 100644 --- a/packages/material_ui/lib/src/navigation_bar.dart +++ b/packages/material_ui/lib/src/navigation_bar.dart @@ -66,7 +66,7 @@ const double _kMaxLabelTextScaleFactor = 1.3; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_bar/navigation_bar.0.dart} +/// {@example /example/lib/navigation_bar/navigation_bar.0.dart#body} /// /// /// @@ -80,7 +80,7 @@ const double _kMaxLabelTextScaleFactor = 1.3; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_bar/navigation_bar.1.dart} +/// {@example /example/lib/navigation_bar/navigation_bar.1.dart#body} /// /// /// @@ -103,7 +103,7 @@ const double _kMaxLabelTextScaleFactor = 1.3; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_bar/navigation_bar.2.dart} +/// {@example /example/lib/navigation_bar/navigation_bar.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/navigation_drawer.dart b/packages/material_ui/lib/src/navigation_drawer.dart index e7fe8154ad8c..396aa1152073 100644 --- a/packages/material_ui/lib/src/navigation_drawer.dart +++ b/packages/material_ui/lib/src/navigation_drawer.dart @@ -45,7 +45,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_drawer/navigation_drawer.0.dart} +/// {@example /example/lib/navigation_drawer/navigation_drawer.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/navigation_rail.dart b/packages/material_ui/lib/src/navigation_rail.dart index 956fddbb2113..e7143969f14a 100644 --- a/packages/material_ui/lib/src/navigation_rail.dart +++ b/packages/material_ui/lib/src/navigation_rail.dart @@ -57,7 +57,7 @@ const double _kIndicatorHeight = 32; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/navigation_rail/navigation_rail.0.dart} +/// {@example /example/lib/navigation_rail/navigation_rail.0.dart#body} /// /// /// @@ -394,7 +394,7 @@ class NavigationRail extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/navigation_rail/navigation_rail.extended_animation.0.dart} + /// {@example /example/lib/navigation_rail/navigation_rail.extended_animation.0.dart#body} /// /// static Animation extendedAnimation(BuildContext context) { diff --git a/packages/material_ui/lib/src/outlined_button.dart b/packages/material_ui/lib/src/outlined_button.dart index 0c345f5a15c6..79e1649d0253 100644 --- a/packages/material_ui/lib/src/outlined_button.dart +++ b/packages/material_ui/lib/src/outlined_button.dart @@ -61,7 +61,7 @@ import 'theme_data.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/outlined_button/outlined_button.0.dart} +/// {@example /example/lib/outlined_button/outlined_button.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/page_transitions_theme.dart b/packages/material_ui/lib/src/page_transitions_theme.dart index 47bf20c4bac8..16847b4b42ee 100644 --- a/packages/material_ui/lib/src/page_transitions_theme.dart +++ b/packages/material_ui/lib/src/page_transitions_theme.dart @@ -436,7 +436,7 @@ class _FadeForwardsPageTransition extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/page_transitions_theme/page_transitions_theme.3.dart} +/// {@example /example/lib/page_transitions_theme/page_transitions_theme.3.dart#body} /// /// /// @@ -622,7 +622,7 @@ class ZoomPageTransitionsBuilder extends PageTransitionsBuilder { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/page_transitions_theme/page_transitions_theme.1.dart} + /// {@example /example/lib/page_transitions_theme/page_transitions_theme.1.dart#body} /// /// /// @@ -750,7 +750,7 @@ class ZoomPageTransitionsBuilder extends PageTransitionsBuilder { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/page_transitions_theme/page_transitions_theme.0.dart} +/// {@example /example/lib/page_transitions_theme/page_transitions_theme.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/paginated_data_table.dart b/packages/material_ui/lib/src/paginated_data_table.dart index ab6d049aa46d..4c2409e4b0d2 100644 --- a/packages/material_ui/lib/src/paginated_data_table.dart +++ b/packages/material_ui/lib/src/paginated_data_table.dart @@ -50,7 +50,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/paginated_data_table/paginated_data_table.0.dart} +/// {@example /example/lib/paginated_data_table/paginated_data_table.0.dart#body} /// /// /// @@ -63,7 +63,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/paginated_data_table/paginated_data_table.1.dart} +/// {@example /example/lib/paginated_data_table/paginated_data_table.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/popup_menu.dart b/packages/material_ui/lib/src/popup_menu.dart index 00630cd30ecb..319123705d3f 100644 --- a/packages/material_ui/lib/src/popup_menu.dart +++ b/packages/material_ui/lib/src/popup_menu.dart @@ -1312,7 +1312,7 @@ typedef PopupMenuItemBuilder = List> Function(BuildContext // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/popup_menu/popup_menu.0.dart} +/// {@example /example/lib/popup_menu/popup_menu.0.dart#body} /// /// /// @@ -1324,7 +1324,7 @@ typedef PopupMenuItemBuilder = List> Function(BuildContext // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/menu_anchor/menu_anchor.2.dart} +/// {@example /example/lib/menu_anchor/menu_anchor.2.dart#body} /// /// /// @@ -1337,7 +1337,7 @@ typedef PopupMenuItemBuilder = List> Function(BuildContext // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/popup_menu/popup_menu.1.dart} +/// {@example /example/lib/popup_menu/popup_menu.1.dart#body} /// /// /// @@ -1350,7 +1350,7 @@ typedef PopupMenuItemBuilder = List> Function(BuildContext // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/popup_menu/popup_menu.2.dart} +/// {@example /example/lib/popup_menu/popup_menu.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/progress_indicator.dart b/packages/material_ui/lib/src/progress_indicator.dart index 41810b920a73..e32cefd2602a 100644 --- a/packages/material_ui/lib/src/progress_indicator.dart +++ b/packages/material_ui/lib/src/progress_indicator.dart @@ -394,7 +394,7 @@ class _LinearProgressIndicatorPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/progress_indicator/linear_progress_indicator.0.dart} +/// {@example /example/lib/progress_indicator/linear_progress_indicator.0.dart#body} /// /// /// @@ -408,7 +408,7 @@ class _LinearProgressIndicatorPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/progress_indicator/linear_progress_indicator.1.dart} +/// {@example /example/lib/progress_indicator/linear_progress_indicator.1.dart#body} /// /// /// @@ -825,7 +825,7 @@ class _CircularProgressIndicatorPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/progress_indicator/circular_progress_indicator.0.dart} +/// {@example /example/lib/progress_indicator/circular_progress_indicator.0.dart#body} /// /// /// @@ -839,7 +839,7 @@ class _CircularProgressIndicatorPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/progress_indicator/circular_progress_indicator.1.dart} +/// {@example /example/lib/progress_indicator/circular_progress_indicator.1.dart#body} /// /// /// @@ -880,7 +880,7 @@ class _CircularProgressIndicatorPainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/progress_indicator/circular_progress_indicator.2.dart} +/// {@example /example/lib/progress_indicator/circular_progress_indicator.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/radio.dart b/packages/material_ui/lib/src/radio.dart index 013446cd75e7..7cc3948d08ef 100644 --- a/packages/material_ui/lib/src/radio.dart +++ b/packages/material_ui/lib/src/radio.dart @@ -65,7 +65,7 @@ const double _kInnerRadius = 4.5; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/radio/radio.0.dart} +/// {@example /example/lib/radio/radio.0.dart#body} /// /// /// @@ -85,7 +85,7 @@ const double _kInnerRadius = 4.5; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/radio/radio.1.dart} +/// {@example /example/lib/radio/radio.1.dart#body} /// /// /// @@ -263,7 +263,7 @@ class Radio extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/radio/radio.toggleable.0.dart} + /// {@example /example/lib/radio/radio.toggleable.0.dart#body} /// /// final bool toggleable; diff --git a/packages/material_ui/lib/src/radio_list_tile.dart b/packages/material_ui/lib/src/radio_list_tile.dart index 3d93ed9bcd62..da6140bc7b9a 100644 --- a/packages/material_ui/lib/src/radio_list_tile.dart +++ b/packages/material_ui/lib/src/radio_list_tile.dart @@ -100,7 +100,7 @@ enum _RadioType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/radio_list_tile/radio_list_tile.0.dart} +/// {@example /example/lib/radio_list_tile/radio_list_tile.0.dart#body} /// /// /// @@ -113,7 +113,7 @@ enum _RadioType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/radio_list_tile/radio_list_tile.1.dart} +/// {@example /example/lib/radio_list_tile/radio_list_tile.1.dart#body} /// /// /// @@ -146,7 +146,7 @@ enum _RadioType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/radio_list_tile/custom_labeled_radio.0.dart} +/// {@example /example/lib/radio_list_tile/custom_labeled_radio.0.dart#body} /// /// /// @@ -168,7 +168,7 @@ enum _RadioType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/radio_list_tile/custom_labeled_radio.1.dart} +/// {@example /example/lib/radio_list_tile/custom_labeled_radio.1.dart#body} /// /// /// @@ -389,7 +389,7 @@ class RadioListTile extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/radio_list_tile/radio_list_tile.toggleable.0.dart} + /// {@example /example/lib/radio_list_tile/radio_list_tile.toggleable.0.dart#body} /// /// final bool toggleable; diff --git a/packages/material_ui/lib/src/range_slider.dart b/packages/material_ui/lib/src/range_slider.dart index 518a1f944cba..b504c563a15d 100644 --- a/packages/material_ui/lib/src/range_slider.dart +++ b/packages/material_ui/lib/src/range_slider.dart @@ -60,7 +60,7 @@ typedef PaintRangeValueIndicator = void Function(PaintingContext context, Offset // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/range_slider/range_slider.0.dart} +/// {@example /example/lib/range_slider/range_slider.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/refresh_indicator.dart b/packages/material_ui/lib/src/refresh_indicator.dart index 1ea658429b7c..6e55b18563b9 100644 --- a/packages/material_ui/lib/src/refresh_indicator.dart +++ b/packages/material_ui/lib/src/refresh_indicator.dart @@ -95,7 +95,7 @@ enum _IndicatorType { material, adaptive, noSpinner } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/refresh_indicator/refresh_indicator.0.dart} +/// {@example /example/lib/refresh_indicator/refresh_indicator.0.dart#body} /// /// /// @@ -108,7 +108,7 @@ enum _IndicatorType { material, adaptive, noSpinner } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/refresh_indicator/refresh_indicator.1.dart} +/// {@example /example/lib/refresh_indicator/refresh_indicator.1.dart#body} /// /// /// @@ -120,7 +120,7 @@ enum _IndicatorType { material, adaptive, noSpinner } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/refresh_indicator/refresh_indicator.2.dart} +/// {@example /example/lib/refresh_indicator/refresh_indicator.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/reorderable_list.dart b/packages/material_ui/lib/src/reorderable_list.dart index 926942a86bff..19a62e1a0aff 100644 --- a/packages/material_ui/lib/src/reorderable_list.dart +++ b/packages/material_ui/lib/src/reorderable_list.dart @@ -33,7 +33,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/reorderable_list/reorderable_list_view.0.dart} +/// {@example /example/lib/reorderable_list/reorderable_list_view.0.dart#body} /// /// /// @@ -61,7 +61,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/reorderable_list/reorderable_list_view.1.dart} +/// {@example /example/lib/reorderable_list/reorderable_list_view.1.dart#body} /// /// /// @@ -78,7 +78,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/reorderable_list/reorderable_list_view.2.dart} +/// {@example /example/lib/reorderable_list/reorderable_list_view.2.dart#body} /// /// class ReorderableListView extends StatefulWidget { @@ -179,7 +179,7 @@ class ReorderableListView extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart} + /// {@example /example/lib/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart#body} /// /// /// @@ -294,7 +294,7 @@ class ReorderableListView extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart} + /// {@example /example/lib/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart#body} /// /// final bool buildDefaultDragHandles; diff --git a/packages/material_ui/lib/src/scaffold.dart b/packages/material_ui/lib/src/scaffold.dart index 395a4de2c2ff..d51f9f8013ee 100644 --- a/packages/material_ui/lib/src/scaffold.dart +++ b/packages/material_ui/lib/src/scaffold.dart @@ -102,7 +102,7 @@ enum _ScaffoldSlot { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/scaffold/scaffold_messenger.0.dart} +/// {@example /example/lib/scaffold/scaffold_messenger.0.dart#body} /// /// /// @@ -136,7 +136,7 @@ class ScaffoldMessenger extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger.of.0.dart} + /// {@example /example/lib/scaffold/scaffold_messenger.of.0.dart#body} /// /// /// @@ -159,7 +159,7 @@ class ScaffoldMessenger extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger.of.1.dart} + /// {@example /example/lib/scaffold/scaffold_messenger.of.1.dart#body} /// /// /// @@ -292,7 +292,7 @@ class ScaffoldMessengerState extends State with TickerProvide // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart} + /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart#body} /// /// /// @@ -314,7 +314,7 @@ class ScaffoldMessengerState extends State with TickerProvide // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart} + /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.0.dart#body} /// /// /// @@ -326,7 +326,7 @@ class ScaffoldMessengerState extends State with TickerProvide // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.1.dart} + /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.1.dart#body} /// /// /// @@ -349,7 +349,7 @@ class ScaffoldMessengerState extends State with TickerProvide // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.2.dart} + /// {@example /example/lib/scaffold/scaffold_messenger_state.show_snack_bar.2.dart#body} /// /// /// @@ -541,7 +541,7 @@ class ScaffoldMessengerState extends State with TickerProvide // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_messenger_state.show_material_banner.0.dart} + /// {@example /example/lib/scaffold/scaffold_messenger_state.show_material_banner.0.dart#body} /// /// ScaffoldFeatureController showMaterialBanner( @@ -1610,7 +1610,7 @@ class _FloatingActionButtonTransitionState extends State<_FloatingActionButtonTr // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/scaffold/scaffold.0.dart} +/// {@example /example/lib/scaffold/scaffold.0.dart#body} /// /// /// @@ -1627,7 +1627,7 @@ class _FloatingActionButtonTransitionState extends State<_FloatingActionButtonTr // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/scaffold/scaffold.1.dart} +/// {@example /example/lib/scaffold/scaffold.1.dart#body} /// /// /// @@ -1646,7 +1646,7 @@ class _FloatingActionButtonTransitionState extends State<_FloatingActionButtonTr // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/scaffold/scaffold.2.dart} +/// {@example /example/lib/scaffold/scaffold.2.dart#body} /// /// /// @@ -1914,7 +1914,7 @@ class Scaffold extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold.drawer.0.dart} + /// {@example /example/lib/scaffold/scaffold.drawer.0.dart#body} /// /// final Widget? drawer; @@ -1944,7 +1944,7 @@ class Scaffold extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold.end_drawer.0.dart} + /// {@example /example/lib/scaffold/scaffold.end_drawer.0.dart#body} /// /// final Widget? endDrawer; @@ -2102,7 +2102,7 @@ class Scaffold extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold.of.0.dart} + /// {@example /example/lib/scaffold/scaffold.of.0.dart#body} /// /// /// @@ -2119,7 +2119,7 @@ class Scaffold extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold.of.1.dart} + /// {@example /example/lib/scaffold/scaffold.of.1.dart#body} /// /// /// @@ -2717,7 +2717,7 @@ class ScaffoldState extends State // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_state.show_bottom_sheet.0.dart} + /// {@example /example/lib/scaffold/scaffold_state.show_bottom_sheet.0.dart#body} /// /// /// @@ -2743,7 +2743,7 @@ class ScaffoldState extends State // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/scaffold/scaffold_state.show_bottom_sheet.1.dart} + /// {@example /example/lib/scaffold/scaffold_state.show_bottom_sheet.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/scrollbar.dart b/packages/material_ui/lib/src/scrollbar.dart index c19f2bb6a5e1..e7e9ab1cb086 100644 --- a/packages/material_ui/lib/src/scrollbar.dart +++ b/packages/material_ui/lib/src/scrollbar.dart @@ -43,7 +43,7 @@ const Duration _kScrollbarTimeToFade = Duration(milliseconds: 600); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/scrollbar/scrollbar.0.dart} +/// {@example /example/lib/scrollbar/scrollbar.0.dart#body} /// /// /// @@ -61,7 +61,7 @@ const Duration _kScrollbarTimeToFade = Duration(milliseconds: 600); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/scrollbar/scrollbar.1.dart} +/// {@example /example/lib/scrollbar/scrollbar.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/search_anchor.dart b/packages/material_ui/lib/src/search_anchor.dart index c4cc7522ea90..361f3d5ae345 100644 --- a/packages/material_ui/lib/src/search_anchor.dart +++ b/packages/material_ui/lib/src/search_anchor.dart @@ -95,7 +95,7 @@ typedef ViewBuilder = Widget Function(Iterable suggestions); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/search_anchor/search_anchor.2.dart} +/// {@example /example/lib/search_anchor/search_anchor.2.dart#body} /// /// /// @@ -108,7 +108,7 @@ typedef ViewBuilder = Widget Function(Iterable suggestions); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/search_anchor/search_anchor.1.dart} +/// {@example /example/lib/search_anchor/search_anchor.1.dart#body} /// /// /// @@ -120,7 +120,7 @@ typedef ViewBuilder = Widget Function(Iterable suggestions); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/search_anchor/search_anchor.3.dart} +/// {@example /example/lib/search_anchor/search_anchor.3.dart#body} /// /// /// @@ -133,7 +133,7 @@ typedef ViewBuilder = Widget Function(Iterable suggestions); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/search_anchor/search_anchor.4.dart} +/// {@example /example/lib/search_anchor/search_anchor.4.dart#body} /// /// /// @@ -195,7 +195,7 @@ class SearchAnchor extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/search_anchor/search_anchor.0.dart} + /// {@example /example/lib/search_anchor/search_anchor.0.dart#body} /// /// factory SearchAnchor.bar({ @@ -1427,7 +1427,7 @@ class SearchController extends TextEditingController { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/search_anchor/search_bar.0.dart} +/// {@example /example/lib/search_anchor/search_bar.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/segmented_button.dart b/packages/material_ui/lib/src/segmented_button.dart index 72e07c7f0231..d21c44ea037a 100644 --- a/packages/material_ui/lib/src/segmented_button.dart +++ b/packages/material_ui/lib/src/segmented_button.dart @@ -102,7 +102,7 @@ class ButtonSegment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/segmented_button/segmented_button.0.dart} +/// {@example /example/lib/segmented_button/segmented_button.0.dart#body} /// /// /// @@ -114,7 +114,7 @@ class ButtonSegment { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/segmented_button/segmented_button.1.dart} +/// {@example /example/lib/segmented_button/segmented_button.1.dart#body} /// /// /// @@ -266,7 +266,7 @@ class SegmentedButton extends StatefulWidget { /// standard opacity adjustments for the pressed, focused, and /// hovered states, one could write: /// - /// {@example /example/lib/segmented_button/segmented_button.1.dart} + /// {@example /example/lib/segmented_button/segmented_button.1.dart#body} /// /// ```dart /// SegmentedButton( diff --git a/packages/material_ui/lib/src/selection_area.dart b/packages/material_ui/lib/src/selection_area.dart index 32794841abf4..4516f70988ae 100644 --- a/packages/material_ui/lib/src/selection_area.dart +++ b/packages/material_ui/lib/src/selection_area.dart @@ -39,7 +39,7 @@ import 'theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/selection_area/selection_area.0.dart} +/// {@example /example/lib/selection_area/selection_area.0.dart#body} /// /// /// @@ -94,7 +94,7 @@ class SelectionArea extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/context_menu/selectable_region_toolbar_builder.0.dart} + /// {@example /example/lib/context_menu/selectable_region_toolbar_builder.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/slider.dart b/packages/material_ui/lib/src/slider.dart index 362999b3e71d..215672e39b1a 100644 --- a/packages/material_ui/lib/src/slider.dart +++ b/packages/material_ui/lib/src/slider.dart @@ -88,7 +88,7 @@ enum SliderInteraction { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/slider/slider.0.dart} +/// {@example /example/lib/slider/slider.0.dart#body} /// /// /// @@ -101,7 +101,7 @@ enum SliderInteraction { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/slider/slider.1.dart} +/// {@example /example/lib/slider/slider.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/snack_bar.dart b/packages/material_ui/lib/src/snack_bar.dart index 008e1d4ad484..23770eeb9535 100644 --- a/packages/material_ui/lib/src/snack_bar.dart +++ b/packages/material_ui/lib/src/snack_bar.dart @@ -243,7 +243,7 @@ class _SnackBarActionState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/snack_bar/snack_bar.0.dart} +/// {@example /example/lib/snack_bar/snack_bar.0.dart#body} /// /// /// @@ -257,7 +257,7 @@ class _SnackBarActionState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/snack_bar/snack_bar.1.dart} +/// {@example /example/lib/snack_bar/snack_bar.1.dart#body} /// /// /// @@ -270,7 +270,7 @@ class _SnackBarActionState extends State { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/snack_bar/snack_bar.2.dart} +/// {@example /example/lib/snack_bar/snack_bar.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/stepper.dart b/packages/material_ui/lib/src/stepper.dart index 7542669aa008..ff82c20cd05a 100644 --- a/packages/material_ui/lib/src/stepper.dart +++ b/packages/material_ui/lib/src/stepper.dart @@ -199,7 +199,7 @@ class Step { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/stepper/stepper.0.dart} +/// {@example /example/lib/stepper/stepper.0.dart#body} /// /// /// @@ -350,7 +350,7 @@ class Stepper extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/stepper/stepper.controls_builder.0.dart} + /// {@example /example/lib/stepper/stepper.controls_builder.0.dart#body} /// /// final ControlsWidgetBuilder? controlsBuilder; @@ -1061,7 +1061,7 @@ class _TrianglePainter extends CustomPainter { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/stepper/step_style.0.dart} +/// {@example /example/lib/stepper/step_style.0.dart#body} /// /// diff --git a/packages/material_ui/lib/src/switch.dart b/packages/material_ui/lib/src/switch.dart index fea249829c77..13a872632f26 100644 --- a/packages/material_ui/lib/src/switch.dart +++ b/packages/material_ui/lib/src/switch.dart @@ -62,7 +62,7 @@ enum _SwitchType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch/switch.0.dart} +/// {@example /example/lib/switch/switch.0.dart#body} /// /// /// @@ -75,7 +75,7 @@ enum _SwitchType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch/switch.1.dart} +/// {@example /example/lib/switch/switch.1.dart#body} /// /// /// @@ -88,7 +88,7 @@ enum _SwitchType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch/switch.2.dart} +/// {@example /example/lib/switch/switch.2.dart#body} /// /// /// @@ -101,7 +101,7 @@ enum _SwitchType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch/switch.3.dart} +/// {@example /example/lib/switch/switch.3.dart#body} /// /// /// @@ -187,7 +187,7 @@ class Switch extends StatelessWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/switch/switch.4.dart} + /// {@example /example/lib/switch/switch.4.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/switch_list_tile.dart b/packages/material_ui/lib/src/switch_list_tile.dart index f0149a204080..8a20d651dbb0 100644 --- a/packages/material_ui/lib/src/switch_list_tile.dart +++ b/packages/material_ui/lib/src/switch_list_tile.dart @@ -107,7 +107,7 @@ enum _SwitchListTileType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch_list_tile/switch_list_tile.0.dart} +/// {@example /example/lib/switch_list_tile/switch_list_tile.0.dart#body} /// /// /// @@ -120,7 +120,7 @@ enum _SwitchListTileType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch_list_tile/switch_list_tile.1.dart} +/// {@example /example/lib/switch_list_tile/switch_list_tile.1.dart#body} /// /// /// @@ -153,7 +153,7 @@ enum _SwitchListTileType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch_list_tile/custom_labeled_switch.0.dart} +/// {@example /example/lib/switch_list_tile/custom_labeled_switch.0.dart#body} /// /// /// @@ -175,7 +175,7 @@ enum _SwitchListTileType { material, adaptive } // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/switch_list_tile/custom_labeled_switch.1.dart} +/// {@example /example/lib/switch_list_tile/custom_labeled_switch.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/tab_controller.dart b/packages/material_ui/lib/src/tab_controller.dart index ac07fb49fab7..f19ea2b209ea 100644 --- a/packages/material_ui/lib/src/tab_controller.dart +++ b/packages/material_ui/lib/src/tab_controller.dart @@ -103,7 +103,7 @@ import 'constants.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tab_controller/tab_controller.1.dart} +/// {@example /example/lib/tab_controller/tab_controller.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/tabs.dart b/packages/material_ui/lib/src/tabs.dart index d4834929ad8e..f701f17da174 100644 --- a/packages/material_ui/lib/src/tabs.dart +++ b/packages/material_ui/lib/src/tabs.dart @@ -959,7 +959,7 @@ typedef TabValueChanged = void Function(T value, int index); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tabs/tab_bar.0.dart} +/// {@example /example/lib/tabs/tab_bar.0.dart#body} /// /// /// @@ -973,7 +973,7 @@ typedef TabValueChanged = void Function(T value, int index); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tabs/tab_bar.1.dart} +/// {@example /example/lib/tabs/tab_bar.1.dart#body} /// /// /// @@ -987,7 +987,7 @@ typedef TabValueChanged = void Function(T value, int index); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tabs/tab_bar.2.dart} +/// {@example /example/lib/tabs/tab_bar.2.dart#body} /// /// /// @@ -1003,7 +1003,7 @@ typedef TabValueChanged = void Function(T value, int index); // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tabs/tab_bar.3.dart} +/// {@example /example/lib/tabs/tab_bar.3.dart#body} /// /// /// @@ -1084,7 +1084,7 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/tabs/tab_bar.2.dart} + /// {@example /example/lib/tabs/tab_bar.2.dart#body} /// /// /// @@ -1416,7 +1416,7 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/tabs/tab_bar.onHover.dart} + /// {@example /example/lib/tabs/tab_bar.onHover.dart#body} /// /// final TabValueChanged? onHover; @@ -1442,7 +1442,7 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/tabs/tab_bar.onFocusChange.dart} + /// {@example /example/lib/tabs/tab_bar.onFocusChange.dart#body} /// /// final TabValueChanged? onFocusChange; @@ -1541,7 +1541,7 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/tabs/tab_bar.indicator_animation.0.dart} + /// {@example /example/lib/tabs/tab_bar.indicator_animation.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/text_button.dart b/packages/material_ui/lib/src/text_button.dart index e733013c85b4..613a7165ef2d 100644 --- a/packages/material_ui/lib/src/text_button.dart +++ b/packages/material_ui/lib/src/text_button.dart @@ -65,7 +65,7 @@ import 'theme_data.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_button/text_button.0.dart} +/// {@example /example/lib/text_button/text_button.0.dart#body} /// /// /// @@ -78,7 +78,7 @@ import 'theme_data.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_button/text_button.1.dart} +/// {@example /example/lib/text_button/text_button.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/text_field.dart b/packages/material_ui/lib/src/text_field.dart index f3397f063068..d964886f1f62 100644 --- a/packages/material_ui/lib/src/text_field.dart +++ b/packages/material_ui/lib/src/text_field.dart @@ -127,7 +127,7 @@ class _TextFieldSelectionGestureDetectorBuilder extends TextSelectionGestureDete // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_field/text_field.0.dart} +/// {@example /example/lib/text_field/text_field.0.dart#body} /// /// /// @@ -146,7 +146,7 @@ class _TextFieldSelectionGestureDetectorBuilder extends TextSelectionGestureDete // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_field/text_field.1.dart} +/// {@example /example/lib/text_field/text_field.1.dart#body} /// /// /// @@ -185,7 +185,7 @@ class _TextFieldSelectionGestureDetectorBuilder extends TextSelectionGestureDete // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_field/text_field.2.dart} +/// {@example /example/lib/text_field/text_field.2.dart#body} /// /// /// @@ -207,7 +207,7 @@ class _TextFieldSelectionGestureDetectorBuilder extends TextSelectionGestureDete // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_field/text_field.3.dart} +/// {@example /example/lib/text_field/text_field.3.dart#body} /// /// /// @@ -396,7 +396,7 @@ class TextField extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/text_field/text_field_magnifier.0.dart} + /// {@example /example/lib/text_field/text_field_magnifier.0.dart#body} /// /// final TextMagnifierConfiguration? magnifierConfiguration; @@ -785,7 +785,7 @@ class TextField extends StatefulWidget { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/text_field/text_field_tap_region.0.dart} + /// {@example /example/lib/text_field/text_field_tap_region.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/text_form_field.dart b/packages/material_ui/lib/src/text_form_field.dart index 1f477aa8a9ed..160eb25e608b 100644 --- a/packages/material_ui/lib/src/text_form_field.dart +++ b/packages/material_ui/lib/src/text_form_field.dart @@ -86,7 +86,7 @@ export 'package:flutter/services.dart' show SmartDashesType, SmartQuotesType; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_form_field/text_form_field.1.dart} +/// {@example /example/lib/text_form_field/text_form_field.1.dart#body} /// /// /// @@ -99,7 +99,7 @@ export 'package:flutter/services.dart' show SmartDashesType, SmartQuotesType; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/text_form_field/text_form_field.2.dart} +/// {@example /example/lib/text_form_field/text_form_field.2.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/theme_data.dart b/packages/material_ui/lib/src/theme_data.dart index 7df2c8625c6e..0508066a0787 100644 --- a/packages/material_ui/lib/src/theme_data.dart +++ b/packages/material_ui/lib/src/theme_data.dart @@ -113,7 +113,7 @@ class Adaptation { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/switch/switch.4.dart} + /// {@example /example/lib/switch/switch.4.dart#body} /// /// T adapt(ThemeData theme, T defaultValue) => defaultValue; @@ -137,7 +137,7 @@ class Adaptation { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/theme/theme_extension.1.dart} +/// {@example /example/lib/theme/theme_extension.1.dart#body} /// /// abstract class ThemeExtension> { @@ -227,7 +227,7 @@ enum MaterialTapTargetSize { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/theme_data/theme_data.0.dart} +/// {@example /example/lib/theme_data/theme_data.0.dart#body} /// /// /// @@ -1005,7 +1005,7 @@ class ThemeData with Diagnosticable { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// - /// {@example /example/lib/theme/theme_extension.1.dart} + /// {@example /example/lib/theme/theme_extension.1.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/time_picker.dart b/packages/material_ui/lib/src/time_picker.dart index cc1829517fee..6e719c57fff7 100644 --- a/packages/material_ui/lib/src/time_picker.dart +++ b/packages/material_ui/lib/src/time_picker.dart @@ -3254,7 +3254,7 @@ class _TimePickerState extends State<_TimePicker> with RestorationMixin { // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/time_picker/show_time_picker.0.dart} +/// {@example /example/lib/time_picker/show_time_picker.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/toggle_buttons.dart b/packages/material_ui/lib/src/toggle_buttons.dart index 6ee275ce63ad..2b355047ac1e 100644 --- a/packages/material_ui/lib/src/toggle_buttons.dart +++ b/packages/material_ui/lib/src/toggle_buttons.dart @@ -66,7 +66,7 @@ import 'toggle_buttons_theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/toggle_buttons/toggle_buttons.1.dart} +/// {@example /example/lib/toggle_buttons/toggle_buttons.1.dart#body} /// /// /// @@ -78,7 +78,7 @@ import 'toggle_buttons_theme.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/toggle_buttons/toggle_buttons.0.dart} +/// {@example /example/lib/toggle_buttons/toggle_buttons.0.dart#body} /// /// /// diff --git a/packages/material_ui/lib/src/tooltip.dart b/packages/material_ui/lib/src/tooltip.dart index bcdd339386ae..5db7d55caea8 100644 --- a/packages/material_ui/lib/src/tooltip.dart +++ b/packages/material_ui/lib/src/tooltip.dart @@ -59,7 +59,7 @@ import 'tooltip_visibility.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tooltip/tooltip.0.dart} +/// {@example /example/lib/tooltip/tooltip.0.dart#body} /// /// /// @@ -81,7 +81,7 @@ import 'tooltip_visibility.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tooltip/tooltip.1.dart} +/// {@example /example/lib/tooltip/tooltip.1.dart#body} /// /// /// @@ -96,7 +96,7 @@ import 'tooltip_visibility.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tooltip/tooltip.2.dart} +/// {@example /example/lib/tooltip/tooltip.2.dart#body} /// /// /// @@ -109,7 +109,7 @@ import 'tooltip_visibility.dart'; // when it's supported. https://github.com/dart-lang/dartdoc/issues/4123 /// {@macro material_ui.dartpad_guide} /// -/// {@example /example/lib/tooltip/tooltip.3.dart} +/// {@example /example/lib/tooltip/tooltip.3.dart#body} /// /// ///