隐藏表情,更改界面颜色

master
章文轩 2 years ago
parent 3649631042
commit 2f283e495d

@ -12,6 +12,30 @@
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/build" /> <excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/.pub" /> <excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/.dart_tool" /> <excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows/example/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/bytedesk_kefu/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/bytedesk_kefu/example/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/bytedesk_kefu/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/shared_preferences_windows/example/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/shared_preferences_windows/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/shared_preferences_windows/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows/example/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/bytedesk_kefu/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/bytedesk_kefu/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/bytedesk_kefu/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/shared_preferences_windows/.pub" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/shared_preferences_windows/build" />
<excludeFolder url="file://$MODULE_DIR$/bytedesk_demo/windows/flutter/ephemeral/.plugin_symlinks/shared_preferences_windows/.dart_tool" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

File diff suppressed because it is too large Load Diff

@ -1,25 +1,25 @@
<component name="libraryTable"> <component name="libraryTable">
<library name="Dart SDK"> <library name="Dart SDK">
<CLASSES> <CLASSES>
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/async" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/async" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/cli" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/cli" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/collection" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/collection" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/convert" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/convert" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/core" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/core" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/developer" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/developer" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/ffi" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/ffi" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/html" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/html" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/indexed_db" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/indexed_db" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/io" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/io" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/isolate" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/isolate" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/js" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/js" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/js_util" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/js_util" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/math" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/math" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/mirrors" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/mirrors" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/svg" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/svg" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/typed_data" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/typed_data" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/web_audio" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/web_audio" />
<root url="file://$PROJECT_DIR$/../fvm/versions/2.10.2/bin/cache/dart-sdk/lib/web_gl" /> <root url="file://$PROJECT_DIR$/../fvm/versions/2.10.4/bin/cache/dart-sdk/lib/web_gl" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

@ -27,7 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android { android {
// compileSdkVersion flutter.compileSdkVersion // compileSdkVersion flutter.compileSdkVersion
compileSdkVersion 31 compileSdkVersion 33
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
@ -39,7 +39,7 @@ android {
applicationId "com.bytedesk.demo" applicationId "com.bytedesk.demo"
// minSdkVersion flutter.minSdkVersion // minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion // targetSdkVersion flutter.targetSdkVersion
minSdkVersion 19 minSdkVersion 21
targetSdkVersion 31 targetSdkVersion 31
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName

@ -46,8 +46,9 @@ dependencies:
# 请在ios/Podfile中添加use_frameworks! # 请在ios/Podfile中添加use_frameworks!
vibration: ^1.7.3 vibration: ^1.7.3
# 在线客服 https://pub.dev/packages/bytedesk_kefu # 在线客服 https://pub.dev/packages/bytedesk_kefu
bytedesk_kefu: ^1.4.1 #bytedesk_kefu: ^1.4.1
bytedesk_kefu:
path: ../bytedesk_kefu
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2

@ -193,9 +193,20 @@ class _ChatKFPageState extends State<ChatKFPage>
// //
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text(_title ?? '请求中, 请稍后...'), title: Text(_title ?? '请求中, 请稍后...',style: TextStyle(color: Color(0xFF333333),fontSize: 16),),
backgroundColor: Colors.white,
centerTitle: true, centerTitle: true,
elevation: 0, elevation: 0,
leading: IconButton(
icon: Icon(
Icons.arrow_back_ios,
size: 17,
color: Color(0xFF333333),
),
onPressed:
() {
Navigator.maybePop(context);
}),
actions: [ actions: [
// TODO: // TODO:
// TODO: // TODO:

@ -327,7 +327,7 @@ class MessageWidget extends StatelessWidget {
margin: EdgeInsets.only(left: 18, bottom: 2), margin: EdgeInsets.only(left: 18, bottom: 2),
child: Text( child: Text(
message!.nickname!, message!.nickname!,
style: TextStyle(fontSize: 10), style: TextStyle(fontSize: 10,color: Color(0xFF333333)),
), ),
), ),
// FIXME: 2.12null-safty // FIXME: 2.12null-safty
@ -742,7 +742,7 @@ class MessageWidget extends StatelessWidget {
child: Text( child: Text(
message!.timestamp ?? '', message!.timestamp ?? '',
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle(fontSize: 10.0), style: TextStyle(fontSize: 10.0,color: Color(0xFF333333)),
), ),
) )
], ],
@ -759,7 +759,7 @@ class MessageWidget extends StatelessWidget {
child: Text( child: Text(
message!.content ?? '', message!.content ?? '',
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle(fontSize: 10.0), style: TextStyle(fontSize: 10.0,color: Color(0xFF333333)),
), ),
) )
], ],

@ -452,7 +452,7 @@ class _ChatInputState extends State<ChatInput> with TickerProviderStateMixin {
child: Material( child: Material(
borderRadius: const BorderRadius.vertical(top: Radius.circular(10),), borderRadius: const BorderRadius.vertical(top: Radius.circular(10),),
//InheritedChatTheme.of(context).theme.inputBorderRadius, //InheritedChatTheme.of(context).theme.inputBorderRadius,
// color: Color.white, //Color(0xff1d1c21),//InheritedChatTheme.of(context).theme.inputBackgroundColor, color: Colors.white, //Color(0xff1d1c21),//InheritedChatTheme.of(context).theme.inputBackgroundColor,
child: Container( child: Container(
padding: EdgeInsets.fromLTRB( padding: EdgeInsets.fromLTRB(
_query.padding.left, _query.padding.left,
@ -504,7 +504,7 @@ class _ChatInputState extends State<ChatInput> with TickerProviderStateMixin {
), ),
), ),
// emoji // emoji
buildEmojiButton(), //buildEmojiButton(),
//extra //extra
_textController.text.isEmpty _textController.text.isEmpty
? buildExtra() ? buildExtra()

Loading…
Cancel
Save