Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Dec 10, 2023
1 parent 7ce3af7 commit df1cc35
Show file tree
Hide file tree
Showing 8 changed files with 183 additions and 159 deletions.
14 changes: 7 additions & 7 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ PODS:
- FlutterMacOS
- permission_handler_apple (9.1.1):
- Flutter
- Protobuf (3.24.3)
- Protobuf (3.25.1)
- reactive_ble_mobile (0.0.1):
- Flutter
- Protobuf (~> 3.5)
- SwiftProtobuf (~> 1.0)
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- SwiftProtobuf (1.23.0)
- SwiftProtobuf (1.25.2)
- url_launcher_ios (0.0.1):
- Flutter

Expand Down Expand Up @@ -55,17 +55,17 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
device_info_plus: 7545d84d8d1b896cb16a4ff98c19f07ec4b298ea
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
Protobuf: 970f7ee93a3a08e3cf64859b8efd95ee32b4f87f
Protobuf: d94761c33f1239c0a43a0817ca1a5f7f7c900241
reactive_ble_mobile: 9ce6723d37ccf701dbffd202d487f23f5de03b4c
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
SwiftProtobuf: b70d65f419fbfe61a2d58003456ca5da58e337d6
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
SwiftProtobuf: 407a385e97fd206c4fbe880cc84123989167e0d1
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3

COCOAPODS: 1.12.1
COCOAPODS: 1.14.3
7 changes: 7 additions & 0 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
Expand Down Expand Up @@ -324,6 +325,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -334,6 +336,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down Expand Up @@ -403,6 +406,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -413,6 +417,7 @@
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -458,6 +463,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -468,6 +474,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down
2 changes: 1 addition & 1 deletion lib/edit_bike.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class BikeSettingsWidgetState extends ConsumerState<BikeSettingsWidget> {
}

class CompleteForm extends ConsumerStatefulWidget {
const CompleteForm({Key? key, required this.bike}) : super(key: key);
const CompleteForm({super.key, required this.bike});
final BikeState bike;

@override
Expand Down
43 changes: 22 additions & 21 deletions lib/models.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,11 @@ class _$BikeStateCopyWithImpl<$Res, $Val extends BikeState>
}

/// @nodoc
abstract class _$$_BikeStateCopyWith<$Res> implements $BikeStateCopyWith<$Res> {
factory _$$_BikeStateCopyWith(
_$_BikeState value, $Res Function(_$_BikeState) then) =
__$$_BikeStateCopyWithImpl<$Res>;
abstract class _$$BikeStateImplCopyWith<$Res>
implements $BikeStateCopyWith<$Res> {
factory _$$BikeStateImplCopyWith(
_$BikeStateImpl value, $Res Function(_$BikeStateImpl) then) =
__$$BikeStateImplCopyWithImpl<$Res>;
@override
@useResult
$Res call(
Expand All @@ -153,11 +154,11 @@ abstract class _$$_BikeStateCopyWith<$Res> implements $BikeStateCopyWith<$Res> {
}

/// @nodoc
class __$$_BikeStateCopyWithImpl<$Res>
extends _$BikeStateCopyWithImpl<$Res, _$_BikeState>
implements _$$_BikeStateCopyWith<$Res> {
__$$_BikeStateCopyWithImpl(
_$_BikeState _value, $Res Function(_$_BikeState) _then)
class __$$BikeStateImplCopyWithImpl<$Res>
extends _$BikeStateCopyWithImpl<$Res, _$BikeStateImpl>
implements _$$BikeStateImplCopyWith<$Res> {
__$$BikeStateImplCopyWithImpl(
_$BikeStateImpl _value, $Res Function(_$BikeStateImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -175,7 +176,7 @@ class __$$_BikeStateCopyWithImpl<$Res>
Object? modeLock = null,
Object? selected = null,
}) {
return _then(_$_BikeState(
return _then(_$BikeStateImpl(
id: null == id
? _value.id
: id // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -226,8 +227,8 @@ class __$$_BikeStateCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_BikeState extends _BikeState {
const _$_BikeState(
class _$BikeStateImpl extends _BikeState {
const _$BikeStateImpl(
{required this.id,
required this.mode,
this.modeLocked = false,
Expand All @@ -245,8 +246,8 @@ class _$_BikeState extends _BikeState {
assert(assist <= 4),
super._();

factory _$_BikeState.fromJson(Map<String, dynamic> json) =>
_$$_BikeStateFromJson(json);
factory _$BikeStateImpl.fromJson(Map<String, dynamic> json) =>
_$$BikeStateImplFromJson(json);

@override
final String id;
Expand Down Expand Up @@ -285,7 +286,7 @@ class _$_BikeState extends _BikeState {
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_BikeState &&
other is _$BikeStateImpl &&
(identical(other.id, id) || other.id == id) &&
(identical(other.mode, mode) || other.mode == mode) &&
(identical(other.modeLocked, modeLocked) ||
Expand All @@ -312,12 +313,12 @@ class _$_BikeState extends _BikeState {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_BikeStateCopyWith<_$_BikeState> get copyWith =>
__$$_BikeStateCopyWithImpl<_$_BikeState>(this, _$identity);
_$$BikeStateImplCopyWith<_$BikeStateImpl> get copyWith =>
__$$BikeStateImplCopyWithImpl<_$BikeStateImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_BikeStateToJson(
return _$$BikeStateImplToJson(
this,
);
}
Expand All @@ -335,11 +336,11 @@ abstract class _BikeState extends BikeState {
required final String name,
final BikeRegion? region,
final bool modeLock,
final bool selected}) = _$_BikeState;
final bool selected}) = _$BikeStateImpl;
const _BikeState._() : super._();

factory _BikeState.fromJson(Map<String, dynamic> json) =
_$_BikeState.fromJson;
_$BikeStateImpl.fromJson;

@override
String get id;
Expand All @@ -365,6 +366,6 @@ abstract class _BikeState extends BikeState {
bool get selected;
@override
@JsonKey(ignore: true)
_$$_BikeStateCopyWith<_$_BikeState> get copyWith =>
_$$BikeStateImplCopyWith<_$BikeStateImpl> get copyWith =>
throw _privateConstructorUsedError;
}
5 changes: 3 additions & 2 deletions lib/models.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions lib/widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CategoryBoxes extends StatefulWidget {
final Function(bool isSelected)? onPressed;
final String? text;

const CategoryBoxes({Key? key, this.onPressed, this.text}) : super(key: key);
const CategoryBoxes({super.key, this.onPressed, this.text});

@override
State<CategoryBoxes> createState() => _CategoryBoxesState();
Expand Down Expand Up @@ -76,7 +76,7 @@ class DiscoverCard extends StatelessWidget {
final String? tag;
final bool selected;
const DiscoverCard(
{Key? key,
{super.key,
this.title,
this.subtitle,
this.gradientStartColor,
Expand All @@ -89,8 +89,7 @@ class DiscoverCard extends StatelessWidget {
this.onLongPress,
this.tag,
this.metric,
this.selected = true})
: super(key: key);
this.selected = true});

@override
Widget build(BuildContext context) {
Expand Down
Loading

0 comments on commit df1cc35

Please sign in to comment.