This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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:liquid_glass_demo/liquid_glass_effects.dart'; | |
class CardExample extends StatelessWidget { | |
const CardExample({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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:liquid_glass_demo/card_example.dart'; | |
class CardExampleApp extends StatelessWidget { | |
const CardExampleApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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 liquid glass texture | |
// ignore_for_file: avoid_classes_with_only_static_members | |
import 'dart:math' as math; | |
import 'dart:ui'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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:flex_color_scheme/flex_color_scheme.dart'; | |
import 'package:flutter/material.dart'; | |
/// DesignSystemColorScheme is a way to enforce | |
/// Material 3 Expressive within the FlexColorScheme generation | |
/// via the fromSeeds constructor. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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:flex_color_scheme/flex_color_scheme.dart'; | |
import 'package:flutter/material.dart'; | |
/// schemeLight in conjunction with DesignSystemColorScheme enforce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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:userinterface/core/widgets/canonical_layout_models.dart'; | |
/// FlexPaneNotitier is to pass the FlexPaneModel view-model | |
/// as an observer into the two pane canonical layout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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'; | |
/// StartEndPaneEnum as we need in the FlexContentPane to | |
/// know whether its a start or end pane per from the parent | |
/// CustomTwoPane layout. | |
/// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Copyright (c) Microsoft Corporation. | |
/// Licensed under the MIT License. | |
import 'dart:math' as math; | |
import 'dart:ui' show DisplayFeature; | |
import 'package:flutter/widgets.dart'; | |
/// A widget that positions two panes side by side on uninterrupted screens or | |
/// on either side of a separating [DisplayFeature] on screens interrupted by a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter_box_transform/flutter_box_transform.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2025 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_classes_with_only_static_members, avoid_bool_literals_in_conditional_expressions | |
import 'package:flutter/material.dart'; | |
import 'package:userinterface/core/utils/window_size_enum.dart'; | |
/// Helper class for defining breakpoints in a responsive UI design. |
NewerOlder