æè¡ã®åå¼·ãããã¤ã¤è»¢è·æ´»åãç¶ãããã
ãã£ã¡ã¼ãç²ãåã£ã¦ããä»é±ã«å
¥ã£ã¦ä»äºãç¹å¿ã®ç¶æ
ã§ãã¼ã£ã¦ããã°ãæ¸ããã¨ãåºæ¥ãªããªã£ã¦ããä»æ¥ãããã°ãæ¸ãã®ã¯å¤ã«ãªã£ã¦é£¯ãé£ã£ããã¨ã«ã¼ã¡ã¼ã¡ã¨æ¸ãã¦ãæãã ãã
ã¨ãããããç¾å¨ã®ä½èª¿ã§ãè¨é²ãã¦ããããªããªãããããã¤ã³ããã«ãã¹çæ³ãåãå¥ãã¦ããã®ãåãããªããã ãã©ãé念ãææ ã«ã¾ã§å½±é¿ãåã¼ãã¾ã§ã«ã¹ããããæããäºãã§ããããã«ãªã£ããããæè¿ã®ä¸èª¿ã§ã¯ã°ã«ã°ã«æèã®ããã§ææ çã«ä¸å®å®ã«ãªã£ã¦ãã¡ã¼ã¸ãåãããã¨ã°ã£ããã ã£ãã®ã ãã©ãæ¨æ¥ã¨ä»æ¥ã«é¢ãã¦ã¯ãªã«ãã¢ã¤ã¢ã¤ãããã¨ãèãã¦ææ çã«ãªããã¨ãå°ãªãã£ãããããã¾ããå¼å¸çæ³ã®é »åº¦ãå¢ããã¦ãããããããªï¼ã¨ãæã£ããé念ã¨è·é¢ãããã¦è¦³å¯ãããã¨ãã§ããããã«ãªã£ã¦ãããé念ã¯é念ã®ã¾ã¾ã¨ãã¦èªèã§ããããã«ãªã£ã¦ããããã°ããã¯ãã¤ã³ããã«ãã¹çæ³ãããé »åº¦ãå¢ããã¦çæ´»ã®ä¸ã§ããã¤ã³ããã«ãã¹ãªçæ´»ãå¿ããããã
ããç¹ã«æ¸ããã¨ãæãã¤ãããä»æ¥ã¯åºæ¬çã«ãã£ã¨ä»äºã°ã£ããããã£ã¦ãã®ã§ãããé¢ç½ãæãã¤ããããããã¥ã¼ã¹ã®çºæãã§ããªãã£ããããããFlutter3ãGoogle I/O 2022ã§çºè¡¨ããããã©ãããã¯ããã¢ãã¯ããããã¥ã¼ã¹ã§ããããåãä»ç¾å¨ä»äºã®éçºã§ä½¿ã£ã¦ãã®ã¯Flutterã¨ããiOSã¨androidãåæã«éçºã§ããã¯ãã¹ãã©ãããã©ã¼ã ã§ä½æ¥ãè¡ã£ã¦ãã®ã ãã©ããã®Flutterã¯ã©ãã©ãéçºã§ãããã©ãããã©ã¼ã ãåºãã£ã¦ãããFlutter3ããã¯Mac OSä¸ã§ã®ã¢ããªã®éçºãè¡ããã¨ã®ãã¨ã ãã¡ãªã¿ã«Flutterã§ã²ã¼ã éçºãã§ãã¦ãã¾ããããããããããªããç¥ãããã©åè² ã«åã£ããªã
Flutterã«é¢ãã¦ã¯ã¬ã³ã¬ã³åå¼·ããã¦ã¾ãããã¨æããåã¯å®éã«å®åã§Flutterã使ã£ã¦ãã®ã§ä»ã¯åå¼·ãããã«ã¯çæ³çãªç°å¢ã«ãããå®éã«Flutterã使ã£ã¦èªç¤¾éçºã§ã¢ããªéçºãè¡ã£ã¦ããã®ã§ãããåèªèº«ãä¸ç´è ç¨åº¦ã«ã¯Flutterã§éçºãã§ããããã«ã¯ãªã£ã¦ãã¨æãã
Flutterã§ã®éçºã«ã¤ãã¦ã¯ãWidgetã§UIã®ä½æã¯æ®éã«ãããã¨ãã§ããããä»ãã¼ã ã§ã¯ç¶æ 管çã¯Riverpodã使ã£ã¦ã¢ã¼ããã¯ãã£ã¯mvvmã«ãã¦ãããä»ã¾ã§Providerã使ã£ã¦ç¶æ 管çã¯è¡ã£ã¦ãã®ã ãã©ãéçºè ã®ã©ãã¼ãããåãå ¥ããã®ãProviderããRiverpodã«å¤ããã¨è¨ã£ã¦ãããããããã¯Riverpodãæ®éã«ãªã£ã¦ãããããªããï¼ã¨æã£ã¦ãã¡ãã«å¤ãããã«ã¼ãã£ã³ã°ã«é¢ãã¦ã¯auto_routeãªãã©ã¤ãã©ãªã使ã£ã¦ããã©ãæ¥æ¬ã®Flutterçéã®æå人ã®monoããã«ããã¨go_routerãFlutterã®æ¨æºã«ãªã£ã¦ãããããªããã¼ï¼ã¿ãããªäºãè¨ã£ã¦ããã
ä»ã®è·å ´ã§ã¯ä»äºã§Flutterã使ããã¨ãã§ãããã©ãè¯ããã¨ã¨è¨ãã°ããã ãã£ã¦ãããã ãªããã®ããã°ã§æ£ã æ¸ãã¦ãã¦ãããã©ããªããããããã©äººããã³ã£ã¦èãããã¨ããååã«ç®ãã¤ãããã¦ãã¾ã£ã¦ãããä»ç¾å¨çµ¶è³ã§è»¢è·ããããããããã§ä¸ã®æ¹ã§åè² ã«åã£ããªã¨æ¸ãããã§ãããFlutterã£ã¦ããGoogle謹製ã®ã¯ãã¹ãã©ãããã©ã¼ã éçºç°å¢ãªã®ã ãã©ãå©ç¨äººå£ããããã伸ã³ã¦ããããããããããããã¢ããªéçºã«ããã第ä¸é¸æã¨ãã¦Flutterã使ãããããã«ãªã£ã¦ããã¯ãã§ãããFlutterã使ããéçºè ã®å¸å ´ä¾¡å¤ãé«ã¾ã£ã¦ããã¯ããªãã§ããã
twitterã®ã¨ã³ã¸ãã¢çéãçºãã¦ãã¦ãFlutterã¨ã³ã¸ãã¢ã®éè¦ã£ã¦é«ã¾ã£ã¦ããããã§ãããä»ã®ãã¡ã«Flutterã®éçºã¹ãã«ãé«ãã¦ããã¦å¥½æ¡ä»¶ã§ãã£ãã¨ä»ã®è·å ´ãéãåºããããã«æºåãã¦ãããããèªå® ã§ãMacbookãè³¼å ¥ãã¦å人éçºã®ã¢ããªéçºããã¦ãè¯ãããããªããï¼ã¨æããã ãããä»ã®ãã¡ã«ä¼ç¤¾ã§ãæãªæã«ããããã¨å¦ç¿ããå 容ãQiitaã ã¨ãZennã¨ãã«ã¢ã¦ãããããã¦ããã¦ãã¼ããã©ãªãªãæºåãã¦ãããGithubã«ãå人ã§å¦ç¿ããå 容ãå ¬éãã¦ããã¦ãããã ããã
ãªãããããããã¸ã§ãã®èãã¦ããååãå«ããªã®ã§ãæ¬æ°ã§è»¢è·ãããã¨æã£ã¦ãã®ããã§ããããã«ã¯è²ã ã¨å£ããã£ã¦ãã¼ãã¼éããè éç¨ã§åãã¦ããã§ãããã¡ãã£ã¨éããè éç¨ã§è²ã ã¨æ¤ç´¢ãã¦ã¿ã¦ããã©ãéããè éç¨ã§ã¢ããªéçºã®ä»äºã¨ããã®ã¯ã¡ãã£ã¨ä»ã¾ã§èãããã¨ããªããå¤åãä¸ã®ä¸ã§éããè éç¨ã§ã¢ããªéçºããã£ã¦ã人éãªã©æ¥µãããã§ãä¸æããã¨ä¸çã§åä¸äººã ããããããªããã¡ãã£ã¨ã転è·å ãæ¢ãã¨ãã¦ãæ®éã®æ¢ãæ¹ã§ã¯ã ãã§ãæè¡çãªãã¼ããã©ãªãªãå¾¹åºçã«æ´ç·´ãããä¸ã§ãä¸è¬å°±å´ã«éããããªã¼ãã³ã«ãã¦äº¤æ¸ãããããããéããªãããããªãããªã¼ãã¡ãªã¿ã«æ²ç¸ã«ã¯ãããªä»äºã¯ãªããããªã®ã§ãã«ãªã¢ã¼ãã®ä»äºãæ¢ãã¦ãã®ããããã¡ã«ã¯ä»è·ãå¿ è¦ãªè¦ªããã¦ãå¼ã£è¶ãã¯ã§ããªãããã ããã
ãã¡ããã¡ãé¢åãããæ¡ä»¶ã®è»¢è·è
ã ããªããã©ãã次ã®è·å ´ã決ã¾ãã¾ã§ã¯æéããããã¨è¦ã¦ããã®ã§ããã®éã¯Flutterã®åå¼·ãå¾¹åºçã«ãã£ã¦ãã¼ããã©ãªãªãæ´ç·´ããã¦ããããã¨æã£ã¦ããã ãæè¡ã³ãã¥ããã£ã§åã売ã£ã¦ããã°ã¹ã«ã¦ãããããããããªãããæ°é·ã«è»¢è·æ´»åãã¦ã¾ãããã