Added 'flex' widget.
Added 'flex' widget.