The circle_indicator is correctly displayed but colors circles are always white and selected circle is not moving
Is something wrong with my code ?
return new Scaffold(
appBar: new AppBar(title: new Text("Moods"),),
body: new Container(
padding: new EdgeInsets.only(top: 16.0,),
decoration: new BoxDecoration(
color: Colors.yellow
),
child: new Stack(
alignment: FractionalOffset.bottomCenter,
children: <Widget>[
new PageView.builder(
physics: new AlwaysScrollableScrollPhysics(),
controller: _controller,
itemCount: _pages.length,
itemBuilder: (BuildContext context, int index) {
return _pages[index];
},
onPageChanged: _onPageChanged,
),
new Container(
margin: new EdgeInsets.only(
top: 16.0,
bottom: 16.0,
),
child: new CircleIndicator(_controller, _pages.length,
8.0, Colors.blue, Colors.red)
),
]
)),
floatingActionButton: new FloatingActionButton(
child: new Icon(Icons.add), onPressed: () {
_displayAddMenu();
}),
);
The circle_indicator is correctly displayed but colors circles are always white and selected circle is not moving
Is something wrong with my code ?