2022-11-13から1日間の記事一覧

【Flutter】BottomNavigationBarの実装方法

環境 画面を準備 デフォルトな見た目での実装 背景色を変更する 環境 OS : Windows11 Edit : VS Code Flutter : 3.0.5 画面を準備 class HomeScreen extends StatelessWidget { const HomeScreen({Key? key}) : super(key: key); @override Widget build(Bui…

【Flutter】「Material Design 3」 に対応させる方法

環境 実装方法 結果 環境 OS : Windows11 Edit : VS Code Flutter : 3.0.5 実装方法 ThemeDataにuseMaterial3: trueを追加する。 class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext c…