by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    RandalSchwartz @RandalSchwartz hits head on desk
    Randal L. Schwartz
    @RandalSchwartz
    ouch!
    Ephenodrom
    @Ephenodrom
    but you can already switch to flutter
    as randal mention a few lines above
    Randal L. Schwartz
    @RandalSchwartz
    yeah, flutter is being folded into the core on the master branch.
    flutter-web
    might have some issues during the integration, but I used it the other day.
    Ephenodrom
    @Ephenodrom
    works quite good
    just having some problems with hot reload
    Randal L. Schwartz
    @RandalSchwartz
    yeah, hot reload not yet available for flutter-web
    just hot-restart
    and I’ve found that to be a bit dicey
    Ephenodrom
    @Ephenodrom
    sometimes i got Another exception was thrown: NoSuchMethodError: invalid member on null: 'findRenderObject' and i have to restart the app with flutter run -d
    Dima Rostopira
    @rostopira
    @thomashbailey there is conditional import feature
    import 'io_impl.dart'
      if (dart.library.js) 'html_impl.dart';
    Export keyword supports this as well
    both imported files should have same classes names/methods/arguments if they are used in target file
    thomashbailey
    @thomashbailey
    That's nice to know. Thanks all.
    Ephenodrom
    @Ephenodrom
    Is it possible to make a <a> tag inside a flutter web app, to redirect to a certain url? Example I have a site and the app is under /app. Now within the app I want to redirect back to /home for example.
    Randal L. Schwartz
    @RandalSchwartz
    The router should be exposed in a useful way.
    I think it works the same way as core flutter.
    Ephenodrom
    @Ephenodrom
    I will give it a try
    Will try to recreate the bootstrap navbar in flutter so the app looks like ist fully integrated within the website.
    Randal L. Schwartz
    @RandalSchwartz
    I imagine with JS interop you can get the on-click of an <A> to perform a navigation
    Randal L. Schwartz
    @RandalSchwartz
    And there’s no need to use an <A>. Just include a button.
    安卓小哥
    @asjqkkkk
    Wula!
    Hello every one.
    jow blew
    @joeblew99
    Anyone seen examples using grpc-web with flutter web yet ?
    Randal L. Schwartz
    @RandalSchwartz
    flutter-web should have full JS interop.
    Actually, grpc looks to be implemented Dart native, so it should work even better.
    jhollar
    @jhollar
    sorry if this has already been address, but from the documentation I don't see how I can tell webdev to use a protocol of HTTPS. For example, if I run this flutter packages pub global run webdev serve --hostname 0.0.0.0 web:8766 - it launches the server but only supports HTTP. Yea, I could use an HTTP proxy but I was wondering if this feature is available now or planned. Thanks
    Randal L. Schwartz
    @RandalSchwartz
    I don’t see any option in the help messages. I imagine you’ll need to use a proxy. But why do you care about https while developing?
    jhollar
    @jhollar
    I’m testing access from within a container service which supports out bound traffic but it can’t be http. Having the flutter web support https would solve that issue. For now, I’ll just go with the forward proxy —- until flutter web supports https.
    Randal L. Schwartz
    @RandalSchwartz
    Thanks for the elaboration.
    Ron
    @ronpetit
    Hello everybody, I wanted to ask how flutter for web is progressing, anyone can make a rough estimate in when it could merge with the core framework?
    Randal L. Schwartz
    @RandalSchwartz
    Google cannot give dates because of https://en.wikipedia.org/wiki/Forward-looking_statement
    But you can watch the burn-down rate of the issues on github.
    And it’s alread partially there.
    Ephenodrom
    @Ephenodrom
    Currently running flutter with the core framework, switched to flutter master and removed all flutter_web imports
    Works quite good
    Ron
    @ronpetit
    Thanks for you answers
    Rob Halff
    @rhalff
    @Ephenodrom what is your setup precisely? Is all of flutter web merged into flutter master?
    Rob Halff
    @rhalff
    Was trying to support flutter for web components, but the singletons throughout the source code makes it a rather difficult task. e.g. domRenderer is kinda set in stone.
    That and everything being part of engine and part of ui makes breaking the code apart not very doable. But perhaps that's on purpose.
    Ephenodrom
    @Ephenodrom
    @rhalff you have to enable web via flutter enable-config - - web
    @rhalff then you have to switch to the master channel via flutter channel master
    After that you can create a new project via command line or change the pubapec of your existing project
    Remove everything of flutter_web and add flutter : sdk
    Rob Halff
    @rhalff
    @Ephenodrom but still flutter_web_ui will be used in the background right? flutter_web can be replaced with flutter, but the flutter_web_ui will be used by the web compiler, something like that?
    Ephenodrom
    @Ephenodrom
    Yes as I understand it