2019-01-01から1年間の記事一覧
https://stackoverflow.com/questions/14946012/how-do-i-run-a-reoccurring-function-in-dart
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</int></int>
jiffy | Dart Package
final Function(bool) func;と定義した時に、 final Function(bool, String) func;のように、Stringをオプションにしたい。 これらダメ final Function(bool, {String}) func; final Function(bool, {String:'aaa'}) func; final Function(bool, {String='aa…
https://github.com/snowballdigital/flutter-unity-view-widget example/unity/DemoApp/ サンプルとして入ってるDemoAppは "2019.3.0b7 beta" のバージョン 現在は「2019.3.0b9 beta」があるが、 https://unity3d.com/unity/beta/2019.3 DemoApp変換すると…
[Request Feature]SnackBar offset option · Issue #42885 · flutter/flutter · GitHub オプションはないからリクエスト
Dartの文字列 バッククォート 正規表現 4つ? シェルのダブルクォートとバッククォートのエスケープの展開 - Qiita void main() { // \実験 String value = '123\\'; String seiki = '^[0-9\\\\]{2,10}\$'; var res = RegExp(seiki).hasMatch(value); print(r…
dart - How to listen focus change in flutter? - Stack Overflow FocusNode hasFocus が false
アコーディオン作るのに便利なExpansionPanelってのがある。 しかし・・・ Flutter Expansion Tile -- Header Color Change, and Trailing Animated Arrow Color Change · Issue #24917 · flutter/flutter · GitHub アイコン消せないし、変なパディングが入…
import com.intellij.openapi.module.ModuleManager; import com.intellij.openapi.roots.ModuleRootManager; して VirtualFile a = ModuleRootManager.getInstance(ModuleManager.getInstance(p).getModules()[0]).getContentRoots()[0]; VirtualFile[] b =…
intellij-support.jetbrains.com intellij-support.jetbrains.com
Slackはない https://stackoverflow.com/questions/39398021/intellij-idea-slack-user-channel Discord JetBrains Community 僕が作った https://gitter.im/Intelli-J-Plugin/community
https://github.com/flutter/flutter/issues/created_by/shinriyo
これがmain.dart import 'package:flutter/material.dart'; import './my_widget.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext co…
this class inherits from a class marked as @immutable info: The member 'setState' can only be used within instance members of subclasses of 'package:flutter/src/widgets/framework.dart'. https://stackoverflow.com/questions/54758898/using-se…
this class inherits from a class marked as @immutable info: The member 'setState' can only be used within instance members of subclasses of 'package:flutter/src/widgets/framework.dart'. https://stackoverflow.com/questions/54758898/using-se…
github.com
自作プラグイン作って追加しようとしたら以下のエラー > fisher add (pwd) Installing 2 plugin/s ! Fetch add github.com/fisherman/add ! There was an error installing add or more plugin/s. Try using a namespace before the plugin name: owner/add …
https://www.1915keke.com/entry/fisher-package-create Qiita https://qiita.com/nutsinshell/items/5f111184b50f7081c92f
Flutterで切り欠きのあるTicketを持った汎用的に fw_ticket | Flutter Package これをパクって こうしたfw_ticket.dartはそのまま。 import 'package:example/fw_ticket.dart'; import 'package:flutter/material.dart'; void main() => runApp(MyApp()); cl…
Try going to chrome://flags and searching for something related to hotword. Try enabling that flag. https://support.google.com/chromebook/forum/AAAAmKCdEusK5s8xuzk8Iw/?hl=ja
TOTP How to generate a QR Code for Google Authenticator that correctly shows Issuer displayed above the OTP? - Stack Overflow
padding: const EdgeInsets.symmetric(vertical: _kSingleLineVerticalPadding), _kSingleLineVerticalPadding は 14px上下に入るっぽい・・。 material design - To add margins/paddings to a Snackbar in Flutter - Stack Overflow 無理やりオーバーロー…
https://stackoverflow.com/questions/47114639/yellow-lines-under-text-widgets-in-flutter Center とかを使うときは必ず、Scaffold を使う。 さもないと TextStyle に地道に decoration: TextDecoration.none, を入れまくり地獄になる。
https://medium.com/jlouage/flutter-row-column-cheat-sheet-78c38d242041
[Flutter] ダイアログを表示する方法 │ Web備忘録
https://stackoverflow.com/questions/55645410/flutter-card-with-transparent-background 透明にしても背景がグレーになる。 Card( elevation: 0, color: Colors.transparent, elevationを0
dart - Flutter - calling setState() from other widget - Stack Overflow
BoxDecorationでborderRadius: BorderRadius.circular(対象の横サイズ / 2.0),でもいいが、 shape: BoxShape.circle,もいける。 shapeがある場合、borderRadiusを書くとエラーになる。 child: Container( decoration: BoxDecoration( color: Color.white, bo…
Widget(80, 35, 'テスト', () => {print(1)}), Announcing Dart 2.2: Faster native code, support for set literals