See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
以下転載:
| void main() { | |
| String name = 'たくや'; | |
| String newName=''; | |
| void generateName(String inputName){ | |
| print('湯婆婆「契約書だよ!ここに名前を書きな!」'); | |
| print('${inputName}「(カキカキ..)」'); | |
| if(name.length >= 2){ |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( |
| import 'package:flutter/foundation.dart'; | |
| import 'package:wingarc_haccp/data_sources/db.dart'; | |
| class EquipmentReason { | |
| const EquipmentReason({ | |
| @required this.text, | |
| @required this.pathname, | |
| }); | |
| EquipmentReason copyWith({ |
| void main() { | |
| final persons = {'Takahashi': 23, 'Hamasaki': 27, 'Kawasaki': 25}; | |
| final person_list = <Person>[]; | |
| persons.forEach((k, v) => person_list.add(Person(k, v))); | |
| persons.entries.forEach((e) => person_list.add(Person(e.key, e.value))); | |
| final animals = {'Cow': 'Male', 'Cat': 'Female', 'Dog': 'Male'}; |
| void main() { | |
| Cat cat = Cat("mike"); | |
| cat.introduction(); | |
| cat.fly(); | |
| cat.swim(); | |
| cat.walk(); | |
| } | |
| mixin Flyer { |
| # python3.6 | |
| # coding: utf-8 | |
| from os import close | |
| import requests | |
| import json | |
| import io | |
| import sys | |
| import time | |
| from datetime import datetime |
| void main() { | |
| print(Month.January); | |
| print(Month.January.index); | |
| print(Month.values); | |
| print(HandleEnum.enumToString(Month.January)); | |
| print(HandleEnum.enumToList(Month.values)); | |
| } | |
| enum Month { |
| import 'dart:core'; | |
| void main() { | |
| Country america = Country('Ameriva','Washington D.C',327000000); | |
| Country chine = Country('Chine','Shanghai',1380000000); | |
| Country russia = Country('Rrussia','Moscow',142000000); | |
| Country germany = Country('Germany','Berlin',806000000); | |
| Country japan = Country('Japan','Tokyo',126000000); | |