Skip to content

Commit

Permalink
Version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
gabduss committed Oct 21, 2024
1 parent 7eafcc7 commit b40456d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 76 deletions.
2 changes: 1 addition & 1 deletion lib/widgets/cupertino_navigation_split_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class _CupertinoNavigationSplitViewState extends State<CupertinoNavigationSplitV
previousOrientation = orientation;
}

var isTablet = true; // TODO: dynamic
var isTablet = true;
final isLandscape = previousOrientation == Orientation.landscape;
NavigationSplitViewVisibility effectiveVisibilty;

Expand Down
68 changes: 32 additions & 36 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: flutter_cupertino_widgets
description: A new Flutter package project.

version: 0.0.7
version: 0.1.0

environment:
sdk: ">=2.17.1 <3.0.0"
sdk: ">=2.17.1"
flutter: ">=1.17.0"

dependencies:
Expand All @@ -15,40 +15,36 @@ dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:

# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware

# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages
# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware

# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages
37 changes: 0 additions & 37 deletions test/cupertino_navigation_split_view_test.dart

This file was deleted.

3 changes: 1 addition & 2 deletions test/test_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class TestApp extends StatelessWidget {
primaryColor: CupertinoColors.systemOrange,
),
home: Container(
color: CupertinoDynamicColor.maybeResolve(
CupertinoColors.systemBackground, context),
color: CupertinoDynamicColor.maybeResolve(CupertinoColors.systemBackground, context),
child: child,
),
);
Expand Down

0 comments on commit b40456d

Please sign in to comment.