fix error label

This commit is contained in:
Salvatore Giordano
2020-11-13 11:35:40 +01:00
parent 44dc5c24ae
commit c113862005
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -104,7 +104,7 @@ class _AdvancedOptionsPageState extends State<AdvancedOptionsPage> {
fillColor: Color(0xffF5F5F5),
filled: true,
labelText:
'Chat API Key ${_apiKeyError != null ? ': $_apiKeyError' : ''}',
'Chat API Key ${_apiKeyError != null ? ':$_apiKeyError' : ''}',
),
textInputAction: TextInputAction.next,
),
@@ -149,7 +149,7 @@ class _AdvancedOptionsPageState extends State<AdvancedOptionsPage> {
fillColor: Color(0xffF5F5F5),
filled: true,
labelText:
'User ID ${_userIdError != null ? ': $_userIdError' : ''}',
'User ID ${_userIdError != null ? ':$_userIdError' : ''}',
),
),
),
@@ -194,7 +194,7 @@ class _AdvancedOptionsPageState extends State<AdvancedOptionsPage> {
fillColor: Color(0xffF5F5F5),
filled: true,
labelText:
'User Token ${_userTokenError != null ? ': $_userTokenError' : ''}',
'User Token ${_userTokenError != null ? ':$_userTokenError' : ''}',
),
),
),
@@ -265,7 +265,6 @@ class _AdvancedOptionsPageState extends State<AdvancedOptionsPage> {
),
);
print('CREATE CLIENT');
final client = Client(
apiKey,
logLevel: Level.INFO,
+1 -1
View File
@@ -1,6 +1,6 @@
name: example
description: A new Flutter project.
version: 1.0.56+58
version: 1.0.57+59
environment:
sdk: ">=2.2.2 <3.0.0"