Giter Club home page Giter Club logo

flutternote's Introduction

Hi there 👋

I am 安卓小煜 who is a developer from China.

GIF


公众号 掘金 知乎 B 站 博客
安卓小煜👇 点我 点我 点我 点我

📈 GitHub Stats

zhanzengyu's GitHub stats Top Langs

flutternote's People

Contributors

zhanzengyu 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

Watchers

 avatar  avatar  avatar

flutternote's Issues

MediaQuery.of() called with a context that does not contain a MediaQuery

what I meet the question is directly return Scaffold

return new Scaffold(
        appBar: new AppBar(
          title: new Text('demo'),
        ),
        body:Text('test')
    );

instead of return MaterialApp is solve this question.

return new MaterialApp(
      home: new Scaffold(
        appBar: new AppBar(
          title: new Text('demo'),
        ),
        body:Text('test')
      ),
    );

flutter doctor 提示 iOS toolchain 有些错误

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
✗ Verify that all connected devices have been paired with this computer in Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
To update with Brew, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
连接 iOS 手机后运行 flutter doctor 提示
⣾Unhandled exception:
Exception: ideviceinfo returned an error:

#0 IMobileDevice.getInfoForDevice (package:flutter_tools/src/ios/mac.dart:141:9)

#1 IOSDevice.getAttachedDevices (package:flutter_tools/src/ios/devices.dart:156:55)

#2 IOSDevices.pollingGetDevices (package:flutter_tools/src/ios/devices.dart:112:57)
#3 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:166:52)

#4 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:94:46)

#5 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:687:54)

#6 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:111:52)
#7 Doctor.diagnose (package:flutter_tools/src/doctor.dart:184:41)
#8 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#9 Doctor.diagnose (package:flutter_tools/src/doctor.dart:174:24)
#10 DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:48:39)
#11 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#12 DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:34:42)
#13 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:401:18)
#14 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete. (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

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.