- 最近の電気自動車(BEV)のバッテリー容量: 50-100kWhくらい
- 航続距離300〜600km以上くらい
- テスラ新型モデル3ロングレンジの場合は、78kWhで実際の航続距離600kmくらい(極寒・猛暑では少し短くなる)
- 普通充電出力(主に自宅・長時間滞在施設など): 1-10kWくらい(3 or 6が多い)
- 急速充電出力: 20-数百kWくらい
- CHAdeMO: 20-150kWくらい(スペック低いものが多い)
- テスラでオプションで買えるCHAdeMOアダプターでは最大50kWまで
- 高くて(正規価格12万円)、壊れやすかったり夏場の高熱で出力落ちやすいようなので注意
- テスラでオプションで買えるCHAdeMOアダプターでは最大50kWまで
- テスラ スーパーチャージャー: 最大250kWくらい(最高値出るのは瞬間的なレベルだが、バッテリー少なめな時から充電開始すると平均100kWくらい出るのも普通)
- CHAdeMO: 20-150kWくらい(スペック低いものが多い)
- 仮に75kWhの車両を100kWの出力で充電できたら、60 * 75 / 100 = 45分で0%→100%になる
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 'dart:collection'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/gestures.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_hooks/flutter_hooks.dart'; | |
import 'package:intl/intl.dart'; | |
void main() => runApp(const App()); |
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
void main() { | |
print(Animal.dog.name); // 'dog' | |
print(Animal2.dog.name); // '🐶' | |
// Animal2 から 元々のnameのdog・cat文字列を得たい🤔 | |
} | |
enum Animal { | |
dog, | |
cat, |
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 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:google_fonts/google_fonts.dart'; | |
void main() { | |
runApp( | |
const App(), | |
); | |
} |
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
sed -i "" 's/source="$(readlink "${source}")"/source="$(readlink -f "${source}")"/g' "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh" |
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 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); |
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'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override |
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:cloud_firestore/cloud_firestore.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:riverpod/riverpod.dart'; | |
// 1つ目のStreamProvider | |
final authUserProvider = | |
StreamProvider<User?>((ref) => FirebaseAuth.instance.userChanges()); | |
// 2つ目のStreamProvider | |
// authUserProviderをwatchした値を使ってFirestoreから得られるStreamを返す |
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'; | |
void main() { | |
runApp(const App()); | |
} | |
class App extends StatelessWidget { | |
const App({super.key}); | |
@override |
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'; | |
void main() => runApp(const App()); | |
class App extends StatelessWidget { | |
const App({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return const MaterialApp( |
NewerOlder