Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
TextFormFieldにプレースホルダーを表示するには、引数「decoration」を使います。

使用 ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
TextFormFieldのフォーカスを外すには、FocusNodeを使います。

作成方法
1.F ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
validator: (value) {
return ”;
},
TextFor ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
TextFormFieldのテキストを取得するには、TextEditingControllerを使います。 ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
textAlign: TextAlign.right,
Textのテキストを右寄せにするには、引数「textA ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
decorationStyle: TextDecorationStyle.double,
Textの下線を2重 ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
Container(
color:/*背景色*/,
child: DropdownButton( ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
onPressed: _isDisabled ? null : () {},
アイコンボタンを無効にするかどう ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
onPressed: null,
アイコンボタンを無効にするには、引数「onPressed」に「null」を指 ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
borderRadius: BorderRadius.circular(xxx),
BoxDecoration ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
SizedBox(
width: 横幅,
child: Card(),//CardをSizedBoxの ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
SingleChildScrollview内でListViewを使うには、まず引数「shrinkWrap」に「true ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
shape: CircleBorder(),
AlertDialogを円にするには、引数「shape」に「Ci ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文

child: ConstrainedBox( constraints: BoxConstraints( minWidth ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
GestureDetector(
onTap: (){
//処理コード
},
Grid ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
TextFormFieldに設定したTextEditinControllerのtextプロパティに、選択した日付を代入 ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文

decoration: InputDecoration( errorStyle: TextStyle( color: x ...

Flutter

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
1.通常時の下線の色を設定する

enabledBorder: UnderlineInputBorder( bor ...