text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import '../../data/gallery_options.dart'; import '../../gallery_localizations.dar...
flutter/dev/integration_tests/new_gallery/lib/demos/material/data_table_demo.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/demos/material/data_table_demo.dart", "repo_id": "flutter", "token_count": 8715 }
550
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import 'animation.dart'; import 'overlay.dart'; /// [Widget] to enforce ...
flutter/dev/integration_tests/new_gallery/lib/feature_discovery/feature_discovery.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/feature_discovery/feature_discovery.dart", "repo_id": "flutter", "token_count": 4200 }
551
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:math' as math; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:url_laun...
flutter/dev/integration_tests/new_gallery/lib/pages/home.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/pages/home.dart", "repo_id": "flutter", "token_count": 17866 }
552
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../../gallery_localizations.dart'; import 'destination.dart'; List<FlyDestination> getFlyDestinations(B...
flutter/dev/integration_tests/new_gallery/lib/studies/crane/model/data.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/crane/model/data.dart", "repo_id": "flutter", "token_count": 3698 }
553
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import '../../data/gallery_options.dart'; /// Get the locale string for the cont...
flutter/dev/integration_tests/new_gallery/lib/studies/rally/formatters.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/rally/formatters.dart", "repo_id": "flutter", "token_count": 437 }
554
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'model/email_model.dart'...
flutter/dev/integration_tests/new_gallery/lib/studies/reply/mail_view_page.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/reply/mail_view_page.dart", "repo_id": "flutter", "token_count": 2474 }
555
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../../gallery_localizations.dart'; class Category { const Category({ required this.name, }); ...
flutter/dev/integration_tests/new_gallery/lib/studies/shrine/model/product.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/shrine/model/product.dart", "repo_id": "flutter", "token_count": 494 }
556
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../gallery_localizations.dart'; import '../../layout/adaptive.dart'; const double appBarDesktopHeight ...
flutter/dev/integration_tests/new_gallery/lib/studies/starter/home.dart/0
{ "file_path": "flutter/dev/integration_tests/new_gallery/lib/studies/starter/home.dart", "repo_id": "flutter", "token_count": 2920 }
557
# platform_interaction Integration test of platform interaction.
flutter/dev/integration_tests/platform_interaction/README.md/0
{ "file_path": "flutter/dev/integration_tests/platform_interaction/README.md", "repo_id": "flutter", "token_count": 15 }
558
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter_driver/driver_extension.dart'; import 'src/system_navigation.dart'; ...
flutter/dev/integration_tests/platform_interaction/lib/main.dart/0
{ "file_path": "flutter/dev/integration_tests/platform_interaction/lib/main.dart", "repo_id": "flutter", "token_count": 711 }
559
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert' show utf8; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; Future<void> main() async { const Tex...
flutter/dev/integration_tests/release_smoke_test/lib/main.dart/0
{ "file_path": "flutter/dev/integration_tests/release_smoke_test/lib/main.dart", "repo_id": "flutter", "token_count": 295 }
560
# Flutter UI integration tests This project contains a collection of non-plugin-dependent UI integration tests. The device code is in the `lib/` directory, the driver code is in the `test_driver/` directory. They work together. Normally they are run via the devicelab. ## keyboard\_resize Verifies that showing and hi...
flutter/dev/integration_tests/ui/README.md/0
{ "file_path": "flutter/dev/integration_tests/ui/README.md", "repo_id": "flutter", "token_count": 111 }
561
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_driver/driver_extension.dart'; void main() { enableFlutterDriverExtension(); runApp(co...
flutter/dev/integration_tests/ui/lib/driver.dart/0
{ "file_path": "flutter/dev/integration_tests/ui/lib/driver.dart", "repo_id": "flutter", "token_count": 1537 }
562
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; // Regression test for https://github.com/flutter/flutter/issues...
flutter/dev/integration_tests/ui/test/asset_test.dart/0
{ "file_path": "flutter/dev/integration_tests/ui/test/asset_test.dart", "repo_id": "flutter", "token_count": 242 }
563
<!DOCTYPE HTML> <!-- Copyright 2014 The Flutter Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <html> <head> <meta charset="UTF-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <title>Web Test</title> <!-- iOS meta ta...
flutter/dev/integration_tests/web/web/index_with_blocked_service_workers.html/0
{ "file_path": "flutter/dev/integration_tests/web/web/index_with_blocked_service_workers.html", "repo_id": "flutter", "token_count": 608 }
564
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math'; import 'package:flutter_driver/flutter_driver.dart'; import 'package:integration_test/integration_test_driver_extended.dart' as test; ...
flutter/dev/integration_tests/web_e2e_tests/lib/screenshot_support.dart/0
{ "file_path": "flutter/dev/integration_tests/web_e2e_tests/lib/screenshot_support.dart", "repo_id": "flutter", "token_count": 351 }
565
# This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled. version: revision: c865207540a1eb960aa89ac61ba89d0f0fa7bd17 channel: unknown project_type: app # Tracks metadata for the flutter migrate comma...
flutter/dev/integration_tests/windows_startup_test/.metadata/0
{ "file_path": "flutter/dev/integration_tests/windows_startup_test/.metadata", "repo_id": "flutter", "token_count": 743 }
566
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection'; import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/serv...
flutter/dev/manual_tests/lib/actions.dart/0
{ "file_path": "flutter/dev/manual_tests/lib/actions.dart", "repo_id": "flutter", "token_count": 6185 }
567
This file makes the dev/bots/analyze.dart file ignore this directory.
flutter/dev/snippets/config/.dartignore/0
{ "file_path": "flutter/dev/snippets/config/.dartignore", "repo_id": "flutter", "token_count": 19 }
568
{ "version": "v0_206", "md.comp.banner.container.color": "surfaceContainerLow", "md.comp.banner.container.elevation": "md.sys.elevation.level1", "md.comp.banner.container.shape": "md.sys.shape.corner.none", "md.comp.banner.desktop.with-single-line.container.height": 52.0, "md.comp.banner.desktop.with-three...
flutter/dev/tools/gen_defaults/data/banner.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/banner.json", "repo_id": "flutter", "token_count": 350 }
569
{ "version": "v0_206", "md.sys.color.background": "md.ref.palette.neutral6", "md.sys.color.error": "md.ref.palette.error80", "md.sys.color.error-container": "md.ref.palette.error30", "md.sys.color.inverse-on-surface": "md.ref.palette.neutral20", "md.sys.color.inverse-primary": "md.ref.palette.primary40", ...
flutter/dev/tools/gen_defaults/data/color_dark.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/color_dark.json", "repo_id": "flutter", "token_count": 1267 }
570
{ "version": "v0_206", "md.comp.outlined-icon-button.container.height": 40.0, "md.comp.outlined-icon-button.container.shape": "md.sys.shape.corner.full", "md.comp.outlined-icon-button.container.width": 40.0, "md.comp.outlined-icon-button.disabled.icon.color": "onSurface", "md.comp.outlined-icon-button.disa...
flutter/dev/tools/gen_defaults/data/icon_button_outlined.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/icon_button_outlined.json", "repo_id": "flutter", "token_count": 988 }
571
{ "version": "v0_206", "md.sys.shape.corner.extra-large": { "family": "SHAPE_FAMILY_ROUNDED_CORNERS", "topLeft": 28.0, "topRight": 28.0, "bottomLeft": 28.0, "bottomRight": 28.0 }, "md.sys.shape.corner.extra-large.top": { "family": "SHAPE_FAMILY_ROUNDED_CORNERS", "topLeft": 28.0, ...
flutter/dev/tools/gen_defaults/data/shape.json/0
{ "file_path": "flutter/dev/tools/gen_defaults/data/shape.json", "repo_id": "flutter", "token_count": 1038 }
572
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'template.dart'; class AppBarTemplate extends TokenTemplate { const AppBarTemplate(super.blockName, super.fileName, super.tokens) : super( ...
flutter/dev/tools/gen_defaults/lib/app_bar_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/app_bar_template.dart", "repo_id": "flutter", "token_count": 1371 }
573
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'template.dart'; class FilterChipTemplate extends TokenTemplate { const FilterChipTemplate(super.blockName, super.fileName, super.tokens, { s...
flutter/dev/tools/gen_defaults/lib/filter_chip_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/filter_chip_template.dart", "repo_id": "flutter", "token_count": 1963 }
574
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'template.dart'; class SliderTemplate extends TokenTemplate { const SliderTemplate(this.tokenGroup, super.blockName, super.fileName, super.tokens...
flutter/dev/tools/gen_defaults/lib/slider_template.dart/0
{ "file_path": "flutter/dev/tools/gen_defaults/lib/slider_template.dart", "repo_id": "flutter", "token_count": 874 }
575
## Files ### General | File name | Explanation | | ---- | ---- | | [`physical_key_data.g.json`](physical_key_data.g.json) | Contains the merged physical key data from all the other sources. This file is regenerated if "--collect" is specified for the gen_keycodes script, or used as a source otherwise. | | [`logical_k...
flutter/dev/tools/gen_keycodes/data/README.md/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/README.md", "repo_id": "flutter", "token_count": 1973 }
576
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; export 'package:flutter/foundation.dart' show DiagnosticPropertiesBuilder; // DO NOT EDIT -- DO NOT EDIT -- DO ...
flutter/dev/tools/gen_keycodes/data/keyboard_key.tmpl/0
{ "file_path": "flutter/dev/tools/gen_keycodes/data/keyboard_key.tmpl", "repo_id": "flutter", "token_count": 5027 }
577
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:path/path.dart' as path; import 'base_code_gen.dart'; import 'constants.dart'; import 'logical_key_data.dart'; import 'physical_key_data.d...
flutter/dev/tools/gen_keycodes/lib/android_code_gen.dart/0
{ "file_path": "flutter/dev/tools/gen_keycodes/lib/android_code_gen.dart", "repo_id": "flutter", "token_count": 1755 }
578
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:platform/platform.dart'; import 'package:pub_semver/pub_semver.dart'; i...
flutter/dev/tools/test/create_api_docs_test.dart/0
{ "file_path": "flutter/dev/tools/test/create_api_docs_test.dart", "repo_id": "flutter", "token_count": 7724 }
579
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Empty SVG file --> <svg xmlns="http://www.w3.org/2000/svg" id="empty_svg" width="100px" height="50px"> </svg>
flutter/dev/tools/vitool/test_assets/empty_svg_2_100x50.svg/0
{ "file_path": "flutter/dev/tools/vitool/test_assets/empty_svg_2_100x50.svg", "repo_id": "flutter", "token_count": 82 }
580
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:flutter/painting.dart'; import 'package:flutter_test/flutter_test.dart'; import 'common.dart'; void main() { in...
flutter/dev/tracing_tests/test/image_cache_tracing_test.dart/0
{ "file_path": "flutter/dev/tracing_tests/test/image_cache_tracing_test.dart", "repo_id": "flutter", "token_count": 1476 }
581
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. pluginManagement { def flutterSdkPath = { def properties = new Properties() file("local.properties").withInputStream { properties.load(...
flutter/examples/api/android/settings.gradle/0
{ "file_path": "flutter/examples/api/android/settings.gradle", "repo_id": "flutter", "token_count": 422 }
582
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; /// Flutter code sample for [CupertinoSliverNavigationBar]. void main() => runApp(const SliverNavBarApp()); cla...
flutter/examples/api/lib/cupertino/nav_bar/cupertino_sliver_nav_bar.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/nav_bar/cupertino_sliver_nav_bar.0.dart", "repo_id": "flutter", "token_count": 1691 }
583
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; /// Flutter code sample for [CupertinoTabController]. void main() => runApp(const TabControllerApp()); class Ta...
flutter/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_controller.0.dart/0
{ "file_path": "flutter/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_controller.0.dart", "repo_id": "flutter", "token_count": 797 }
584
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [SliverAppBar]. void main() => runApp(const AppBarApp()); class AppBarApp extends St...
flutter/examples/api/lib/material/app_bar/sliver_app_bar.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/app_bar/sliver_app_bar.1.dart", "repo_id": "flutter", "token_count": 2174 }
585
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [showModalBottomSheet]. void main() => runApp(const BottomSheetApp()); class BottomS...
flutter/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.0.dart", "repo_id": "flutter", "token_count": 816 }
586
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ActionChoice]. void main() => runApp(const ChipApp()); class ChipApp extends Statel...
flutter/examples/api/lib/material/choice_chip/choice_chip.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/choice_chip/choice_chip.0.dart", "repo_id": "flutter", "token_count": 876 }
587
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Dialog]. void main() => runApp(const DialogExampleApp()); class DialogExampleApp ex...
flutter/examples/api/lib/material/dialog/dialog.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/dialog/dialog.0.dart", "repo_id": "flutter", "token_count": 1326 }
588
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ExpansionPanelList]. void main() => runApp(const ExpansionPanelListExampleApp()); c...
flutter/examples/api/lib/material/expansion_panel/expansion_panel_list.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/expansion_panel/expansion_panel_list.0.dart", "repo_id": "flutter", "token_count": 974 }
589
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Image.frameBuilder]. void main() { runApp( MaterialApp( home: Scaffold( ...
flutter/examples/api/lib/material/ink/ink.image_clip.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/ink/ink.image_clip.0.dart", "repo_id": "flutter", "token_count": 663 }
590
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [InputDecoration.prefixIconConstraints]. void main() => runApp(const PrefixIconConstr...
flutter/examples/api/lib/material/input_decorator/input_decoration.prefix_icon_constraints.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/input_decorator/input_decoration.prefix_icon_constraints.0.dart", "repo_id": "flutter", "token_count": 715 }
591
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// Flutter code sample for [MenuAcceleratorLabel]. void main() => runApp...
flutter/examples/api/lib/material/menu_anchor/menu_accelerator_label.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/menu_anchor/menu_accelerator_label.0.dart", "repo_id": "flutter", "token_count": 2411 }
592
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [PaginatedDataTable]. class MyDataSource extends DataTableSource { @override int ...
flutter/examples/api/lib/material/paginated_data_table/paginated_data_table.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/paginated_data_table/paginated_data_table.0.dart", "repo_id": "flutter", "token_count": 810 }
593
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [RadioListTile.toggleable]. void main() => runApp(const RadioListTileApp()); class R...
flutter/examples/api/lib/material/radio_list_tile/radio_list_tile.toggleable.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/radio_list_tile/radio_list_tile.toggleable.0.dart", "repo_id": "flutter", "token_count": 654 }
594
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ScaffoldMessenger]. void main() => runApp(const ScaffoldMessengerExampleApp()); cla...
flutter/examples/api/lib/material/scaffold/scaffold_messenger.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/scaffold/scaffold_messenger.0.dart", "repo_id": "flutter", "token_count": 420 }
595
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [SegmentedButton]. void main() { runApp(const SegmentedButtonApp()); } class Segme...
flutter/examples/api/lib/material/segmented_button/segmented_button.0.dart/0
{ "file_path": "flutter/examples/api/lib/material/segmented_button/segmented_button.0.dart", "repo_id": "flutter", "token_count": 1300 }
596
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Switch]. void main() => runApp(const SwitchApp()); class SwitchApp extends Stateles...
flutter/examples/api/lib/material/switch/switch.1.dart/0
{ "file_path": "flutter/examples/api/lib/material/switch/switch.1.dart", "repo_id": "flutter", "token_count": 900 }
597
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for Material Design 3 [TextField]s. void main() { runApp(const TextFieldExamplesApp());...
flutter/examples/api/lib/material/text_field/text_field.2.dart/0
{ "file_path": "flutter/examples/api/lib/material/text_field/text_field.2.dart", "repo_id": "flutter", "token_count": 845 }
598
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // An example showing usage of [StarBorder]. import 'package:flutter/material.dart'; const int _kParameterPrecision = 2; void main() => runApp(const Sta...
flutter/examples/api/lib/painting/star_border/star_border.0.dart/0
{ "file_path": "flutter/examples/api/lib/painting/star_border/star_border.0.dart", "repo_id": "flutter", "token_count": 6431 }
599
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [FontFeature]. void main() => runApp(const ExampleApp()); class ExampleApp extends S...
flutter/examples/api/lib/ui/text/font_feature.0.dart/0
{ "file_path": "flutter/examples/api/lib/ui/text/font_feature.0.dart", "repo_id": "flutter", "token_count": 1182 }
600
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [AnimatedList]. void main() { runApp(const AnimatedListSample()); } class Animated...
flutter/examples/api/lib/widgets/animated_list/animated_list.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/animated_list/animated_list.0.dart", "repo_id": "flutter", "token_count": 2332 }
601
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Offstage]. void main() => runApp(const OffstageApp()); class OffstageApp extends St...
flutter/examples/api/lib/widgets/basic/offstage.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/basic/offstage.0.dart", "repo_id": "flutter", "token_count": 884 }
602
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Focus]. void main() => runApp(const FocusExampleApp()); class FocusExampleApp exten...
flutter/examples/api/lib/widgets/focus_scope/focus.2.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/focus_scope/focus.2.dart", "repo_id": "flutter", "token_count": 729 }
603
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Image.loadingBuilder]. void main() => runApp(const LoadingBuilderExampleApp()); cla...
flutter/examples/api/lib/widgets/image/image.loading_builder.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/image/image.loading_builder.0.dart", "repo_id": "flutter", "token_count": 555 }
604
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; void main() => runApp(const MagnifierExampleApp()); class MagnifierExampleApp extends StatefulWidget { const Ma...
flutter/examples/api/lib/widgets/magnifier/magnifier.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/magnifier/magnifier.0.dart", "repo_id": "flutter", "token_count": 1051 }
605
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [Notification]. void main() => runApp(const NotificationExampleApp()); class Notific...
flutter/examples/api/lib/widgets/notification_listener/notification.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/notification_listener/notification.0.dart", "repo_id": "flutter", "token_count": 1214 }
606
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [ScrollNotificationObserver]. void main() => runApp(const ScrollNotificationObserverA...
flutter/examples/api/lib/widgets/scroll_notification_observer/scroll_notification_observer.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/scroll_notification_observer/scroll_notification_observer.0.dart", "repo_id": "flutter", "token_count": 1706 }
607
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [CharacterActivator]. void main() => runApp(const CharacterActivatorExampleApp()); c...
flutter/examples/api/lib/widgets/shortcuts/character_activator.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/shortcuts/character_activator.0.dart", "repo_id": "flutter", "token_count": 720 }
608
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; /// Flutter code sample for [SlottedMultiChildRenderObjectWidget]. /// S...
flutter/examples/api/lib/widgets/slotted_render_object_widget/slotted_multi_child_render_object_widget_mixin.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/slotted_render_object_widget/slotted_multi_child_render_object_widget_mixin.0.dart", "repo_id": "flutter", "token_count": 3203 }
609
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; /// Flutter code sample for [PositionedTransition]. void main() => runApp(const PositionedTransitionExampleApp())...
flutter/examples/api/lib/widgets/transitions/positioned_transition.0.dart/0
{ "file_path": "flutter/examples/api/lib/widgets/transitions/positioned_transition.0.dart", "repo_id": "flutter", "token_count": 926 }
610
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter_api_samples/cupertino/route/show_cupertino_modal_popup.0.dart' as example; import 'package...
flutter/examples/api/test/cupertino/route/show_cupertino_modal_popup.0_test.dart/0
{ "file_path": "flutter/examples/api/test/cupertino/route/show_cupertino_modal_popup.0_test.dart", "repo_id": "flutter", "token_count": 303 }
611
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; // package:flutter_goldens is not used as part of the test process for web. Future<void> testExecutable(FutureOr<void> Function() tes...
flutter/examples/api/test/goldens_web.dart/0
{ "file_path": "flutter/examples/api/test/goldens_web.dart", "repo_id": "flutter", "token_count": 97 }
612
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/autocomplete/autocomplete.4.dart' as example; import 'package:flutter_...
flutter/examples/api/test/material/autocomplete/autocomplete.4_test.dart/0
{ "file_path": "flutter/examples/api/test/material/autocomplete/autocomplete.4_test.dart", "repo_id": "flutter", "token_count": 1676 }
613
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/chip/chip_attributes.avatar_box_constraints.0.dart' as example; import...
flutter/examples/api/test/material/chip/chip_attributes.avatar_box_constraints.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/chip/chip_attributes.avatar_box_constraints.0_test.dart", "repo_id": "flutter", "token_count": 855 }
614
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/expansion_panel/expansion_panel_list.0.dart' as example; import 'packa...
flutter/examples/api/test/material/expansion_panel/expansion_panel_list.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/expansion_panel/expansion_panel_list.0_test.dart", "repo_id": "flutter", "token_count": 932 }
615
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/input_chip/input_chip.1.dart' as example; import 'package:flutter_...
flutter/examples/api/test/material/input_chip/input_chip.1_test.dart/0
{ "file_path": "flutter/examples/api/test/material/input_chip/input_chip.1_test.dart", "repo_id": "flutter", "token_count": 807 }
616
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_api_samples/material/menu_anchor/menu_anchor.0.dart...
flutter/examples/api/test/material/menu_anchor/menu_anchor.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/menu_anchor/menu_anchor.0_test.dart", "repo_id": "flutter", "token_count": 1693 }
617
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/reorderable_list/reorderable_l...
flutter/examples/api/test/material/reorderable_list/reorderable_list_view.2_test.dart/0
{ "file_path": "flutter/examples/api/test/material/reorderable_list/reorderable_list_view.2_test.dart", "repo_id": "flutter", "token_count": 449 }
618
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/switch/switch.0.dart' as example; import 'package:flutter_test/flutter...
flutter/examples/api/test/material/switch/switch.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/switch/switch.0_test.dart", "repo_id": "flutter", "token_count": 268 }
619
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/material/time_picker/show_time_picker.0.dart' as example; import 'package:flutt...
flutter/examples/api/test/material/time_picker/show_time_picker.0_test.dart/0
{ "file_path": "flutter/examples/api/test/material/time_picker/show_time_picker.0_test.dart", "repo_id": "flutter", "token_count": 891 }
620
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/basic/custom_multi_child_layout.0.dart' as example; import 'package...
flutter/examples/api/test/widgets/basic/custom_multi_child_layout.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/basic/custom_multi_child_layout.0_test.dart", "repo_id": "flutter", "token_count": 740 }
621
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_api_samples/widgets/draggable_scrollable_sheet/draggable_scrollable_sheet.0.dart' as exampl...
flutter/examples/api/test/widgets/draggable_scrollable_sheet/draggable_scrollable_sheet.0_test.dart/0
{ "file_path": "flutter/examples/api/test/widgets/draggable_scrollable_sheet/draggable_scrollable_sheet.0_test.dart", "repo_id": "flutter", "token_count": 844 }
622
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; /// Simulates a system back, like a back gesture on Android. /// ...
flutter/examples/api/test/widgets/navigator_utils.dart/0
{ "file_path": "flutter/examples/api/test/widgets/navigator_utils.dart", "repo_id": "flutter", "token_count": 214 }
623
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/services.dart'; import 'package:flutter_api_samples/widgets/shortcuts/callback_shortcuts.0.dart' as example; import 'package:flutte...
flutter/examples/api/test/widgets/shortcuts/callback_shortcuts.0.dart/0
{ "file_path": "flutter/examples/api/test/widgets/shortcuts/callback_shortcuts.0.dart", "repo_id": "flutter", "token_count": 310 }
624
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. plugins { id("com.android.application") id("dev.flutter.flutter-gradle-plugin") } android { namespace = "io.flutter.examples.hello_world" ...
flutter/examples/hello_world/android/app/build.gradle.kts/0
{ "file_path": "flutter/examples/hello_world/android/app/build.gradle.kts", "repo_id": "flutter", "token_count": 413 }
625
#include "Generated.xcconfig"
flutter/examples/layers/ios/Flutter/Release.xcconfig/0
{ "file_path": "flutter/examples/layers/ios/Flutter/Release.xcconfig", "repo_id": "flutter", "token_count": 12 }
626
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/rendering.dart'; class RenderSolidColorBox extends RenderDecoratedBox { RenderSolidColorBox(this.backgroundColor, { this.desired...
flutter/examples/layers/rendering/src/solid_color_box.dart/0
{ "file_path": "flutter/examples/layers/rendering/src/solid_color_box.dart", "repo_id": "flutter", "token_count": 450 }
627
<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-...
flutter/examples/platform_view/ios/Runner/Base.lproj/Main.storyboard/0
{ "file_path": "flutter/examples/platform_view/ios/Runner/Base.lproj/Main.storyboard", "repo_id": "flutter", "token_count": 7530 }
628
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; void main() { runApp( const DecoratedBox( decoration: BoxDecoration(color: Colors.white), child:...
flutter/examples/splash/lib/main.dart/0
{ "file_path": "flutter/examples/splash/lib/main.dart", "repo_id": "flutter", "token_count": 431 }
629
# Copyright 2014 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see # https://flutter.dev/docs/development/tools/flutter-fix # Please add new fixes to the top of the file...
flutter/packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml/0
{ "file_path": "flutter/packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml", "repo_id": "flutter", "token_count": 5780 }
630
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// Core Flutter framework primitives. /// /// The features defined in this library are the lowest-level utility /// classes and functions used by all the ...
flutter/packages/flutter/lib/foundation.dart/0
{ "file_path": "flutter/packages/flutter/lib/foundation.dart", "repo_id": "flutter", "token_count": 521 }
631
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'tween.dart'; export 'tween.dart' show Animatable; // Examples can assume: // late AnimationController myAnimationController; /// Enables creatin...
flutter/packages/flutter/lib/src/animation/tween_sequence.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/animation/tween_sequence.dart", "repo_id": "flutter", "token_count": 1849 }
632
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'dart:ui' show ImageFilter; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import '...
flutter/packages/flutter/lib/src/cupertino/dialog.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/dialog.dart", "repo_id": "flutter", "token_count": 29749 }
633
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'colors.dart'; // All values eyeballed. const double _kScrollbarMin...
flutter/packages/flutter/lib/src/cupertino/scrollbar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/scrollbar.dart", "repo_id": "flutter", "token_count": 2637 }
634
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/painting.dart'; import 'colors.dart'; const Color _kThumbBorderColor = Color(0x0A000000); const List<BoxShadow> _kSwitchBoxShado...
flutter/packages/flutter/lib/src/cupertino/thumb_painter.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/cupertino/thumb_painter.dart", "repo_id": "flutter", "token_count": 874 }
635
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection'; // COMMON SIGNATURES /// Signature for callbacks that report that an underlying value has changed. /// /// See also: /// /// *...
flutter/packages/flutter/lib/src/foundation/basic_types.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/basic_types.dart", "repo_id": "flutter", "token_count": 2408 }
636
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection'; /// A list optimized for the observer pattern when there are small numbers of /// observers. /// /// Consider using an [Observer...
flutter/packages/flutter/lib/src/foundation/observer_list.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/foundation/observer_list.dart", "repo_id": "flutter", "token_count": 1251 }
637
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'velocity_tracker.dart'; export 'dart:ui' show Offset, PointerDeviceKind; export 'velocity_tracker.dart...
flutter/packages/flutter/lib/src/gestures/drag_details.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/drag_details.dart", "repo_id": "flutter", "token_count": 2769 }
638
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'arena.dart'; import 'constants.dart'; import 'events.dart'; import 'recognizer.dart'; export 'dart:ui'...
flutter/packages/flutter/lib/src/gestures/tap.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/gestures/tap.dart", "repo_id": "flutter", "token_count": 8314 }
639
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // AUTOGENERATED FILE DO NOT EDIT! // This file was generated by vitool. part of material_animated_icons; // ignore: use_string_in_part_of_directives const...
flutter/packages/flutter/lib/src/material/animated_icons/data/event_add.g.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/animated_icons/data/event_add.g.dart", "repo_id": "flutter", "token_count": 98027 }
640
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'badge_theme.dart'; import 'color_scheme.dart'; import 'theme.dart'...
flutter/packages/flutter/lib/src/material/badge.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/badge.dart", "repo_id": "flutter", "token_count": 3380 }
641
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; impor...
flutter/packages/flutter/lib/src/material/calendar_date_picker.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/calendar_date_picker.dart", "repo_id": "flutter", "token_count": 17655 }
642
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'material_state.dart'; import '...
flutter/packages/flutter/lib/src/material/data_table_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/data_table_theme.dart", "repo_id": "flutter", "token_count": 3953 }
643
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; impor...
flutter/packages/flutter/lib/src/material/dropdown_menu.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/dropdown_menu.dart", "repo_id": "flutter", "token_count": 13296 }
644
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'material_state.dart'; /// D...
flutter/packages/flutter/lib/src/material/floating_action_button_theme.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/floating_action_button_theme.dart", "repo_id": "flutter", "token_count": 4234 }
645
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'dart:ui' show lerpDouble; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'p...
flutter/packages/flutter/lib/src/material/input_decorator.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/input_decorator.dart", "repo_id": "flutter", "token_count": 63016 }
646
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/widgets.dart'; import 'color_scheme.dart'; import 'colors.dart'; import 'elevation_overlay.dart'; import 'ink_well.dart'; import '...
flutter/packages/flutter/lib/src/material/navigation_bar.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/navigation_bar.dart", "repo_id": "flutter", "token_count": 16427 }
647
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'color_scheme.dart'; import 'colors.dart'; import 'constants.dar...
flutter/packages/flutter/lib/src/material/radio.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/radio.dart", "repo_id": "flutter", "token_count": 8876 }
648
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter/rendering.dart'; import 'adaptive_text_selection_toolbar.dart'; import 'debug.dart'; impo...
flutter/packages/flutter/lib/src/material/selection_area.dart/0
{ "file_path": "flutter/packages/flutter/lib/src/material/selection_area.dart", "repo_id": "flutter", "token_count": 1436 }
649