Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Nov 2, 2023
1 parent 7626815 commit a47330c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/.fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "beta",
"flutterSdkVersion": "stable",
"flavors": {}
}
}
3 changes: 2 additions & 1 deletion example/lib/src/common/widget/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class App extends StatelessWidget {
const Locale('en', 'US'),
builder: (context, child) => MediaQuery(
data: MediaQuery.of(context).copyWith(
textScaler: TextScaler.noScaling,
/* textScaler: TextScaler.noScaling, */
textScaleFactor: 1,
),
child: WindowScope(
/* title: Localization.of(context).title, */
Expand Down
6 changes: 6 additions & 0 deletions example/lib/src/feature/chat/model/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ final class PlainMessage extends Message {
'version': version,
'createdAt': createdAt.millisecondsSinceEpoch ~/ 1000,
};

@override
String toString() => '$author: $text';
}

final class EncryptedMessage extends Message {
Expand Down Expand Up @@ -112,6 +115,9 @@ final class EncryptedMessage extends Message {
'version': version,
'createdAt': createdAt.millisecondsSinceEpoch ~/ 1000,
};

@override
String toString() => '$author: $text';
}

@immutable
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ dev_dependencies:
#flutter_gen_runner: ^5.3.1

# Linting
flutter_lints: ^2.0.1
flutter_lints: ^3.0.0


flutter:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies:
ws: ^1.0.0-pre.6

# Protocol Buffers
protobuf: ^3.0.0
protobuf: ^3.1.0

# Utilities
crypto: ^3.0.3
Expand All @@ -60,5 +60,5 @@ dependencies:
dev_dependencies:
build_runner: ^2.4.6
pubspec_generator: ^4.0.0
lints: ">=2.0.1 <4.0.0"
test: ^1.24.2
lints: ^3.0.0
test: ^1.24.4

0 comments on commit a47330c

Please sign in to comment.