Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte2036 committed Mar 15, 2024
1 parent c906848 commit 0117d46
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 44 deletions.
5 changes: 2 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class _ScanPageState extends State<ScanPage> {
class FTMSPage extends StatefulWidget {
final BluetoothDevice ftmsDevice;

const FTMSPage({Key? key, required this.ftmsDevice}) : super(key: key);
const FTMSPage({super.key, required this.ftmsDevice});

@override
State<FTMSPage> createState() => _FTMSPageState();
Expand Down Expand Up @@ -277,8 +277,7 @@ class _FTMSPageState extends State<FTMSPage> {
class MachineFeatureWidget extends StatefulWidget {
final BluetoothDevice ftmsDevice;

const MachineFeatureWidget({Key? key, required this.ftmsDevice})
: super(key: key);
const MachineFeatureWidget({super.key, required this.ftmsDevice});

@override
State<MachineFeatureWidget> createState() => _MachineFeatureWidgetState();
Expand Down
55 changes: 34 additions & 21 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ packages:
dependency: "direct main"
description:
name: cupertino_icons
sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
url: "https://pub.dev"
source: hosted
version: "1.0.5"
version: "1.0.6"
fake_async:
dependency: transitive
description:
Expand All @@ -66,10 +66,10 @@ packages:
dependency: transitive
description:
name: flutter_blue_plus
sha256: "2df6091f9f3f3dd13dba39e681e9591eb2c243c8aecebcbb737e5bc54ca77521"
sha256: a4e2e7d536f24dfc265a4eb43b63a1293bf6d972ddd243dc3ed2d900b38d9a4d
url: "https://pub.dev"
source: hosted
version: "1.20.8"
version: "1.31.16"
flutter_ftms:
dependency: "direct main"
description:
Expand All @@ -81,23 +81,28 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c
sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.1"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
lints:
dependency: transitive
description:
name: lints
sha256: "6b0206b0bf4f04961fc5438198ccb3a885685cd67d4d4a32cc20ad7f8adbe015"
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.dev"
source: hosted
version: "2.1.0"
version: "3.0.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -134,50 +139,58 @@ packages:
dependency: transitive
description:
name: permission_handler
sha256: "284a66179cabdf942f838543e10413246f06424d960c92ba95c84439154fcac8"
sha256: "74e962b7fad7ff75959161bb2c0ad8fe7f2568ee82621c9c2660b751146bfe44"
url: "https://pub.dev"
source: hosted
version: "11.0.1"
version: "11.3.0"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
sha256: f9fddd3b46109bd69ff3f9efa5006d2d309b7aec0f3c1c5637a60a2d5659e76e
sha256: "1acac6bae58144b442f11e66621c062aead9c99841093c38f5bcdcc24c1c3474"
url: "https://pub.dev"
source: hosted
version: "11.1.0"
version: "12.0.5"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5"
sha256: bdafc6db74253abb63907f4e357302e6bb786ab41465e8635f362ee71fd8707b
url: "https://pub.dev"
source: hosted
version: "9.1.4"
version: "9.4.0"
permission_handler_html:
dependency: transitive
description:
name: permission_handler_html
sha256: "54bf176b90f6eddd4ece307e2c06cf977fb3973719c35a93b85cc7093eb6070d"
url: "https://pub.dev"
source: hosted
version: "0.1.1"
permission_handler_platform_interface:
dependency: transitive
description:
name: permission_handler_platform_interface
sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4"
sha256: "23dfba8447c076ab5be3dee9ceb66aad345c4a648f0cac292c77b1eb0e800b78"
url: "https://pub.dev"
source: hosted
version: "3.12.0"
version: "4.2.0"
permission_handler_windows:
dependency: transitive
description:
name: permission_handler_windows
sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098
sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e"
url: "https://pub.dev"
source: hosted
version: "0.1.3"
version: "0.2.1"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc"
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
version: "2.1.8"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -249,4 +262,4 @@ packages:
version: "0.3.0"
sdks:
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=2.8.0"
flutter: ">=3.16.0"
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
flutter_lints: ^3.0.1

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down
2 changes: 1 addition & 1 deletion lib/src/ftms/characteristic/data/device/cross_trainer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ class CrossTrainer extends DeviceData {
DeviceDataFlag.remainingTimeFlag, 2, "second", 1),
];

CrossTrainer(ftmsData) : super(ftmsData);
CrossTrainer(super.ftmsData);
}
2 changes: 1 addition & 1 deletion lib/src/ftms/characteristic/data/device/indoor_bike.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ class IndoorBike extends DeviceData {
DeviceDataFlag.remainingTimeFlag, 2, "second", 1),
];

IndoorBike(ftmsData) : super(ftmsData);
IndoorBike(super.ftmsData);
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import 'package:flutter_ftms/flutter_ftms.dart';
import 'package:flutter_ftms/src/ftms/flag.dart';
import 'package:flutter_ftms/src/ftms/parameter_name.dart';

class DeviceDataParameterValue extends DeviceDataParameter {
final int value;
const DeviceDataParameterValue(
ParameterName name,
Flag? flag,
int size,
String unit,
num factor,
super.name,
super.flag,
super.size,
super.unit,
super.factor,
bool signed,
this.value,
) : super(name, flag, size, unit, factor, signed: signed);
) : super(signed: signed);

@override
String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'package:flutter_ftms/flutter_ftms.dart';
import 'package:flutter_ftms/src/ftms/characteristic/parameter.dart';

class MachineStatusParameter extends Parameter {
const MachineStatusParameter(size, unit, factor, {signed = false})
: super(size, unit, factor, signed: signed);
const MachineStatusParameter(super.size, super.unit, super.factor,
{super.signed = false});

MachineStatusParameterValue toMachineStatusParameterValue(int value) {
return MachineStatusParameterValue(size, unit, factor, signed, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ class MachineStatusParameterValue extends MachineStatusParameter {
final int value;

const MachineStatusParameterValue(
int size,
String unit,
num factor,
super.size,
super.unit,
super.factor,
bool signed,
this.value,
) : super(size, unit, factor, signed: signed);
) : super(signed: signed);
}
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ environment:
flutter: ">=1.17.0"

dependencies:
flutter_blue_plus: ^1.20.8
permission_handler: ^11.0.1
flutter_blue_plus: ^1.31.16
permission_handler: ^11.3.0
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^3.0.1

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

0 comments on commit 0117d46

Please sign in to comment.