Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Erin
    @Erinziyi
    any one try lottie in flutter?
           child: LottieView.fromFile(
              filePath: "assets/animation_books.json",
              autoPlay: true,
              loop: true,
              onViewCreated: onViewCreatedFile,
            ),
    dont know why cant work
    agreensh
    @agreensh
    @Erinziyi I didn't have success with that package, but I used https://github.com/simolus3/fluttie (though it doesn't have iOS support yet)
    Atakan Mert Kaya
    @Sekaiichi4_gitlab

    Anyone here who has experience with the Dart version of Chartjs?

    I am trying to create a chart that will scale my data based on its time,

    var xAx = charts.ChartXAxe(
        display: true,
        barThickness: 2,
        type: 'time',
        time: charts.TimeScale(
          parser: "HH:mm:ss",
          unit: 'hour',
          unitStepSize: 1,
          //round: 'hour', // this will round the data.
          tooltipFormat: "HH:mm:ss",
          displayFormats: charts.TimeDisplayFormat(hour: 'HH:mm:ss'),
        ),
      );

    putting this xAxis configuration inside of my ChartConfiguration

    var config = charts.ChartConfiguration(
        type: 'line',
        data: data,
        options: charts.ChartOptions(
          responsive: true,
          scales:
              charts.ChartScales<charts.TickOptions>(xAxes: [xAx], yAxes: [yAx]),
        ),
      );

    This, however, crashes without any error messages.

    agreensh
    @agreensh
    @Erinziyi OK, I got it working. What problem are you seeing?
    Ephenodrom
    @Ephenodrom
    Ist it possible to run a flutter web application inside a certain div within a website ?
    for example, i have a site made with bootstrap and i want to include a flutter application under the navbar, so it will fit inside my website
    clearsense
    @clearsense
    @Ephenodrom have you consider using iFrame? i don't do this, just idea
    Ephenodrom
    @Ephenodrom
    i am just thinking of using flutter web ... i looked at the example code and what is created if you build a release
    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <title></title>
      <script defer src="main.dart.js" type="application/javascript"></script>
    </head>
    <body>
    </body>
    </html>
    No idea how to tell the main.dart.js to render the app under a certain <div> instead of the <body>
    ok seems not to be possible at the moment ... flutter/flutter#32329
    Dima Rostopira
    @rostopira
    Actually, there is separate repo for firebase on web https://github.com/FirebaseExtended/firebase-dart
    Moulik Aggarwal
    @moulikcipherX
    Hy Everyone, I want to contribute to the flutter web codebase. But I can't find repo to contribute to issues.
    Ephenodrom
    @Ephenodrom
    Would be interesting, because I found out some widgets are not up to date to the native flutter widgets
    Randal L. Schwartz
    @RandalSchwartz
    @moulikcipherX I believe it is part of the flutter/flutter repo now.
    Ephenodrom
    @Ephenodrom
    Quote from the repo
    Since we are developing this in a separate fork to the main Flutter repo, we are not yet ready to accept GitHub pull requests at this time. However, GitHub issues are very welcome.
    Randal L. Schwartz
    @RandalSchwartz
    I beleive that statement is also old.
    the core flutter command can generate flutter-web templates now
    no need to pull a separate repo like last month
    Ephenodrom
    @Ephenodrom
    Ah ok interesting
    Yegor
    @yjbanov
    @Ephenodrom we are moving everything into the main Flutter repo right now.
    Randal L. Schwartz
    @RandalSchwartz
    I know, I’ve done it already.
    no more need for require “flutter_web.dart” like before. it’s just flutter now
    Yegor
    @yjbanov
    @RandalSchwartz package:flutter_web is the less unstable of the two as of today :)
    But if your pain threshold is high feel free to try out the main version.
    Ephenodrom
    @Ephenodrom
    @yjbanov where do I find it? I can only find the normal flutter files. Currently on my smartphone... maybe I miss something.
    Randal L. Schwartz
    @RandalSchwartz
    where do you find what? flutter_web is becoming part of flutter.
    you enable it with flutter config —enable-web
    just like flutter-desktop is also being folded in.
    although I didn’t have as much success with that.
    Ephenodrom
    @Ephenodrom
    As Yegor said they are moving the files to the flutter repo right no, so I thought you can take a look at them on the dev branch.
    Randal L. Schwartz
    @RandalSchwartz
    yeah, I’m on master branch for now, with the associated risks. :)
    but I need it for a demo next weekend.
    Ephenodrom
    @Ephenodrom
    @yjbanov little hint, rendering the flutter web version under a certain <div> would be really really great! Currently working on a website for my package and I want to include a live example. The site is build with laravel + bootstrap and on the example page I want to integrate live examples.
    So I could add a little preview window of the typical smartphone format.
    Currently I can only create a full page application.
    Randal L. Schwartz
    @RandalSchwartz
    I would presume an IFrame would work
    Abhilash Chandran
    @Abhilash-Chandran
    Anybody know how to embed a script tage dynamically into a flutter_web page. I tried this simple approach https://stackoverflow.com/questions/19467115/in-dart-parse-html-string-to-dom still it gets removed by the either the browser or flutter itself. I want to embed a bokeh plot which is actually a script tag.
    Atakan Mert Kaya
    @Sekaiichi4_gitlab

    @Ephenodrom we are moving everything into the main Flutter repo right now.

    :o So wait... does that mean that we can create Flutter web applications without forking to the Flutter_web, like RIGHT NOW. . .or do we still have to wait a litte?

    Randal L. Schwartz
    @RandalSchwartz
    If you’re on master, just flutter config —enable-web and there’s one more command to issue.
    flutter create —web .
    yes
    @Sekaiichi4_gitlab ^^
    Atakan Mert Kaya
    @Sekaiichi4_gitlab
    @RandalSchwartz Thank you! I will try it out right now!
    Randal L. Schwartz
    @RandalSchwartz
    those double dashes got collapsed
    flutter config dash dash enable-web
    flutter create dash dash web .