Giter Club home page Giter Club logo

codermikehe / flutter_wechat Goto Github PK

View Code? Open in Web Editor NEW
670.0 27.0 180.0 15.87 MB

🔥🔥🔥 利用 Flutter 来高仿微信(WeChat) 7.0.0+ App,代码规范惊为天人、注释详解令人发指、细节处理精益求精、核心功能配备文档、接近98%还原度的原生App视觉体验。代码不多,注释多。(持续更新,敬请期待,欢迎Star和Fork…)

Home Page: https://github.com/CoderMikeHe/flutter_wechat

License: MIT License

Java 0.06% Objective-C 0.12% Dart 99.25% Ruby 0.56%
wechat flutter dart ios contacts ui provider

flutter_wechat's Introduction

Hi there 👋

  • 😄 你好~,我是 @CoderMikeHe,工作在深圳,一个略懂Objective-CSwiftVueFlutter的编程萌新。
  • 🌱 目前业余时间在学习SwiftVueFlutter等技术,学以致用的来精仿 微信 App,通过项目的实践,来打磨自己的技术。
  • 🔭 坚持业余时间分享一些工作中遇到的技术难题和实际解决方案,编写技术方案解决之道,希望能够传道、授业、解惑。
  • 📫 技术上有疑惑?理解上有问题?实现上有新方案?还请联系我,我非常乐意帮助!欢迎大神们多多指点🙏
  • ♥️ 代码如人,见字如面,开源不易,感谢Star

flutter_wechat's People

Contributors

codermikehe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_wechat's Issues

缺少_CupertinoAlertActionsRenderWidget

本地编译保存,提示lib/components/action_sheet/action_sheet.dart:1026:7: Error: The non-abstract class '_ActionButtonParentDataWidget' is missing implementations for these members:

  • ParentDataWidget.debugTypicalAncestorWidgetClass

无法运行

错误好多

lib/widgets/mainframe/applet.dart:1:8: Error: Not found: 'dart:wasm'
import 'dart:wasm';
       ^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:88:26: Error: Type 'DiagnosticableMixin' not found.
class PictureStream with DiagnosticableMixin {
                         ^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:192:44: Error: Type 'DiagnosticableMixin' not found.
abstract class PictureStreamCompleter with DiagnosticableMixin {
                                           ^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:88:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class PictureStream with DiagnosticableMixin {
      ^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:192:16: Error: The type 'DiagnosticableMixin' can't be mixed in.
abstract class PictureStreamCompleter with DiagnosticableMixin {
               ^
lib/routers/routers.dart:2:1: Error: 'Router' is imported from both 'package:fluro/src/router.dart' and 'package:flutter/src/widgets/router.dart'.
import 'package:flutter/material.dart';
^^^^^^
lib/main.dart:21:20: Error: 'Router' is imported from both 'package:flutter/src/widgets/router.dart' and 'package:fluro/src/router.dart'.
    final router = Router();
                   ^^^^^^
lib/main.dart:77:43: Error: Method not found: 'TypeMatcher'.
        context.ancestorStateOfType(const TypeMatcher<_RestartWidgetState>());
                                          ^^^^^^^^^^^
lib/main.dart:77:17: Error: The method 'ancestorStateOfType' isn't defined for the class 'BuildContext'.
 - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ancestorStateOfType'.
        context.ancestorStateOfType(const TypeMatcher<_RestartWidgetState>());
                ^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-0.2.6+1/lib/src/ui/my_app_bar.dart:240:57: Error: No named parameter with the name 'nullOk'.
    final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
                                                        ^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/material/scaffold.dart:2142:24: Context: Found this candidate, but the arguments don't match.
  static ScaffoldState of(BuildContext context) {
                       ^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-0.2.6+1/lib/src/ui/my_app_bar.dart:252:27: Error: The getter 'title' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'title'.
        widget.textTheme?.title ?? themeData.primaryTextTheme.title;
                          ^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-0.2.6+1/lib/src/ui/my_app_bar.dart:252:63: Error: The getter 'title' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'title'.
        widget.textTheme?.title ?? themeData.primaryTextTheme.title;
                                                              ^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-0.2.6+1/lib/src/ui/my_app_bar.dart:254:27: Error: The getter 'body1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'body1'.
        widget.textTheme?.body1 ?? themeData.primaryTextTheme.body1;
                          ^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flustars-0.2.6+1/lib/src/ui/my_app_bar.dart:254:63: Error: The getter 'body1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'body1'.
        widget.textTheme?.body1 ?? themeData.primaryTextTheme.body1;
                                                              ^^^^^
lib/widgets/loading_dialog/loading_dialog.dart:290:45: Error: No named parameter with the name 'shadowThemeOnly'.
  final ThemeData theme = Theme.of(context, shadowThemeOnly: true);
                                            ^^^^^^^^^^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/material/theme.dart:106:20: Context: Found this candidate, but the arguments don't match.
  static ThemeData of(BuildContext context) {
                   ^^
lib/components/app_bar/mh_app_bar.dart:450:57: Error: No named parameter with the name 'nullOk'.
    final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
                                                        ^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/material/scaffold.dart:2142:24: Context: Found this candidate, but the arguments don't match.
  static ScaffoldState of(BuildContext context) {
                       ^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_provider.dart:49:45: Error: No named parameter with the name 'nullOk'.
    locale: Localizations.localeOf(context, nullOk: true),
                                            ^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
  static Locale localeOf(BuildContext context) {
                ^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:167:11: Error: Superclass has no method named 'debugFillProperties'.
    super.debugFillProperties(properties);
          ^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:171:30: Error: The method 'toStringShort' isn't defined for the class 'PictureStreamCompleter'.
 - 'PictureStreamCompleter' is from 'package:flutter_svg/src/picture_stream.dart' ('/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringShort'.
      ifPresent: _completer?.toStringShort(),
                             ^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.2/lib/src/picture_stream.dart:266:11: Error: Superclass has no method named 'debugFillProperties'.
    super.debugFillProperties(description);
          ^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.3+4/lib/shared_preferences.dart:174:15: Error: The method 'setMockMethodCallHandler' isn't defined for the class 'MethodChannel'.
 - 'MethodChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/services/platform_channel.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setMockMethodCallHandler'.
    _kChannel.setMockMethodCallHandler((MethodCall methodCall) async {
              ^^^^^^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_slidable-0.5.4/lib/src/widgets/slidable.dart:246:20: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
 - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
    return context.inheritFromWidgetOfExactType(SlidableData);
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_slidable-0.5.4/lib/src/widgets/slidable.dart:541:17: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
 - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
        context.inheritFromWidgetOfExactType(_SlidableScope);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

debugFillProperties Command PhaseScriptExecution failed with a nonzero exit code

您好,我在学习flutter参考您的项目,项目写的挺好的,大大点赞
有遇到问题,xcode编译中中发下一个错误
`
../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:88:26: Error: Type 'DiagnosticableMixin' not found.
class PictureStream with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:192:44: Error: Type 'DiagnosticableMixin' not found.
abstract class PictureStreamCompleter with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:88:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class PictureStream with DiagnosticableMixin {
^
../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:192:16: Error: The type 'DiagnosticableMixin' can't be mixed in.
abstract class PictureStreamCompleter with DiagnosticableMixin {
^
../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:167:11: Error: Superclass has no method named 'debugFillProperties'.
super.debugFillProperties(properties);
^^^^^^^^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:171:30: Error: The method 'toStringShort' isn't defined for the class 'PictureStreamCompleter'.

  • 'PictureStreamCompleter' is from 'package:flutter_svg/src/picture_stream.dart' ('../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'toStringShort'.
    ifPresent: _completer?.toStringShort(),
    ^^^^^^^^^^^^^
    ../../../../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.2/lib/src/picture_stream.dart:266:11: Error: Superclass has no method named 'debugFillProperties'.
    super.debugFillProperties(description);
    ^^^^^^^^^^^^^^^^^^^

Command PhaseScriptExecution failed with a nonzero exit code
`
找到的解决方法为pubspec.yaml文件修改为’ flutter_svg: ^0.18.0‘重新flutter pub get即可
请指正

安卓启动页变形

请问安卓设备宽高比型号太多应该如何适配? demo中用的18:9的图片在一些设备上拉伸了效果很差,如何解决这个问题?

NavigatorUtils

splash_page 跳转主页面 调用NavigatorUtils时,会调 启动页的Widget
NavigatorUtils 中 FocusScope.of(context).unfocus(); 好像会重新绘制页面。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.