{"id":11316,"date":"2022-10-01T21:44:55","date_gmt":"2022-10-01T12:44:55","guid":{"rendered":"https:\/\/www.webcyou.com\/?p=11316"},"modified":"2022-10-01T21:44:57","modified_gmt":"2022-10-01T12:44:57","slug":"%e3%80%90flutter%e3%80%91checkboxlisttile%e3%81%ae%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%82%92%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=11316","title":{"rendered":"\u3010Flutter\u3011CheckboxListTile\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba"},"content":{"rendered":"\n<p>\u3069\u3082\u3067\u3059\u3002<\/p>\n<p>\u7a81\u7136\u3067\u3059\u304c\u3001\u7686\u3055\u3093\u00a0<b data-stringify-type=\"bold\">Flutter\u00a0<\/b>\u6271\u3063\u3066\u3044\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u79c1\u3001\u5b58\u5728\u3082\u305a\u3063\u3068\u524d\u304b\u3089\u77e5\u3063\u3066\u3044\u3066\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u958b\u767a\u306f\u300c<strong>Flutter<\/strong>\u300d\u3060\u308d\u3046\u3002<\/p>\n<p>\u3068\u305a\u3063\u3068\u601d\u3063\u3066\u306f\u3044\u307e\u3057\u305f\u304c\u3001\u4ee5\u524d\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u958b\u767a\u306a\u3069\u89e6\u3063\u3066\u306f\u3044\u307e\u3057\u305f\u304c\u3001\u307e\u305f\u3057\u3070\u3089\u304f\u6271\u308f\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u3001\u5148\u65e5\u3001Flutter 3.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3001MacOS\u3084Linux\u30a2\u30d7\u30ea\u3082\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u66f4\u306b\u6700\u5f37\u611f\u5897\u3057\u3066\u304d\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>PC\u306eGUI\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u3066\u3001\u3044\u307e\u307e\u3067\u306f\u300c<strong>Flutter<\/strong>\u300d\u306e\u9078\u629e\u80a2\uff08\u30b9\u30de\u30db\u306e\u307f\u30d3\u30eb\u30c9\u3060\u3063\u305f\u306e\u3067\uff09\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u5f8c\u306f\u300c<strong>Flutter<\/strong>\u300d\u306e\u9078\u629e\u3067\u304d\u308b\u3068\u306e\u3053\u3068\u3067\u3001\u4e45\u3005\u6271\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u3063\u3071\u6700\u9ad8\u3067\u3059\u306d\u3002<\/p>\n<p>\u3082\u3046\u300c<a href=\"https:\/\/flutter.dev\/\" target=\"_blank\" rel=\"noopener\"><strong>Flutter<\/strong><\/a>\u300d\u4e00\u629e\u3067\u3001Flutter\u6cbc\u306b\u30cf\u30de\u3063\u3066\u3057\u307e\u3044\u305d\u3046\u306a\u52e2\u3044\u3002<\/p>\n<p><a href=\"https:\/\/flutter.dev\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11321\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter-hero-1024x508.png\" alt=\"\" width=\"622\" height=\"309\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter-hero-1024x508.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter-hero-300x149.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter-hero-768x381.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter-hero-1536x761.png 1536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter-hero.png 1759w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u300c<strong>Flutter<\/strong>\u300d\u81ea\u8eab\u3001\u4e16\u754c\u7684\u306b\u3082\u6ce8\u76ee\u5ea6\u3082\u9ad8\u307e\u3063\u3066\u304a\u308a\u3001\u56fd\u5185\u3067\u3082\u4ee5\u524d\u3068\u6bd4\u3079\u308b\u3068\u5c0e\u5165\u3059\u308b\u4f01\u696d\u3082\u5897\u3048\u3066\u304a\u308a\u3001\u4eca\u5f8c\u3082\u4f7f\u308f\u308c\u308b\u6a5f\u4f1a\u304c\u5897\u3048\u3066\u3044\u304d\u3001\u5c06\u6765\u6027\u3082\u9ad8\u3044\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u51fa\u6765\u308b\u3053\u3068\u3082\u591a\u304f\u3001\u7528\u610f\u3055\u308c\u3066\u3044\u308bWidget\u3082\u591a\u304f\u3001\u30de\u30c6\u30ea\u30a2\u30eb\u30c7\u30b6\u30a4\u30f3\u3068\u7e01\u306e\u306a\u3044\u65b9\u306f\u899a\u3048\u308b\u306e\u3082\u56f0\u96e3\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3088\u306d\u3002<\/p>\n<p>\u3066\u308f\u3051\u3067\u3001\u4eca\u56de\u306fCheckboxListTile\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h4>CheckboxListTile<\/h4>\n<p>CheckboxListTile\u306f\u3001Checkbox\u3068ListTile\u304c\u5408\u4f53\u3057\u305fWidget\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4fbf\u5229\u3067\u3059\u304c\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u96e3\u3057\u305d\u3046\u306a\u5370\u8c61\u3002<\/p>\n<p>\u4eca\u56de\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u5982\u4f55\u306b\u3082PC\u7528\u3068\u3057\u3066\u4f7f\u3046 ToDo APP\u5236\u4f5c\u306eUI\u3067\u4f7f\u7528\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11318\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo1.png\" alt=\"\" width=\"295\" height=\"326\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo1.png 295w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo1-271x300.png 271w\" sizes=\"auto, (max-width: 295px) 100vw, 295px\" \/><\/p>\n<p>\u305d\u3046\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eCheckbox\u306f\u3053\u306e\u69d8\u306a\u611f\u3058\u3067\u300c\u5982\u4f55\u306b\u3082\u300d\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11319\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo2.png\" alt=\"\" width=\"126\" height=\"101\" \/><\/p>\n<p>\u3067\u3001\u4e0a\u8a18\u306e\u69d8\u306b\u5186\u5f62\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u5909\u66f4\u3057\u3066\u3044\u304f\u306e\u3067\u3059\u304c\u3001Checkbox\u81ea\u4f53\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u305d\u308c\u306a\u308a\u306b\u3042\u308a\u307e\u3059\u304c\u3001CheckboxListTile\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u95a2\u3059\u308b\u65e5\u672c\u8a9e\u306e\u8a18\u4e8b\u3082\u5c11\u306a\u304f\u3001<\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/68304403\/how-to-make-checkbox-shape-rounded-in-checkboxlisttile-in-flutter\" target=\"_blank\" rel=\"noopener\">stackoverflow<\/a>\u306b\u3076\u3061\u5f53\u305f\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u30c6\u30fc\u30de\u3092\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3059\u308b\u65b9\u6cd5\u304c\u8a18\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">final theme = Theme.of(context);\nfinal oldCheckboxTheme = theme.checkboxTheme;\nfinal newCheckBoxTheme = oldCheckboxTheme.copyWith( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(100)), );<\/pre>\n<p>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u5186\u5f62\u3060\u3051\u304c\u9069\u5fdc\u3055\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u4e0a\u8a18\u306e\u5f62\u3067\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3055\u305b\u305f\u306e\u3067\u3059\u304c\u3001<\/p>\n<p>\u3075\u3068\u3001CheckboxListTile\u306e\u5b9f\u88c5\u307f\u308b\u3068\u3001<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">this.shape,\nthis.checkboxShape,<\/pre>\n\n<p>\u3068\u3001shape\u306fCheckboxListTile\u81ea\u4f53\uff08\u591a\u5206\uff09\u3067\u3001checkboxShape\u3068Checkbox\u7528\u306eshape\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u305f\u306e\u306b\u6c17\u304c\u4ed8\u304d\u307e\u3057\u305f\u3002\uff08\u6c17\u3065\u3051\u3088\u3068\uff09<\/p>\n<p>\u3044\u3084\u3041\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3061\u3083\u3093\u3068\u8aad\u307e\u306a\u3044\u3068\u3067\u3059\u306d\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">activeColor: Colors.black.withOpacity(0),\ncheckboxShape: RoundedRectangleBorder(\n    borderRadius: BorderRadius.circular(10)),\n    side: BorderSide(\n        color: Color.fromRGBO(217, 217, 217, 1),\n        width: 2.0,\n),<\/pre>\n\n<p>\u3067\u3001\u80cc\u666f\u900f\u904e\u3067\u3001\u30dc\u30fc\u30c0\u30fc\u592a\u3081\uff08\u8272\u3082\u5909\u66f4\uff09\u3001\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u306f\u30c7\u30b6\u30a4\u30f3\u306e\u65b9\u306e\u8272\u304c\u6c17\u306b\u5165\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u5b9f\u88c5\u3092\u767d\u3063\u307d\u3044\u65b9\u3078\u3068\u3002<\/p>\n<p>\u307b\u307c\u5b8c\u74a7\u3002<\/p>\n<p>\u3068\u3001\u601d\u3044\u304d\u3084\u3001<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u5f8c\u306eactiveColor\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30c1\u30a7\u30c3\u30af\u5f8c\u306e\u67a0\u7dda\u3082\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u3002\u3002<\/p>\n<p>\u6307\u5b9a\u3067\u304d\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u306a\u3055\u3052\u3002\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11317\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo.png\" alt=\"\" width=\"387\" height=\"350\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo.png 461w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/10\/flutter_todo-300x271.png 300w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/p>\n<p>\u3053\u308c\u306f\u3001\u53b3\u3057\u3044\u306e\u304b\u3002\u3002<\/p>\n<p>\u3068\u3001\u3067\u304d\u306a\u3044\u304b\u8abf\u3079\u3066\u3044\u307e\u3059\u304c\u3001\u7121\u7406\u3063\u307d\u3044\u306e\u3067\u3053\u308c\u3067\u884c\u3053\u3046\u304b\u8003\u3048\u4e2d\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/webcyou-org\/todo-gui\/tree\/main\/Dart\/Flutter\/todo\" target=\"_blank\" rel=\"noopener\">ToDoAPP\u306egithhub\u30ec\u30dd\u30b8\u30c8\u30ea<\/a><\/p>\n<p>\u4eca\u5e74\u6b8b\u308a\u306f\u300c<strong>Flutter<\/strong>\u300d\u3092\u30ac\u30f3\u30ac\u30f3\u6271\u3063\u3066\u3044\u3053\u3046\u304b\u306a\u3002\u3068\u3082\u3046\u4eca\u65e5\u3053\u306e\u3054\u308d\u3067\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002<\/p>\n<p>\u307e\u305f\u307e\u305f\u3041\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3067\u3059\u3002 \u7a81\u7136\u3067\u3059\u304c\u3001\u7686\u3055\u3093\u00a0Flutter\u00a0\u6271\u3063\u3066\u3044\u308b\u3067\u3057\u3087\u3046\u304b\uff1f \u79c1\u3001\u5b58\u5728\u3082\u305a\u3063\u3068\u524d\u304b\u3089\u77e5\u3063\u3066\u3044\u3066\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u958b\u767a\u306f\u300cFlutter\u300d\u3060\u308d\u3046\u3002 \u3068\u305a\u3063\u3068\u601d\u3063\u3066\u306f\u3044\u307e\u3057\u305f\u304c\u3001\u4ee5\u524d\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u958b\u767a\u306a\u3069\u89e6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11320,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[295],"tags":[296,166,37,47,178,78,114,118],"class_list":["post-11316","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-flutter","tag-dart","tag-iphone","tag-iphone-","tag-javascript-2","tag-178","tag-78","tag-114","tag-118"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11316"}],"version-history":[{"count":5,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11316\/revisions"}],"predecessor-version":[{"id":11326,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11316\/revisions\/11326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/media\/11320"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}