Dart

環境
Windows 11 pro 64bit
Dart 2.18.4

構文
list.forEach((item) {
//ループ処理コード
});
forEachメソッド ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

概要
AppBarにサイドメニューを追加するには、Drawerを使います。

@overrideWidget build ...

AlmaLinux 9

環境
AlmaLinux release 9.2 (Turquoise Kodkod)

操作方法
1. .NET 6.0 のインストールを行います

# dnf -y install dotnet-ru ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

概要
DrawerHeader(
decoration: BoxDecoration(
image: Dec ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
builder: (context) => IconButton(
icon: Icon(Icons.s ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
final GlobalKey<ScaffoldState> _scaffoldKey = GlobalK ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

概要
Drawerをタップで閉じるには、Navigator.pop(context)を使います。
構文

Tex ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
AlertDialogのボタンを中央に寄せるには、「actions」を使わず、
「Rowウェジェット」を使いま ...

Excel 2019

環境
EXCEL2019
Windows 11Pro 64bit

操作方法
1.「Ctrl」+「U」または「Ctrl」+「4」を押下します。

2.斜下線を開きます。

3.Ex ...

Dart

環境
Windows 11 pro 64bit
Dart 2.18.4

構文
await Future.delayed(Duration(xxx));
Future.delayed関数をaw ...

Dart

環境
Windows 11 pro 64bit
Dart 2.18.4

構文
sleep(Duration(xxx))//Durationで時間を指定
引数に時間を指定したsleep関数を呼 ...

Salesforce

環境
Salesforce

使用方法
CASE(expression,​value1, result1, value2,​ result2,…,​ else_result)。
expre ...

Kotlin

環境
Windows11 pro 64bit
java 19.0.1
kotlin 1.7.20-release-201

構文
変数++
「++(インクリメント)」を使用すると「1」 ...

Dart

環境
Windows 11 pro 64bit
Dart 2.18.4

構文
var copy = {…map}
コピー先の変数に「{…map}」(mapはコピー元)を代入します ...

PHP

環境
PHP 8.1.2
Ubuntu 22.04.1 LTS

構文
//array=連想配列
$max_key = array_search(max($array), $array); ...

PHP

環境
PHP 8.1.2
Ubuntu 22.04.1 LTS

構文
//textの最後の文字を削除
$result = substr_replace($text, “̶ ...

PHP

環境
PHP 8.1.2
Ubuntu 22.04.1 LTS

構文
//arr=対象の連想配列, target=削除する値
$result = array_filter($arr, fun ...

Salesforce

環境
Salesforce

使用方法
BLANKVALUE(expression, substitute_expression)
expression に、評価する式を指定します。substitut ...