たまにExampleで pubspec.yml
がないときがある。
https://github.com/funwithflutter/flutter_confetti/issues/12 そのときはこの手順がいい。
cd example flutter create .
たまにExampleで pubspec.yml
がないときがある。
https://github.com/funwithflutter/flutter_confetti/issues/12 そのときはこの手順がいい。
cd example flutter create .
dart - Flutter: Ignore touch events on a Widget - Stack Overflow
https://aimana-it.com/widget-of-the-week-22-absorbpointer/
IgnorePointer
は貫通させるのに使える
例えば Container
を貫通させたい時。
IgnorePointer( ignoring: true, child: Container( height: 100, width: 100, ), ),
ignoring
はデフォルトで true
なので書かなくてもいい。
Unityのプロジェクトを久々に更新してみたら ```` Requested value 'X86' was not found.
の赤いエラーが発生し続ける。 [https://github.com/googlesamples/unity-jar-resolver/issues/230:title] ここをみて、 こいつをDLし、 [https://github.com/googlesamples/unity-jar-resolver/raw/v1.2.115/play-services-resolver-1.2.115.0.unitypackage] `Assets` を右クリックして `Reimport` したら治った。
Dartでrange 5つの要素を0, 1, 2, 3, 4
List<int>.generate(5, (i) => i)
List<int>.generate(5, (i) => i + 1)
なら 1, 2, 3, 4, 5
https://stackoverflow.com/questions/37798397/dart-create-a-list-from-0-to-n