This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SingleChildScrollView( | |
scrollDirection: Axis.horizontal, | |
child: Row( | |
children: List.generate(namesStringList.length, (index) { | |
return Text(namesStringList[index]); | |
}), | |
), | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to git add, commit, and push using one function in friendly interactive shell (Fish Shell). | |
# Save this file within '~/.config/fish/functions' as 'quickgit.fish'. Create the directory if it does not exist. | |
# '--git-dir=$PWD/.git' Ensures that we run the git commands against the git project where we called the function | |
function quickgit # This is the function name and command we call | |
git --git-dir=$PWD/.git add . # Stage all unstaged files | |
git --git-dir=$PWD/.git commit -a -m $argv # Commit files with the given argument as the commit message | |
git --git-dir=$PWD/.git push # Push to remote | |
end |