Flutter custom indicator animation simple

Design

Implement static ui with Flutter

Widget indicatorIcon() {
return new Container(
width: screenSize.width,
height: height,
padding: new EdgeInsets.symmetric(
vertical: height / 2 - iconSize / 2,
),
child: new Stack(
children: <Widget>[
getIcon(0),
getIcon(1),
getIcon(2),
getIcon(3),
],
),
);
}

Widget getIcon(index)…