Skip to content

Commit

Permalink
⬆️ Upgrade Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
H2Sxxa committed Jul 24, 2024
1 parent 81c8557 commit 48fd099
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
9 changes: 6 additions & 3 deletions lib/models/config.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import 'package:arche/arche.dart';

class AppConfigs {
final ConfigEntry<T> Function<T>(String key) _generator;
AppConfigs(ArcheConfig config)
: _generator = ConfigEntry.withConfig(config, generateMap: true);
final ConfigEntryGenerator _generator;
AppConfigs(ArcheConfig config, [bool generateMap = true])
: _generator = ConfigEntry.withConfig(
config,
generateMap: generateMap,
);

ConfigEntry<String> get locale => _generator("locale");
ConfigEntry<String> get font => _generator("font");
Expand Down
16 changes: 8 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: "direct main"
description:
name: arche
sha256: b11a130d4ef9bbcf5c3651113b6e57ca0d35da60f8cc7a1ca495764015e0165d
sha256: e6fad855f61e769de0ab289413cd95f0685bdaefd444d11b51ffd69f8ed10422
url: "https://pub.dev"
source: hosted
version: "1.1.1"
version: "1.1.2"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -146,10 +146,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "4.0.0"
flutter_markdown:
dependency: "direct main"
description:
Expand Down Expand Up @@ -220,10 +220,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
markdown:
dependency: transitive
description:
Expand Down Expand Up @@ -337,10 +337,10 @@ packages:
dependency: "direct main"
description:
name: superuser
sha256: cdca4f5a2491db83b70aadc9060e52825eecf2758424cb0edf8137453fb4fd79
sha256: "9294b3d68406f47d74e80e4587e8f36a54baa34a068dae09731313b5769abbb5"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
version: "1.0.2"
superuser_interfaces:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ dependencies:
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
dynamic_color: ^1.7.0
arche: ^1.1.1
arche: ^1.1.2
bitsdojo_window: ^0.1.6
url_launcher: ^6.3.0
yaml: ^3.1.2
font_awesome_flutter: ^10.7.0
superuser: ^1.0.1
superuser: ^1.0.2
rinf: ^6.14.2
protobuf: ^3.1.0
system_fonts: ^1.0.1
Expand All @@ -56,7 +56,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: ^3.0.0
flutter_lints: ^4.0.0

# 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 48fd099

Please sign in to comment.