Flutter Icons.timerを使ってタイマーのアイコンを表示するサンプル

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
child: Icon(Icons.timer)
タイマーのアイコンを表示するには、Icons.timerを使います。

使用例

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Icon(Icons.timer),
),
);
}
@override Widget build(BuildContext context) { return Scaffold( body: Center( child: Icon(Icons.timer), ), ); }
@override
Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: Icon(Icons.timer),
    ),
  );
}

 

Flutter

Posted by arkgame