buildListView method

Widget buildListView()

Implementation

Widget buildListView() {
  return Container(
      height: windowHeight,
      padding: EdgeInsets.all(8.0),
      width: window.physicalSize.width / window.devicePixelRatio,
      color: Color(0xff2b2b2b),
      child: MediaQuery.removePadding(
        removeTop: true,
        context: context,
        child: RawScrollbar(
          thumbColor: Colors.white30,
          thickness: 5,
          controller: _scrollController,
          child: ListView.builder(
            controller: _scrollController,
            shrinkWrap: true,
            itemCount: _logList.length,
            itemBuilder: (context, index) {
              return Text(
                _logList[index],
                style: TextStyle(
                    color: Color(0xffbbbbbb),
                    fontSize: 13,
                    fontWeight: FontWeight.w400,
                    decoration: TextDecoration.none),
              );
            },
          ),
        ),
      ));
}