Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xlider for Flutter web #35

Closed
praharshbhatt opened this issue Nov 17, 2019 · 5 comments
Closed

xlider for Flutter web #35

praharshbhatt opened this issue Nov 17, 2019 · 5 comments
Labels
bug Something isn't working fixed Reported bug is fixed

Comments

@praharshbhatt
Copy link

This is more of a request than an issue.
I would like to use flutter_xlider for the Flutter web too.

Currently, when compiled, it gives the error:
Another exception was thrown: RangeError (index): Index out of range: index should be less than 1: 1
The same code works fine on mobile.

@praharshbhatt
Copy link
Author

Any updates here?

@Ali-Azmoud
Copy link
Owner

Ali-Azmoud commented Dec 1, 2019

Hi. sorry for my late response. could you please share more details. what is index, on which line the error is...

@praharshbhatt
Copy link
Author

could you please share more details. what is index, on which line the error is...
I'm not sure what index is it referring to.

Have a look at the code:


import 'package:flutter/material.dart';
import 'package:test_flutter_app/flutter_xlider.dart';

class AppBody extends StatefulWidget {
  @override
  _AppBodyState createState() => _AppBodyState();
}

class _AppBodyState extends State<AppBody> {
  double _sliderValue = 300;
  @override
  Widget build(BuildContext context) {
    return getBody();
  }

  getBody() {
    return FlutterSlider(
      axis: Axis.vertical,
      values: [_sliderValue],
      max: 500,
      min: 0,

      //Handlers
      handler: FlutterSliderHandler(
          decoration: BoxDecoration(
              color: Colors.black87,
              shape: BoxShape.rectangle,
              border: Border.all(width: 5.0, color: Colors.white30),
              borderRadius: BorderRadius.all(Radius.circular(10))),
          child: Icon(
            Icons.drag_handle,
            color: Colors.white,
          )),

      //trackBar
      trackBar: FlutterSliderTrackBar(
        activeTrackBarHeight: 10,
        inactiveTrackBarHeight: 10,
        inactiveTrackBar: BoxDecoration(
          borderRadius: BorderRadius.circular(20),
          color: Colors.black12,
          border: Border.all(width: 30, color: Colors.black),
        ),
        activeTrackBar: BoxDecoration(
            borderRadius: BorderRadius.circular(4),
            color: (_sliderValue / 1) <= 40
                ? Colors.black.withOpacity(0.5)
                : ((_sliderValue / 1) > 40 && (_sliderValue / 1) <= 60)
                    ? Colors.green.withOpacity(0.5)
                    : ((_sliderValue / 1) > 60 && (_sliderValue / 1) <= 80)
                        ? Colors.yellow.withOpacity(0.5)
                        : Colors.red.withOpacity(0.5)),
      ),

      //tooltip
      tooltip: FlutterSliderTooltip(
          textStyle: TextStyle(fontSize: 17, color: Colors.white),
          boxStyle: FlutterSliderTooltipBox(decoration: BoxDecoration(color: Colors.black.withOpacity(0.8)))),

      //hatchMark
      hatchMark: FlutterSliderHatchMark(
          density: 0.5, // means 50 lines, from 0 to 100 percent
          labels: List.generate(11, (index) {
            if (index == 0) {
              return FlutterSliderHatchMarkLabel(percent: 0, label: 'Closed');
            } else if (index == 10) {
              return FlutterSliderHatchMarkLabel(percent: 100, label: 'Max');
            } else {
              return FlutterSliderHatchMarkLabel(percent: index * 10.0, label: (index * 10).toString() + ' %');
            }
          })),

      //onDragging
      onDragging: (handlerIndex, lowerValue, upperValue) {
        setState(() {
          _sliderValue = lowerValue;
        });
        print("Slider value: " + _sliderValue.toString() + ", " + (_sliderValue / 1).toString() + "%");
      },

      onDragCompleted: (handlerIndex, lowerValue, upperValue) {
        setState(() {
          _sliderValue = lowerValue;
        });
        print("Slider value: " + _sliderValue.toString() + ", " + (_sliderValue / 1).toString() + "%");
      },
    );
  }
}


It works great on mobile:
Screenshot_1575262242

On the web, it throws the following error:
image

The following is the error log:

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following IndexError was thrown building AppBody(state: _AppBodyState#c47df):
RangeError (index): Index out of range: index should be less than 1: 1

The relevant error-causing widget was:
AppBody org-dartlang-app:///packages/test_flutter_app/main.dart:23:19

When the exception was thrown, this was the stack:
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 196:49
throw_
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/js_array.dart 577:7             _get]
package:test_flutter_app/flutter_xlider.dart 231:59
[_setParameters]
package:test_flutter_app/flutter_xlider.dart 364:5
initState
package:flutter/src/widgets/framework.dart 4355:58
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 4617:11                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 5551:32                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 5551:32                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/overlay.dart 591:16                                                                                                                         mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 5445:14                                                                                                                      mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4381:11
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/framework.dart 4243:16
performRebuild
package:flutter/src/widgets/framework.dart 3947:5
rebuild
package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5                                                                                                                       mount
package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
package:flutter/src/widgets/framework.dart 2988:12
updateChild
package:flutter/src/widgets/binding.dart 1030:16
[_rebuild]
package:flutter/src/widgets/binding.dart 1001:5                                                                                                                         mount
package:flutter/src/widgets/binding.dart 944:16                                                                                                                         <fn>
package:flutter/src/widgets/framework.dart 2412:19
buildScope
package:flutter/src/widgets/binding.dart 943:12
attachToRenderTree
package:flutter/src/widgets/binding.dart 820:24
attachRootWidget
package:flutter/src/widgets/binding.dart 806:7                                                                                                                          <fn>
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 50:19
internalCallback

════════════════════════════════════════════════════════════════════════════════════════════════════

@Ali-Azmoud
Copy link
Owner

There is a related issue here . I'm not sure but maybe this is a dart web bug or something. I haven't used dart for web yet. I'll try to find out what cause this error

@Ali-Azmoud
Copy link
Owner

Ali-Azmoud commented Jan 8, 2020

Hi
This bug is fixed in the latest version. check it out. I'm going to close this issue. if you think the problem still exists, open it.

@Ali-Azmoud Ali-Azmoud added bug Something isn't working fixed Reported bug is fixed and removed help wanted Extra attention is needed labels Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Reported bug is fixed
Projects
None yet
Development

No branches or pull requests

2 participants