Skip to content

Instantly share code, notes, and snippets.

FutureBuilder<SearchList?> buildFutureBuilder() {
return FutureBuilder(
future: fillTheList(searchQue),
builder: (BuildContext context, AsyncSnapshot searchListFuture) {
if (searchListFuture.hasData) {
searchList = searchListFuture.data;
return SingleChildScrollView(
child: Column(children: <Widget>[
ListView.builder(
physics: const NeverScrollableScrollPhysics(),
@thq919
thq919 / ss13.sh
Last active August 27, 2021 12:49 — forked from Xaltonon/ss13.sh
#!/bin/sh
set -e
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
NC='\033[0m'
mkdir -p log
echo -e "${GREEN}Checking for wine...${NC}"