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/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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]. T...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib/_mine/breakpoints.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'; /// Helper class for defining breakpoints in a responsive UI design. class Breakpoints { /// Determines the cur...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib/models/data.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib/models/models.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib/animations/animations.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/lib/screens/feed.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_two/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/adaptive_responsive/adaptive_scaffold_one
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/main_app.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/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. // // Modified from codelabs, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/main.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/transitions/list_detail_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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/transitions/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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/transitions/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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/email_list_view.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/reply_list_view.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bin...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/email_widget.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bin...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/disappearing_bottom_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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/star_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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bin...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/widgets/search_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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/models/data.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/models/models.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/animations/animations.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one/lib/screens/feed.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, original license; // Copyright 2020 The Flutter Authors. All rights reserved. // // Redistribution and use in source and bina...
0
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_one
mirrored_repositories/master_flutter/adaptive_responsive/adaptive_scaffold_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/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/app.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:go_router/go_router.dart'; import 'package:gorouter_stateful_shell_route/main_shell_route_data.dar...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/notification_shell_branch_data.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:go_router/go_router.dart'; class NotificationsShellBranchData extends StatefulShellBranchData { const NotificationsShellBranchData(); ...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/notifications_sub_page_view.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 NotificationsSubPageView extends StatelessWidget { const NotificationsSubPageView({ required this....
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/home_shell_branch_data.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:go_router/go_router.dart'; class HomeShellBranchData extends StatefulShellBranchData { const HomeShellBranchData(); }
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/order_shell_branch_data.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:go_router/go_router.dart'; class OrdersShellBranchData extends StatefulShellBranchData { const OrdersShellBranchData(); }
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/orders_page_view.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 OrdersPageView extends StatelessWidget { const OrdersPageView({ required this.label, super.key, ...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/home_screen.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 HomeScreen extends StatelessWidget { const HomeScreen({super.key}); @override Widget build(BuildCont...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/main_shell_route_data.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'main_shell_route_data.dart'; // ************************************************************************** // GoRouterGenerator // ************************************************************************** List<RouteBase> get $appRoutes => [ $mainShellRouteDat...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/notifications_page_view.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:gorouter_stateful_shell_route/notifications_page_section.dart'; import 'package:gorouter_stateful_...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/home_page_view.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 HomePageView extends StatelessWidget { const HomePageView({ required this.label, super.key, });...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/main_shell_route_data.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:go_router/go_router.dart'; import 'package:gorouter_stateful_shell_route/home_route_data.dart'; im...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/notifications_page_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. enum NotificationsPageSection { latest, old, archive, }
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/orders_route_data.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:go_router/go_router.dart'; import 'package:gorouter_stateful_shell_route/orders_page_view.dart'; ...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/main.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:gorouter_stateful_shell_route/app.dart'; void main() => runApp(App());
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/home_route_data.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:go_router/go_router.dart'; import 'package:gorouter_stateful_shell_route/home_page_view.dart'; cl...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/notifications_route_data.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:go_router/go_router.dart'; import 'package:gorouter_stateful_shell_route/notifications_page_sectio...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/lib/main_page_view.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:go_router/go_router.dart'; class MainPageView extends StatelessWidget { const MainPageView({ ...
0
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route
mirrored_repositories/master_flutter/navigation_api/gorouter_stateful_shell_route/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/navigation_api/go_router_adaptive_scaffold
mirrored_repositories/master_flutter/navigation_api/go_router_adaptive_scaffold/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/navigation_api/go_router_adaptive_scaffold
mirrored_repositories/master_flutter/navigation_api/go_router_adaptive_scaffold/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/architecture/model_view_controller
mirrored_repositories/master_flutter/architecture/model_view_controller/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/architecture/model_view_controller
mirrored_repositories/master_flutter/architecture/model_view_controller/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/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/lib/my_app.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:separate_controller/my_app_stateless_view.dart'; class MyApp extends StatelessWidget { const M...
0
mirrored_repositories/master_flutter/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/lib/my_home_component_view.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:separate_controller/_mine/widget_view.dart'; import 'package:separate_controller/my_home_component...
0
mirrored_repositories/master_flutter/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/lib/my_app_stateless_view.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:separate_controller/_mine/stateless_view.dart'; import 'package:separate_controller/main.dart'; im...
0
mirrored_repositories/master_flutter/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/lib/my_home_component.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:separate_controller/my_home_controller.dart'; class MyHomeComponent extends StatefulWidget { co...
0
mirrored_repositories/master_flutter/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/lib/my_home_controller.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:separate_controller/my_home_component.dart'; import 'package:separate_controller/my_home_component...
0
mirrored_repositories/master_flutter/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/lib/main.dart
import 'package:flutter/material.dart'; import 'package:separate_controller/my_app.dart'; void main() { runApp(const MyApp()); }
0
mirrored_repositories/master_flutter/architecture/separate_controller/lib
mirrored_repositories/master_flutter/architecture/separate_controller/lib/_mine/stateless_view.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'; abstract class StatelessView<T1> extends StatelessWidget { final T1 widget; const StatelessView(this.widget, ...
0
mirrored_repositories/master_flutter/architecture/separate_controller/lib
mirrored_repositories/master_flutter/architecture/separate_controller/lib/_mine/widget_view.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'; abstract class WidgetView<T1, T2> extends StatelessWidget { final T2 state; T1 get widget => (state as State)...
0
mirrored_repositories/master_flutter/architecture/separate_controller
mirrored_repositories/master_flutter/architecture/separate_controller/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/state/inherited_pattern_two
mirrored_repositories/master_flutter/state/inherited_pattern_two/lib/app.dart
class App extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: ModelBinding<MyModel>( initialModel: const MyModel(), child: Scaffold( body: Center( child: ViewController(), ), ), ), ); } }
0
mirrored_repositories/master_flutter/state/inherited_pattern_two
mirrored_repositories/master_flutter/state/inherited_pattern_two/lib/model_binding.dart
class _ModelBindingScope<T> extends InheritedWidget { const _ModelBindingScope({ Key key, this.modelBindingState, Widget child }) : super(key: key, child: child); final _ModelBindingState<T> modelBindingState; @override bool updateShouldNotify(_ModelBindingScope oldWidget) => true; } class Mod...
0
mirrored_repositories/master_flutter/state/inherited_pattern_two
mirrored_repositories/master_flutter/state/inherited_pattern_two/lib/my_model.dart
class MyModel { const MyModel({ this.value = 0 }); final int value; @override bool operator ==(Object other) { if (identical(this, other)) return true; if (other.runtimeType != runtimeType) return false; final MyModel otherModel = other; return otherModel.value == value; } @ov...
0
mirrored_repositories/master_flutter/state/inherited_pattern_two
mirrored_repositories/master_flutter/state/inherited_pattern_two/lib/view_controller.dart
class ViewController extends StatelessWidget { @override Widget build(BuildContext context) { return RaisedButton( onPressed: () { final MyModel model = ModelBinding.of<MyModel>(context); ModelBinding.update<MyModel>(context, MyModel(value: model.value + 1)); }, child: Text('He...
0
mirrored_repositories/master_flutter/state/inherited_pattern_two
mirrored_repositories/master_flutter/state/inherited_pattern_two/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(App()); }
0
mirrored_repositories/master_flutter/state/inherited_pattern_two
mirrored_repositories/master_flutter/state/inherited_pattern_two/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/state/inherited_pattern_one
mirrored_repositories/master_flutter/state/inherited_pattern_one/lib/app.dart
class App extends StatelessWidget { const App({super.key}); @override Widget build(BuildContext context) { return InheritedCounter( child: MaterialApp( debugShowCheckedModeBanner: false, theme: ThemeData.dark(), home: const Home(), ), ); } }
0
mirrored_repositories/master_flutter/state/inherited_pattern_one
mirrored_repositories/master_flutter/state/inherited_pattern_one/lib/inherited_counter.dart
class InheritedCounter extends StatefulWidget { const InheritedCounter({ super.key, required this.child, }); final Widget child; static InheritedCounterState of(BuildContext context) { return context .dependOnInheritedWidgetOfExactType<_InheritedCounterScope>()! .state; } @ove...
0
mirrored_repositories/master_flutter/state/inherited_pattern_one
mirrored_repositories/master_flutter/state/inherited_pattern_one/lib/counter_model.dart
class CounterModel { CounterModel({this.value = 0}); int value; @override bool operator ==(Object other) => identical(this, other) || other is CounterModel && runtimeType == other.runtimeType && value == other.value; @override String toString() { return '${describeIden...
0
mirrored_repositories/master_flutter/state/inherited_pattern_one
mirrored_repositories/master_flutter/state/inherited_pattern_one/lib/main.dart
import 'package:flutter/material.dart'; void main() { runApp(const App()); }
0
mirrored_repositories/master_flutter/state/inherited_pattern_one
mirrored_repositories/master_flutter/state/inherited_pattern_one/lib/home.dart
class Home extends StatelessWidget { const Home({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('Inherited Counter'), ), body: const Center( child: CounterDisplay(), ), floatingActionButton: const Co...
0
mirrored_repositories/master_flutter/state/inherited_pattern_one
mirrored_repositories/master_flutter/state/inherited_pattern_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/md3_demo_proof_apps/custom_md3_demo_one
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_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/md3_demo_proof_apps/custom_md3_demo_one/lib
mirrored_repositories/master_flutter/md3_demo_proof_apps/custom_md3_demo_one/lib/src/icon_toggle_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 IconToggleButtons extends StatefulWidge...
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_button_anchor_example.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 IconButtonAnchorExample extends StatelessWidget { const IconButtonAnchorExample({super.key}); @overrid...
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/menus.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_label.dart'; import 'package:custom_md3_demo_one/src/component_decoration.dart'; import 'package:custom_md3_...
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_without_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 ButtonsWithoutIcon extends StatelessWidget { final bool isDisabled; const ButtonsWithoutIcon({super.ke...
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/build_slivers.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. // The heights information is used to override the `estimateMaxScrollOffset` and // provide a more accurate estimation for the max scroll offset. import '...
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/sliders.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 Sliders 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/switch_row.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 SwitchRow extends StatefulWidget { const SwitchRow({super.key, required this.isEnabled}); final bool i...
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_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 ColorLabel { blue('Blue', Colors.blue), pink('Pink', Colors.pink), green('Green', Colors.green), yel...
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/typography_screen.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 TypographyScreen extends StatelessWidget { const TypographyScreen({super.key}); @override Widget bui...
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/button_anchor_example.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 ButtonAnchorExample extends StatelessWidget { const ButtonAnchorExample({super.key}); @override Widg...
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/app_actions.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.dart'; import 'package:custom_md3_demo_one/src/component_group_decoration.dart'; import 'package:custom_md...
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_rail_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:flutter/material.dart'; class NavigationRailSection extends StatefulWidget { const NavigationRailSection({super.key}); @override S...
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/communication.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_group_decoration.dart'; import 'package:custom_md3_demo_one/src/navigation_bars.dart'; import 'package:c...
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/selection.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/checkboxes.dart'; import 'package:custom_md3_demo_one/src/cips.dart'; import 'package:custom_md3_demo_one/src/comp...
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/time_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 TimePickers 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/multiple_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 Sizes { extraSmall, small, medium, large, extraLarge } class MultipleChoice 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/elevation_screen.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 ElevationScreen extends StatelessWidget { const ElevationScreen({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/color_palettes_screen.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/gestures.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; const Widget divider = S...
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_inputs.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_group_decoration.dart'; import 'package:custom_md3_demo_one/src/text_fields.dart'; import 'package:flutt...
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/bar_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'; const List<NavigationDestination> appBarDestinations = [ NavigationDestination( tooltip: '', icon: Icon...
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_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 ComponentDecoration extends StatefulWidget { const ComponentDecoration({ super.key, required this...
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_rails.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_rail_section.dart'; import 'package...
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/switches.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/switch_row.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/tabs.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 Tabs extends StatefulWidget { const T...
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/checkboxes.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 Checkboxes extends StatefulWidget { c...
0