Package settings_ui updated

This commit is contained in:
salvadordeveloper
2022-02-21 10:15:44 -07:00
parent 25a5bafa2a
commit 0a0a249b7a
5 changed files with 19 additions and 19 deletions

View File

@ -26,9 +26,9 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec
integration_test: 7db6d89f336f671dcbc7563ee27a5b08f6f8aee1
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
COCOAPODS: 1.10.1
COCOAPODS: 1.10.2

View File

@ -155,7 +155,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
@ -355,7 +355,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = M63FJ72T54;
DEVELOPMENT_TEAM = 96WDB89F88;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@ -492,7 +492,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = M63FJ72T54;
DEVELOPMENT_TEAM = 96WDB89F88;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@ -523,7 +523,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = M63FJ72T54;
DEVELOPMENT_TEAM = 96WDB89F88;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -35,11 +35,11 @@ class SettingScreen extends HookConsumerWidget {
contentPadding: EdgeInsets.zero,
sections: [
SettingsSection(
title: LocaleKeys.languageSection.tr(),
title: Text(LocaleKeys.languageSection.tr()),
tiles: [
SettingsTile(
title: LocaleKeys.language.tr(),
subtitle: details.currentLanguage.tr(),
title: Text(LocaleKeys.language.tr()),
value: Text(details.currentLanguage.tr()),
leading: Icon(Icons.language),
onPressed: (BuildContext ctx) =>
showLenguageSelectionDialog(
@ -47,30 +47,30 @@ class SettingScreen extends HookConsumerWidget {
],
),
SettingsSection(
title: LocaleKeys.dataSection.tr(),
title: Text(LocaleKeys.dataSection.tr()),
tiles: [
SettingsTile(
title: LocaleKeys.exchange.tr(),
subtitle: details.favoriteExchange,
title: Text(LocaleKeys.exchange.tr()),
value: Text(details.favoriteExchange),
leading: Icon(Icons.graphic_eq),
onPressed: (BuildContext context) =>
showExchangeSelectDialog(
context, ref, exchanges),
),
SettingsTile(
title: LocaleKeys.topPair.tr(),
subtitle: details.favoritePair,
title: Text(LocaleKeys.topPair.tr()),
value: Text(details.favoritePair),
leading: Icon(Icons.language),
onPressed: (BuildContext context) =>
showTopPairSelectDialog(context, ref, pairs)),
],
),
SettingsSection(
title: LocaleKeys.designSection.tr(),
title: Text(LocaleKeys.designSection.tr()),
tiles: [
SettingsTile(
title: LocaleKeys.appTheme.tr(),
subtitle: details.themeMode,
title: Text(LocaleKeys.appTheme.tr()),
value: Text(details.themeMode),
leading: Icon(Icons.graphic_eq),
onPressed: (BuildContext context) =>
showThemeSelectDialog(

View File

@ -29,7 +29,7 @@ dependencies:
dio: ^4.0.0
flutter_dotenv: ^5.0.0
fl_chart: ^0.36.1
settings_ui: ^1.0.0
settings_ui: ^2.0.2
auto_size_text: ^3.0.0-nullsafety.0
flutter_secure_storage: ^4.1.0
easy_localization: ^3.0.0