Skip to content

Commit

Permalink
#1678 moving to flutter 3.24+
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahmood74 committed Oct 7, 2024
1 parent 8e9a195 commit 84f19aa
Show file tree
Hide file tree
Showing 19 changed files with 43 additions and 41 deletions.
6 changes: 3 additions & 3 deletions modules/auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ description: A new Flutter module project.
version: 1.0.0+1

environment:
sdk: ">=3.0.6 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
Expand All @@ -28,7 +28,7 @@ dependencies:
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

ensemble_ts_interpreter:
Expand Down
6 changes: 3 additions & 3 deletions modules/bracket/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.2.1 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
sdk: flutter
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

dev_dependencies:
Expand Down
6 changes: 3 additions & 3 deletions modules/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.0.1
homepage: https://github.com/EnsembleUI/ensemble_camera

environment:
sdk: ">=2.17.0 <=3.10.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
Expand All @@ -15,7 +15,7 @@ dependencies:
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble
ensemble_ts_interpreter:
git:
Expand Down
6 changes: 3 additions & 3 deletions modules/chat/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: A new Flutter package project.
version: 0.0.1

environment:
sdk: ">=3.0.5 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
Expand All @@ -13,7 +13,7 @@ dependencies:
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

ensemble_ts_interpreter:
Expand Down
6 changes: 3 additions & 3 deletions modules/connect/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ version: 0.0.1
homepage: https://github.com/EnsembleUI/ensemble_connect

environment:
sdk: ">=3.0.6 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
sdk: flutter
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

plaid_flutter: ^3.1.2
Expand Down
6 changes: 3 additions & 3 deletions modules/contacts/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ version: 0.0.1
homepage: https://github.com/EnsembleUI/ensemble_contacts

environment:
sdk: ">=3.0.6 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
sdk: flutter
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

flutter_contacts: ^1.1.7+1
Expand Down
6 changes: 3 additions & 3 deletions modules/deeplink/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ version: 0.0.1
homepage: https://github.com/EnsembleUI/ensemble_deeplink

environment:
sdk: ">=3.2.1 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
sdk: flutter
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

flutter_branch_sdk: ^7.0.1
Expand Down
2 changes: 1 addition & 1 deletion modules/device_preview/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Approximate how your Flutter app looks and performs on another devi
homepage: https://github.com/aloisdeniel/flutter_device_preview

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=3.5.0'

dependencies:
flutter:
Expand Down
12 changes: 6 additions & 6 deletions modules/ensemble/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description: Ensemble Runtime
version: 1.0.9

environment:
sdk: ">=3.0.6 <4.0.0"
sdk: ">=3.5.0"
flutter: '>=3.24.0'

dependencies:
Expand All @@ -45,20 +45,20 @@ dependencies:
ensemble_icons:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: main
ref: 1678_flutter_3.24
path: modules/ensemble_icons

ensemble_ts_interpreter:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: main
ref: 1678_flutter_3.24
path: modules/ensemble_ts_interpreter

# use our forked high_chart to fix iOS issue
high_chart:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: main
ref: 1678_flutter_3.24
path: modules/high_chart

event_bus: ^2.0.0
Expand All @@ -68,7 +68,7 @@ dependencies:
otp_pin_field:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: main
ref: 1678_flutter_3.24
path: modules/otp_pin_field
form_validator: ^2.1.1
flutter_svg: ^2.0.7
Expand All @@ -82,7 +82,7 @@ dependencies:
js_widget:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: main
ref: 1678_flutter_3.24
path: modules/js_widget
flutter_markdown: ^0.6.10+5
provider: ^6.0.3
Expand Down
2 changes: 1 addition & 1 deletion modules/ensemble_icons/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description: A new Flutter module project.
version: 0.0.1+1

environment:
sdk: '>=3.0.6 <4.0.0'
sdk: '>=3.5.0'

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion modules/ensemble_ts_interpreter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ documentation: https://github.com/EnsembleUI/ensemble_ts_interpreter
version: 1.0.0+1

environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ">=3.5.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 2 additions & 2 deletions modules/firebase_analytics/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=3.3.1 <4.0.0'
sdk: '>=3.5.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand All @@ -40,7 +40,7 @@ dependencies:
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion modules/high_chart/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2.0.2
homepage: https://github.com/senthilnasa/high_chart

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.5.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion modules/js_widget/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.17.1 <3.0.0"
sdk: ">=3.5.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 3 additions & 1 deletion modules/location/lib/widget/maps/widget_to_marker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,16 @@ extension ToBitmapDescriptor on Widget {
Future<(Uint8List, int, int)> _createImageFromWidget(Widget widget) async {
final repaintBoundary = RenderRepaintBoundary();
final view = ui.PlatformDispatcher.instance.views.first;
var logicalSize = view.physicalSize / view.devicePixelRatio;
final renderView = RenderView(
view: view,
child: RenderPositionedBox(
alignment: Alignment.center,
child: repaintBoundary,
),
configuration: ViewConfiguration(
size: view.physicalSize,
physicalConstraints: BoxConstraints.tight(logicalSize) * view.devicePixelRatio,
logicalConstraints: BoxConstraints.tight(logicalSize),
devicePixelRatio: view.devicePixelRatio,
),
);
Expand Down
2 changes: 1 addition & 1 deletion modules/location/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

ensemble_ts_interpreter:
Expand Down
4 changes: 2 additions & 2 deletions modules/otp_pin_field/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 1.2.2
homepage: https://github.com/shivbo96/otp_pin_field

environment:
sdk: ">=2.18.0 <4.0.0"
flutter: ">=1.17.0"
sdk: ">=3.5.0"
flutter: ">=3.24.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion modules/parsejs_null_safety/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage: https://ensembleui.com
repository: https://github.com/kmahmood74/parsejs_null_safety.dart

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=3.5.0'

dependencies:
unicode: '>=0.0.8 <1.0.0'
4 changes: 2 additions & 2 deletions starter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=3.0.6 <4.0.0"
sdk: ">=3.5.0"
flutter: '>=3.24.0'

# Dependencies specify other packages that your package needs in order to work.
Expand All @@ -36,7 +36,7 @@ dependencies:
ensemble:
git:
url: https://github.com/EnsembleUI/ensemble.git
ref: ensemble-v1.0.9
ref: 1678_flutter_3.24
path: modules/ensemble

# Uncomment to enable camera module
Expand Down

0 comments on commit 84f19aa

Please sign in to comment.