提交 96cb5439 authored 作者: JarvanMo's avatar JarvanMo

fix lint issue

上级 edd3bb9f
...@@ -37,3 +37,4 @@ example/.pub-cache/ ...@@ -37,3 +37,4 @@ example/.pub-cache/
example/.pub/ example/.pub/
example/build/ example/build/
example example
example/android/app/debug.keystore
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
// of your plugin as a separate package, instead of inlining it in the same // of your plugin as a separate package, instead of inlining it in the same
// package as the core of your plugin. // package as the core of your plugin.
// ignore: avoid_web_libraries_in_flutter // ignore: avoid_web_libraries_in_flutter
import 'dart:html' as html show window;
import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'method_channel/fluwx_platform_interface.dart'; import 'method_channel/fluwx_platform_interface.dart';
......
...@@ -145,7 +145,7 @@ class WeChatShareImageModel extends WeChatShareModel { ...@@ -145,7 +145,7 @@ class WeChatShareImageModel extends WeChatShareModel {
this.messageExt, this.messageExt,
this.compressThumbnail = true, this.compressThumbnail = true,
this.msgSignature}) this.msgSignature})
: this.thumbnail = thumbnail ?? source; : thumbnail = thumbnail ?? source;
final WeChatImage source; final WeChatImage source;
final WeChatImage thumbnail; final WeChatImage thumbnail;
...@@ -288,7 +288,7 @@ class WeChatShareWebPageModel extends WeChatShareModel { ...@@ -288,7 +288,7 @@ class WeChatShareWebPageModel extends WeChatShareModel {
this.msgSignature, this.msgSignature,
this.compressThumbnail = true, this.compressThumbnail = true,
}) : assert(webPage.isNotEmpty), }) : assert(webPage.isNotEmpty),
this.description = description ?? webPage; description = description ?? webPage;
final String webPage; final String webPage;
final WeChatImage? thumbnail; final WeChatImage? thumbnail;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论