This file contains 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
#!/bin/bash | |
# Update Gradle, Java and other Android project settings in a Flutter project | |
# See: https://gradle.org/releases/ | |
DESIRED_GRADLE_VERSION="8.9" | |
# Build errors often show the required Java version | |
DESIRED_JAVA_VERSION="17" | |
# See: https://developer.android.com/ndk/downloads | |
DESIRED_NDK_VERSION="27.0.12077973" | |
# The minimum Android SDK version |
This file contains 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
#!/bin/sh | |
echo "========== Cleanup start ==========" | |
rm -Rf ios/Pods | |
rm -Rf ios/.symlink | |
rm -Rf ios/Flutter/Flutter.framework | |
rm -Rf ios/Flutter/Flutter.podspec | |
rm -rf ios/Podfile.lock | |
rm -rf ~/Library/Developer/Xcode/DerivedData/* -y | |
rm -rf pubspec.lock | |
flutter clean |
This file contains 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
import 'package:flutter/material.dart'; | |
class CarBox extends StatefulWidget { | |
final String carIconUrl; | |
final String title; | |
final bool selected; | |
final Function onTap; | |
CarBox( | |
{Key key, this.carIconUrl, this.title, this.selected = false, this.onTap}) | |
: super(key: key); |
- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/
- Install diff-so-fancy via their website (or just run
npm install -g diff-so-fancy
) - Add the following to your
.gitconfig
file:
[core]
pager = diff-so-fancy | less --tabs=1,5 -R
- I find that these colors work best with it, but it's up to you if you want to add them to your
.gitconfig
or not.
[color "diff"]
meta = "yellow bold"