macOS 自動ログインを設定する方法
環境
macOS
操作方法
1.メニューバーの「Appleメニュー」をクリックします。
2.「システム設定…」をクリックします。
3.左側の「ユーザとグループ」をクリック ...
Ubuntu 23.04 Docker をインストールする手順
環境
Ubuntu 23.04
Dockerのインストール手順
1.Docker をインストールします
2.dockerバージョンを確認します ...
Flutter iconThemeを使ってアイコンの色を変えるサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
appBar: AppBar(
iconTheme: IconThemeData(color: xxx), ...
Flutter 下矢印のアイコンを表示するサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
Icon(Icons.arrow_downward)
下矢印のアイコンを表示するには、Icons.arrow_ ...
Flutter 星のアイコンを表示するサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
child: Icon(Icons.star)
星のアイコンを表示するには、「Icons.star」を使います ...
Flutter TextFormFieldのカーソルの太さを設定するサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
cursorWidth: カーソルの太さ
TextFormFieldのカーソルの太さを設定するには、引数「cu ...
Flutter SnackBarの右側にボタンを追加するサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
action: SnackBarAction(xxx)
SnackBarの右側にボタンを追加するには、引数「a ...
Flutter SnackBarのテキストを中央に表示するサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
textAlign: TextAlign.center
SnackBarのテキストを中央に表示するには、Tex ...
Flutter Textで表示しきれない文字の表示方法を設定するサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
Textで表示しきれない文字の表示方法を設定するには、引数「overflow」を使います。
使用例
Flutter Textの取り消し線を波線にするサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
decorationStyle: TextDecorationStyle.wavy,
Textの取り消し線を波 ...
Flutter FloatingActionButtonを横に複数並べるサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
FloatingActionButtonを横に複数並べるには、Rowウェジェットを使います。
作成方法 ...
Flutter FloatingActionButtonの枠線の太さを変えるサンプル
環境
Windows11 pro 64bit
Flutter 3.3.7
構文
shape: CircleBorder(
side: BorderSide(xxx
FloatingA ...
Swift リストの背景色を透明にするサンプル
環境
Swift version 5.2.3 (swift-5.2.3-RELEASE)
Ubuntu 20.04.2 LTS
構文
Listの背景色を透明にするには、UITablViewとlist ...
Swift「disabled」でButtonを無効にするサンプル
環境
Swift version 5.2.3 (swift-5.2.3-RELEASE)
Ubuntu 20.04.2 LTS
構文
func disable ( _ disabled : Bool ...
Swift clipShape修飾子を使ってTextの背景色を角丸にするサンプル
環境
Swift version 5.2.3 (swift-5.2.3-RELEASE)
Ubuntu 20.04.2 LTS
構文
Text("xxx") .background( color.cl ...Swift TextEditorのキーボードの種類を設定するサンプル
環境
Swift version 5.2.3 (swift-5.2.3-RELEASE)
Ubuntu 20.04.2 LTS
構文
TextEditor(text: $text).keyboardT ...Swift frame修飾子を使ってTextEditorの横幅を変えるサンプル
環境
Swift version 5.2.3 (swift-5.2.3-RELEASE)
Ubuntu 20.04.2 LTS
構文
TextEditor(text: $editText)
Swift underline修飾子を使ってTextに下線をつけるサンプル
環境
Swift version 5.2.3 (swift-5.2.3-RELEASE)
Ubuntu 20.04.2 LTS
構文
Text(“xxx”)
.und ...