repo_id
stringlengths
21
168
file_path
stringlengths
36
210
content
stringlengths
1
9.98M
__index_level_0__
int64
0
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/date_pickers.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class DatePickers extends StatefulWidget { ...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/navigation_drawer_section.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/destinations.dart'; import 'package:flutter/material.dart'; class NavigationDrawerSection extends StatefulWidget ...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/top_app_bars.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class TopAppBars extends StatelessWidget { ...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/text_fields.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/buttons_with_icon.dart
// Copyright 2024 Fredrick Allan Grott. 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'; class ButtonsWithIcon extends StatelessWidget { const ButtonsWithIcon({super.key}); @override Widget build...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/containment.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/bottom_shet_section.dart'; import 'package:custom_md3_demo_one/src/cards.dart'; import 'package:custom_md3_demo_on...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/progress_indicators.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class ProgressIndicators extends StatefulWidg...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/search_anchors.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/color_item.dart'; import 'package:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/mate...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/component_group_decoration.dart
// Copyright 2024 Fredrick Allan Grott. 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'; class ComponentGroupDecoration extends StatelessWidget { const ComponentGroupDecoration({super.key, required th...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/destinations.dart
// Copyright 2024 Fredrick Allan Grott. 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'; class ExampleDestination { const ExampleDestination(this.label, this.icon, this.selectedIcon); final String ...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/snack_bar_section.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class SnackBarSection extends StatelessWidget...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/second_component_list.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/build_slivers.dart'; import 'package:custom_md3_demo_one/src/navigation.dart'; import 'package:custom_md3_demo_one...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/radios.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class Radios extends StatefulWidget { const...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/navigation_bars.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/bar_destinations.dart'; import 'package:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutte...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/dividers.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class Dividers extends StatelessWidget { co...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/constantts.dart
// Copyright 2024 Fredrick Allan Grott. 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'; // NavigationRail shows if the screen width is greater or equal to // narrowScreenWidthThreshold; otherwise, Navi...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/single_choice.dart
// Copyright 2024 Fredrick Allan Grott. 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'; enum Calendar { day, week, month, year } class SingleChoice extends StatefulWidget { const SingleChoice({super...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/bottom_app_bars.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:custom_md3_demo_one/src/icon_button_anchor_example.dart'; import 'pack...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/color_item.dart
// Copyright 2024 Fredrick Allan Grott. 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'; enum ColorItem { red('red', Colors.red), orange('orange', Colors.orange), yellow('yellow', Colors.yellow), ...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/cips.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class Chips extends StatefulWidget { const ...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/buttons.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/buttons_with_icon.dart'; import 'package:custom_md3_demo_one/src/buttons_without_icon.dart'; import 'package:custo...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/icon_label.dart
// Copyright 2024 Fredrick Allan Grott. 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'; enum IconLabel { smile('Smile', Icons.sentiment_satisfied_outlined), cloud( 'Cloud', Icons.cloud_outl...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/floating_action_buttons.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class FloatingActionButtons extends Stateless...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/cards.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class Cards extends StatelessWidget { const...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/dialogs.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class Dialogs extends StatefulWidget { cons...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/segmented_buttons.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:custom_md3_demo_one/src/multiple_choice.dart'; import 'package:custom_...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/first_component_list.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/app_actions.dart'; import 'package:custom_md3_demo_one/src/build_slivers.dart'; import 'package:custom_md3_demo_on...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/navuigation_drawers.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:custom_md3_demo_one/src/navigation_drawer_section.dart'; import 'packa...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/bottom_shet_section.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/component_decoration.dart'; import 'package:flutter/material.dart'; class BottomSheetSection extends StatefulWidg...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/navigation.dart
// Copyright 2024 Fredrick Allan Grott. 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:custom_md3_demo_one/src/bottom_app_bars.dart'; import 'package:custom_md3_demo_one/src/component_group_decoration.dart'; import 'package:c...
0
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: The...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/fixed_accent_color_roles_extension.dart
// Copyright 2024 Fredrick Allan Grott. 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:material_color_utilities/material_color_utilities.dart'; /// Per issue 137683 Md3 gets fixed acce...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/platform_detection_extension.dart
// Copyright 2024 Fredrick Allan Grott. 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 Framework internals Theory: /// Platform.isNonWebPlatform calls crash on web platform /// and ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/disappearing_navigation_rail.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in sour...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/squircle_border.dart
// Copyright 2023 Fredrick Allan Grott. 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'; class SquircleBorder extends ShapeBorder { final BorderSide side; final double superRadius; const Squircle...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/focus_ring.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Orig Copyright (c) 2023 Simon Lightfoot under MIT Licnese // gist is here https://gist.github.com/slightfoot/907156540cf1e4ec60dbd96104769098 import...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/shape_animation.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/media_query_ext.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from GSkinner flutter sizeed context // Under MIT License 2019 import 'dart:math'; import 'package:flutter/material.dart'; import 'package...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/top_bar_transition.dart
// Copyright 2024 Fredrick Allan Grott. 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_custom_helpers/_mine/offset_animation.dart'; import 'package:flutter_custom_helpers/_mine/...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/disappearing_buttom_navigation_bar.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in sour...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/rail_animation.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/animated_floating_action_button.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in sour...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/offset_animation.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/foldable_ext.dart
import 'dart:ui'; import 'package:flutter/widgets.dart'; /// Extension method that helps with working with the hinge specifically. /// [Dual Screen TwoPane] has a pane priority /// Setting to diaplay both panes if not foldable and thus /// we use this to set such things up in singleScreen detection: /// /// ```dart...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/rail_fab_animation .dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/scale_animation.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/drag_scroll_behavior_configuration.dart
// Copyright 2023 Fredrick Allan Grott. 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'; /// A customized scroll behavior that enables dragging using both touch a...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/window_size_enum.dart
/// Enum representing the possible layouts in the responsive UI design. enum WindowSizeEnum { /// The compact layout, for screens with width less than 600 pixels. compact(0, 600), /// The medium layout, for screens with width between 600 and 840 pixels. medium(600, 840), /// The extended layout, for scre...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/pane_container.dart
// Copyright 2024 Fredrick Allan Grott. 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'; /// The [PaneContainerWidget] is a wrapper widget for widgets that are inserted inside the /// [PageLayout]. The ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/size_animation.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source ...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/surface_color_roles_extension.dart
// Copyright 2024 Fredrick Allan Grott. 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:material_color_utilities/material_color_utilities.dart'; /// Material Design 3 breaking change...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/bar_animation.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in sour...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/bottom_bar_transition.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in sour...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/lib/_mine/nav_rail_transition.dart
// Copyright 2024 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Modified from Codelabs examples, original license is // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in sour...
0
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers
mirrored_repositories/master_flutter/fredgrotts_helper_stack/flutter_custom_helpers/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/layout_guides/axis_guide
mirrored_repositories/master_flutter/layout_guides/axis_guide/lib/main.dart
// Center of the screen // --------------- // | | // | | // | | // | | // | xxxx | // | | // | | // | | // | | // --------------- /** * Material */ import 'package:flutter/material....
0
mirrored_repositories/master_flutter/layout_guides/axis_guide
mirrored_repositories/master_flutter/layout_guides/axis_guide/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/layout_guides/layout_widgets_guide
mirrored_repositories/master_flutter/layout_guides/layout_widgets_guide/lib/main.dart
import 'package:flutter/material.dart'; void main() => runApp(HomePage()); const red = Colors.red; const green = Colors.green; const blue = Colors.blue; const big = const TextStyle(fontSize: 30); ////////////////////////////////////////////////// class HomePage extends StatelessWidget { @override Widget build(B...
0
mirrored_repositories/master_flutter/layout_guides/layout_widgets_guide
mirrored_repositories/master_flutter/layout_guides/layout_widgets_guide/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/goldens
mirrored_repositories/master_flutter/devops/goldens/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: The...
0
mirrored_repositories/master_flutter/devops/goldens
mirrored_repositories/master_flutter/devops/goldens/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/goldens
mirrored_repositories/master_flutter/devops/goldens/test/flutter_text_config.dart
import 'dart:async'; import 'package:alchemist/alchemist.dart'; Future<void> testExecutable(FutureOr<void> Function() testMain) async { return AlchemistConfig.runWithConfig( config: AlchemistConfig( // Configure the config here. ), run: testMain, ); }
0
mirrored_repositories/master_flutter/devops/logging_exceptions
mirrored_repositories/master_flutter/devops/logging_exceptions/lib/main.dart
import 'package:flutter/material.dart'; void main() { // init app logging AppLogging(); Catcher2( rootWidget: MyApp(), releaseConfig: releaseOptions, debugConfig: debugOptions, ); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your app...
0
mirrored_repositories/master_flutter/devops/logging_exceptions/lib
mirrored_repositories/master_flutter/devops/logging_exceptions/lib/src/app_logging.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // ignore_for_file: unused_local_variable import 'dart:developer'; import 'package:logging/logging.dart'; import 'package:logging_appenders/logging_appe...
0
mirrored_repositories/master_flutter/devops/logging_exceptions/lib
mirrored_repositories/master_flutter/devops/logging_exceptions/lib/src/custom_catcher_two_logger.dart
// Copyright 2023 Fredrick Allan Grott. 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:developer'; import 'package:catcher_2/catcher_2.dart'; /// CustomCatcherTwoLogger where the Dart developer log /// method is used to output...
0
mirrored_repositories/master_flutter/devops/logging_exceptions/lib
mirrored_repositories/master_flutter/devops/logging_exceptions/lib/src/catcher_two_options.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // ignore_for_file: avoid_redundant_argument_values import 'package:catcher_2/catcher_2.dart'; import 'package:catcher_two_demo/src/custom_catcher_two_lo...
0
mirrored_repositories/master_flutter/devops/logging_exceptions
mirrored_repositories/master_flutter/devops/logging_exceptions/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/launcher_splash_icons
mirrored_repositories/master_flutter/devops/launcher_splash_icons/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: The...
0
mirrored_repositories/master_flutter/devops/launcher_splash_icons
mirrored_repositories/master_flutter/devops/launcher_splash_icons/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main_profile.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main_release.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main_delegate.dart
import 'package:buildvariants_demo/main.dart'; void mainDelegate() => main();
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main_stagging.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main_preview.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride //DevopsConstants.setEnvironment(Environment.preview); //runApp(DevicePreview( //enabled: !kReleaseMode, // using...
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main.dart
import 'package:flutter/material.dart'; void main() { // init app logging AppLogging(); Catcher2( rootWidget: MyApp(), releaseConfig: releaseOptions, debugConfig: debugOptions, ); }
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/lib/main_debug.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/build_variants/lib
mirrored_repositories/master_flutter/devops/build_variants/lib/src/app_logging.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // ignore_for_file: unused_local_variable import 'dart:developer'; import 'package:logging/logging.dart'; import 'package:logging_appenders/logging_appe...
0
mirrored_repositories/master_flutter/devops/build_variants/lib
mirrored_repositories/master_flutter/devops/build_variants/lib/src/environment_config.dart
bool? isMockOverride; String? buildVariantOverride; bool? isMockDefine; String? buildVariantDefine; /// [EnvironmentConfig] assumptions are /// that there are gitignored files of /// debug.json /// release.json /// staging.json /// preview.json /// profile.json /// /// That sets th...
0
mirrored_repositories/master_flutter/devops/build_variants/lib
mirrored_repositories/master_flutter/devops/build_variants/lib/src/custom_catcher_two_logger.dart
// Copyright 2023 Fredrick Allan Grott. 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:developer'; import 'package:catcher_2/catcher_2.dart'; /// CustomCatcherTwoLogger where the Dart developer log /// method is used to output...
0
mirrored_repositories/master_flutter/devops/build_variants/lib
mirrored_repositories/master_flutter/devops/build_variants/lib/src/catcher_two_options.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // ignore_for_file: avoid_redundant_argument_values import 'package:catcher_2/catcher_2.dart'; import 'package:catcher_two_demo/src/custom_catcher_two_lo...
0
mirrored_repositories/master_flutter/devops/build_variants/lib/src
mirrored_repositories/master_flutter/devops/build_variants/lib/src/presentation/my_app.dart
class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( // This is the theme of your application. // // ...
0
mirrored_repositories/master_flutter/devops/build_variants/lib/src/presentation
mirrored_repositories/master_flutter/devops/build_variants/lib/src/presentation/screens/my_home_page.dart
class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); // This widget is the home page of your application. It is stateful, meaning // that it has a State object (defined below) that contains fields that affect // how it looks. // This class is the configuration for th...
0
mirrored_repositories/master_flutter/devops/build_variants
mirrored_repositories/master_flutter/devops/build_variants/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/ide_setup_one
mirrored_repositories/master_flutter/devops/ide_setup_one/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: The...
0
mirrored_repositories/master_flutter/devops/ide_setup_one
mirrored_repositories/master_flutter/devops/ide_setup_one/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/bdd
mirrored_repositories/master_flutter/devops/bdd/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: The...
0
mirrored_repositories/master_flutter/devops/bdd
mirrored_repositories/master_flutter/devops/bdd/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main_profile.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main_release.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main_delegate.dart
import 'package:buildvariants_demo/main.dart'; void mainDelegate() => main();
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main_stagging.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main_preview.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride //DevopsConstants.setEnvironment(Environment.preview); //runApp(DevicePreview( //enabled: !kReleaseMode, // using...
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main.dart
import 'package:flutter/material.dart'; void main() { // init app logging AppLogging(); Catcher2( rootWidget: MyApp(), releaseConfig: releaseOptions, debugConfig: debugOptions, ); }
0
mirrored_repositories/master_flutter/devops/device_preview_demo
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/main_debug.dart
void main() { // No need to directly call the enbironment config setup as it is // lazy loaded. In the story board case one uses overrides to // set isMockOverride and buildVariantOverride mainDelegate(); }
0
mirrored_repositories/master_flutter/devops/device_preview_demo/lib
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/src/app_logging.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // ignore_for_file: unused_local_variable import 'dart:developer'; import 'package:logging/logging.dart'; import 'package:logging_appenders/logging_appe...
0
mirrored_repositories/master_flutter/devops/device_preview_demo/lib
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/src/environment_config.dart
bool? isMockOverride; String? buildVariantOverride; bool? isMockDefine; String? buildVariantDefine; /// [EnvironmentConfig] assumptions are /// that there are gitignored files of /// debug.json /// release.json /// staging.json /// preview.json /// profile.json /// /// That sets th...
0
mirrored_repositories/master_flutter/devops/device_preview_demo/lib
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/src/custom_catcher_two_logger.dart
// Copyright 2023 Fredrick Allan Grott. 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:developer'; import 'package:catcher_2/catcher_2.dart'; /// CustomCatcherTwoLogger where the Dart developer log /// method is used to output...
0
mirrored_repositories/master_flutter/devops/device_preview_demo/lib
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/src/catcher_two_options.dart
// Copyright 2023 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // ignore_for_file: avoid_redundant_argument_values import 'package:catcher_2/catcher_2.dart'; import 'package:catcher_two_demo/src/custom_catcher_two_lo...
0
mirrored_repositories/master_flutter/devops/device_preview_demo/lib
mirrored_repositories/master_flutter/devops/device_preview_demo/lib/src/screen_shot_modes_plugin.dart
final screenShotModesPlugin = ScreenShotModesPlugin(processor: saveScreenShot, modes: listDevice); Future<String> saveScreenShot(DeviceScreenshotWithLabel screen) async { final String name = screen.label.join('/'); final path = join(Directory.current.path, 'screenshot', '$name.png'); final imageFile = File(pat...
0