Skip to content

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
{
"path": "cz-emoji",
"config": {
"cz-emoji": {
"subjectMaxLength": 72,
"skipQuestions": ["scope"],
"types": [
{
"name": "feat",
"code": "🚀 feat:",
@susatthi
susatthi / .commit_template
Last active May 12, 2022 23:20
コミットテンプレート
# ==================== Emojis & Prefix ====================
# ✨ feat: 新しい機能
# 🐛 fix: バグの修正
# 📚 docs: ドキュメントのみの変更
# 🖋 style: 空白、フォーマット、セミコロン追加など
# ♻️ refactor: 仕様に影響がないコード改善(リファクタ)
# 🐎 perf: パフォーマンス向上関連
# 🚨 test: テスト関連
@susatthi
susatthi / flutter_create.sh
Last active April 22, 2022 02:34
Flutter プロジェクトを作成して main.dart と pupspec.yaml のコメントを除去までしてくれるシェルスクリプト
#!/bin/bash -e
# 導入方法
#
# cd ~/<your working directory>
# git clone https://gist.github.com/susatthi/1fa07960569757fe6d88b86c02ec34d4 scripts
# sh ./scripts/flutter_create.sh -h
# コマンドの使用方法を出力して終了する
function usage() {