Giter Club home page Giter Club logo

flutter_ducafecat_news_getx's People

Contributors

ducafecat 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

flutter_ducafecat_news_getx's Issues

dio刷新token问题

因为dio升级到最新版,已经取消了lock,采用了新模式拦截器,请问能加上去刷新token的功能么?

添加两个参数就不报错了

The argument type 'RefreshConfiguration Function()' can't be assigned to the parameter type 'Widget Function(BuildContext, Widget?)',在main.dart中ScreenUtilInit的builder值报错

可以在我的开源项目里面直接copy你的代码吗?

我的项目使用了 木兰宽松许可证第二版(MulanPSL v2),并且我在你的代码里面没有看到任何”开源协议“

所以发一个 Issue ,向你请求”许可我’copy‘你的代码”?(如果你不同意,我会再收到你的确认后删除之)

你的文件 https://github.com/ducafecat/flutter_ducafecat_news_getx/blob/master/lib/common/services/storage.dart

我之后copy 过来了,https://gitee.com/imboy-pub/imboy-flutter/blob/dev/lib/service/storage.dart

Error with flutter 2.8.1

The argument type 'RefreshConfiguration Function()' can't be assigned to the parameter type 'Widget Function(BuildContext, Widget?)'.
2022-05-28_211117

can try adding (BuildContext context, Widget? widget).
2022-05-28_212145

Note that your app won't be available to users running Android SDKs below 19.
2022-05-28_211533

can try adding minSdkVersion 19.
2022-05-28_211716

Your project requires a newer version of the Kotlin Gradle plugin.
2022-05-28_211837

can try adding ext.kotlin_version = '1.5.30'.
2022-05-28_211952

BLANK screen on Desktop(Win10) and Web(Chrome)

when I ran :

flutter create .
flutter run -d chrome

I received the Error:

starting services ...
Error: Unsupported operation: Platform._operatingSystem
at Object.throw_ [as throw] (http://localhost:60292/dart_sdk.js:5041:11)
at Function._operatingSystem (http://localhost:60292/dart_sdk.js:53433:17)
at Function.get operatingSystem [as operatingSystem] (http://localhost:60292/dart_sdk.js:53479:27)
at get _operatingSystem (http://localhost:60292/dart_sdk.js:53392:27)
at Function.desc.get [as _operatingSystem] (http://localhost:60292/dart_sdk.js:5530:17)
at get isIOS (http://localhost:60292/dart_sdk.js:53416:26)
at Function.desc.get [as isIOS] (http://localhost:60292/dart_sdk.js:5530:17)
at global_config.GlobalConfigService.new.init
(http://localhost:60292/packages/flutter_ducafecat_news_getx/common/services/global_config.dart.lib.js:34:4 0)
at init.next ()
at runBody (http://localhost:60292/dart_sdk.js:37422:34)
at Object._async [as async] (http://localhost:60292/dart_sdk.js:37453:7)
at global_config.GlobalConfigService.new.init
(http://localhost:60292/packages/flutter_ducafecat_news_getx/common/services/global_config.dart.lib.js:32:2 0)
at http://localhost:60292/packages/flutter_ducafecat_news_getx/main.dart.lib.js:178:156
at get_instance.GetInstance..putAsync
(http://localhost:60292/packages/get/get_instance/src/get_instance.dart.lib.js:138:34)
at putAsync.next ()
at runBody (http://localhost:60292/dart_sdk.js:37422:34)
at Object._async [as async] (http://localhost:60292/dart_sdk.js:37453:7)
at get_instance.GetInstance.
.putAsync
(http://localhost:60292/packages/get/get_instance/src/get_instance.dart.lib.js:137:20)
at Inst$124putAsync
(http://localhost:60292/packages/get/get_instance/src/extension_instance.dart.lib.js:79:45)
at Inst$124putAsync.next ()
at runBody (http://localhost:60292/dart_sdk.js:37422:34)
at Object._async [as async] (http://localhost:60292/dart_sdk.js:37453:7)
at Object.Inst$124putAsync [as Inst|putAsync]
(http://localhost:60292/packages/get/get_instance/src/extension_instance.dart.lib.js:78:18)
at initServices (http://localhost:60292/packages/flutter_ducafecat_news_getx/main.dart.lib.js:178:48)
at initServices.next ()
at runBody (http://localhost:60292/dart_sdk.js:37422:34)
at Object._async [as async] (http://localhost:60292/dart_sdk.js:37453:7)
at Object.initServices
(http://localhost:60292/packages/flutter_ducafecat_news_getx/main.dart.lib.js:176:18)
at main$ (http://localhost:60292/packages/flutter_ducafecat_news_getx/main.dart.lib.js:171:18)
at main$.next ()
at runBody (http://localhost:60292/dart_sdk.js:37422:34)
at Object._async [as async] (http://localhost:60292/dart_sdk.js:37453:7)
at main$ (http://localhost:60292/packages/flutter_ducafecat_news_getx/main.dart.lib.js:170:18)
at main (http://localhost:60292/web_entrypoint.dart.lib.js:37:29)
at main.next ()
at http://localhost:60292/dart_sdk.js:37403:33
at _RootZone.runUnary (http://localhost:60292/dart_sdk.js:37274:59)
at _FutureListener.thenAwait.handleValue (http://localhost:60292/dart_sdk.js:32530:29)
at handleValueCallback (http://localhost:60292/dart_sdk.js:33057:49)
at Function._propagateToListeners (http://localhost:60292/dart_sdk.js:33095:17)
at _Future.new.[_completeWithValue] (http://localhost:60292/dart_sdk.js:32943:23)
at http://localhost:60292/dart_sdk.js:32194:46
at _RootZone.runUnary (http://localhost:60292/dart_sdk.js:37274:59)
at _FutureListener.then.handleValue (http://localhost:60292/dart_sdk.js:32530:29)
at handleValueCallback (http://localhost:60292/dart_sdk.js:33057:49)
at Function._propagateToListeners (http://localhost:60292/dart_sdk.js:33095:17)
at _Future.new.[_completeWithValue] (http://localhost:60292/dart_sdk.js:32943:23)
at async._AsyncCallbackEntry.new.callback (http://localhost:60292/dart_sdk.js:32964:35)
at Object._microtaskLoop (http://localhost:60292/dart_sdk.js:37526:13)
at _startMicrotaskLoop (http://localhost:60292/dart_sdk.js:37532:13)
at http://localhost:60292/dart_sdk.js:33303:9

It is the the easist way to debug a app on Desktop and Web devices. I guess maybe the project is not ready for Desktop and Web.

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.