Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Dart and Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.38.2'
flutter-version: '3.47.1'

- name: Disable Flutter telemetry
run: echo "FLUTTER_TELEMETRY_DISABLED=true" >> $GITHUB_ENV
Expand Down
125 changes: 58 additions & 67 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/lib/extension.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:alerter/alerter.dart';
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';

extension BuildContextExt on BuildContext {
void showSnackBar(String message) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:example/screens/cart_tab.dart';
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/auth_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:developer';

import 'package:example/constants.dart';
import 'package:example/extension.dart';
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

class AuthTab extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/blog_tab.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter/material.dart' hide Page;
import 'package:material_ui/material_ui.dart' hide Page;
import 'package:flutter_widget_from_html/flutter_widget_from_html.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/cart_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'dart:math' hide log;
import 'package:example/constants.dart';
import 'package:example/extension.dart';
import 'package:example/screens/checkout_webview.dart';
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

/// The first variant that can actually be bought, or null if none can.
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/checkout_webview.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

class WebViewCheckout extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/collection_tab.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

class CollectionTab extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/home_tab.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';
import 'product_detail_screen.dart';

Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/orders_tab.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

class OrdersTab extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/product_detail_screen.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

class ProductDetailScreen extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/search_tab.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

class SearchTab extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/shop_tab.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:shopify_flutter/shopify_flutter.dart';

class ShopTab extends StatefulWidget {
Expand Down
39 changes: 30 additions & 9 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.9"
cupertino_ui:
dependency: transitive
description:
name: cupertino_ui
sha256: "2137c0d41f3b62cc4d3d2495e6c354bd6b6133cd21c6bb155736cc31dbd49a11"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
dbus:
dependency: transitive
description:
Expand Down Expand Up @@ -302,6 +310,11 @@ packages:
url: "https://pub.dev"
source: hosted
version: "6.0.0"
flutter_localizations:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
flutter_svg:
dependency: transitive
description:
Expand Down Expand Up @@ -612,10 +625,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
sha256: "31bd099b47c10cd1aeb55146a2d46ce0277630ecef3f7dae54ad7873f36696cd"
url: "https://pub.dev"
source: hosted
version: "0.12.19"
version: "0.12.20"
material_color_utilities:
dependency: transitive
description:
Expand All @@ -624,14 +637,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.13.0"
material_ui:
dependency: "direct main"
description:
name: material_ui
sha256: "7ba1ca315d50a004791dbab290417c52a61466d56db2822fe3c5c2994903110c"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
meta:
dependency: transitive
description:
name: meta
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
sha256: "307249ce4ff29d58a18e97f6345f539382eb9c9c29ecda628900f31de0443dd9"
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.19.0"
nested:
dependency: transitive
description:
Expand Down Expand Up @@ -878,7 +899,7 @@ packages:
path: ".."
relative: true
source: path
version: "4.0.0"
version: "4.0.0+1"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -976,10 +997,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
sha256: "2a122cbe059f8b610d3a5415f42e255b6c17b1f21eee1d960f31080237fb4f11"
url: "https://pub.dev"
source: hosted
version: "0.7.11"
version: "0.7.12"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -1088,10 +1109,10 @@ packages:
dependency: transitive
description:
name: vector_math
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
sha256: f36f9f3be64c6198714492bb455c11056e33e2f85d9a0b676a48301e44fdcf47
url: "https://pub.dev"
source: hosted
version: "2.2.0"
version: "2.4.2"
video_player:
dependency: transitive
description:
Expand Down
4 changes: 3 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=3.0.3 <4.0.0"
sdk: ^3.12.0
flutter: ">=3.44.0"
dependencies:
flutter:
sdk: flutter
Expand All @@ -19,6 +20,7 @@ dependencies:
cupertino_icons: ^1.0.2
flutter_widget_from_html: ^0.17.1
alerter: ^1.0.2
material_ui: ^1.0.0

dev_dependencies:
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion example/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.

import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:example/main.dart';
Expand Down
9 changes: 1 addition & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shopify_flutter
description: A Flutter package to seamlessly connect your Shopify store with your app.
version: 4.0.0
version: 4.0.1
repository: https://github.com/imsujan276/shopify_flutter
issue_tracker: https://github.com/imsujan276/shopify_flutter/issues

Expand All @@ -27,9 +27,6 @@ dependencies:
freezed_annotation: ^3.1.0
json_annotation: ^4.12.0
shared_preferences: ^2.5.5
# Keep the floor at 0.20.2: flutter_localizations (Flutter SDK) pins intl to
# exactly 0.20.2, so a higher floor makes this package unresolvable in any app
# that uses localizations.
intl: ">=0.20.2 <0.21.2"

dev_dependencies:
Expand All @@ -42,10 +39,6 @@ dev_dependencies:
# build toolchain (and its analyzer pin) into their runtime graph.
json_serializable: ^6.14.0
freezed: ^3.2.5
# No explicit `analyzer` pin: nothing here imports it directly, it is only a
# transitive codegen dependency. Pinning it (e.g. ^10.2.0, which needs
# meta ^1.18.0) breaks resolution on Flutter SDKs whose flutter_test pins the
# older meta 1.17.0 — let pub pick an analyzer compatible with the active SDK.

screenshots:
- description: "Search Example of the shopify storefront"
Expand Down
Loading