title: Flutter Slider Not Moving or Updating
body: <p>I'm learning Flutter (and coding in general) and I can't seem to find the issue with my latest project. When I run in simulator the slider forms just fine, click the thumb and the label shows, but the thumb won't move on the track at all, and thus never calls the onChanged event.</p>
  
  <pre><code>import 'resources.dart';
  import 'package:flutter/material.dart';
  import 'package:flutter/foundation.dart';
  
  class ItemDetail extends StatefulWidget {
    final Item item;
  
    ItemDetail({Key key, @required this.item}) : super(key: key);
  
    @override
    _ItemDetailState createState() =&gt; new _ItemDetailState(item: item);
  }
  
  class _ItemDetailState extends State&lt;ItemDetail&gt; {
    Item item;
  
    _ItemDetailState({Key key, @required this.item});
  
    @override
    Widget build(BuildContext context) {
      double margin = ((item.listPrice - item.stdUnitCost)/item.listPrice)*100;
      return new Scaffold(
        appBar: AppBar(
          title: new Text('Item Detail'),
        ),
        body: new Column(
          children: &lt;Widget&gt;[
            new Padding(padding: EdgeInsets.symmetric(vertical: 20.0)),
            new Text(item.itemCode),
            new Text(item.itemDescription),
            new Text(item.itemExtendedDescription),
            new Divider(height: 40.0,),
            new Text('List Price: \$${item.listPrice}'),
            new Text('Cost: \$${item.stdUnitCost}'),
            item.itemType=='N'
                ? new Text('Non-Stock (${item.itemType})')
                : new Text('Stock Item (${item.itemType})'),
            new Text('Available: ${item.stockAvailable}'),
            new Padding(padding: EdgeInsets.symmetric(vertical: 10.0)),
            new Slider(
              value: margin,
              divisions: 20,
              min: 0.0,
              max: 100.0,
              label: margin.round().toString(),
              onChanged: (double value) {
                setState(() {
                  margin = value;
                });
              },
            )
          ],
        ),
      );
    }
  }
  </code></pre>