{"id":12522,"date":"2022-10-28T10:00:00","date_gmt":"2022-10-28T01:00:00","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=12522"},"modified":"2022-10-27T19:34:06","modified_gmt":"2022-10-27T10:34:06","slug":"flutter%e3%81%a7%e6%b0%b4%e5%b9%b3%e6%96%b9%e5%90%91%e3%81%ae%e7%82%b9%e7%b7%9a%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/12522","title":{"rendered":"Flutter\u3067\u6c34\u5e73\u65b9\u5411\u306e\u70b9\u7dda\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>Flutter\u3067\u6c34\u5e73\u306e\u30c0\u30c3\u30b7\u30e5\u3084\u70b9\u7dda\u304c\u3046\u307e\u304f\u63cf\u3051\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u4f8b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u7dda\u3092\u5f15\u304d\u305f\u3044\u3068\u304d\u306f\u3001CustomPaint\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3001\u3044\u308d\u3044\u308d\u306a\u7dda\u3092\u63cf\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u6c34\u5e73\u7dda\u306fCanvas\u4e0a\u3067\u306edrawLine\u3068\u3044\u3046\u6a5f\u80fd\u3067offset\u3092\u8a2d\u5b9a\u3055\u308c\u3001\u63cf\u753b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30fc\u30c9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>return Scaffold(\n      appBar: AppBar(\n        title: Text(\"Horizontal Dotted\/Dash Line\"), \n        backgroundColor: Colors.blueAccent, \n      ),\n      body: Container(\n        color: Colors.white,\n        height: 150.0, \n        child: Center(\n          child:CustomPaint(painter: DrawDottedhorizontalline()),\n        ),\n      ),\n    );<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>class DrawDottedhorizontalline extends CustomPainter {\n  late Paint _paint;\n  DrawDottedhorizontalline() {\n    _paint = Paint();\n    _paint.color = Colors.black; \/\/dots color\n    _paint.strokeWidth = 2; \/\/dots thickness\n    _paint.strokeCap = StrokeCap.square; \/\/dots corner edges\n  }\n\n  @override\n  void paint(Canvas canvas, Size size) {\n    for (double i = -300; i &lt; 300; i = i + 15) {\n      \/\/ 15 is space between dots\n      if (i % 2 == 0) {\n        canvas.drawLine(Offset(i, 0), Offset(i + 20, 0.0), _paint);\n      }\n    }\n  }\n\n  @override\n  bool shouldRepaint(CustomPainter oldDelegate) {\n    return false;\n  }\n}<\/code><\/pre>\n\n\n\n<p>\u7d50\u679c<\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" src=\"https:\/\/www.gigas-jp.com\/appnews\/wp-content\/uploads\/sites\/4\/2022\/10\/Screenshot_2022-10-27-18-02-45-233_com.example.audio_files_from_storage_list-1.jpg\" alt=\"\" class=\"wp-image-12524\" width=\"376\" height=\"835\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\" style=\"flex-basis:33.33%\"><\/div>\n<\/div>\n\n\n\n<p>\u91d1\u66dc\u62c5\u5f53 \u2013 Ami<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12522\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/12522\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"Flutter\u3067\u6c34\u5e73\u65b9\u5411\u306e\u70b9\u7dda\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12522\" data-text=\"Flutter\u3067\u6c34\u5e73\u65b9\u5411\u306e\u70b9\u7dda\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12522\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12522\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>Flutter\u3067\u6c34\u5e73\u306e\u30c0\u30c3\u30b7\u30e5\u3084\u70b9\u7dda\u304c\u3046\u307e\u304f\u63cf\u3051\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u4f8b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u7dda\u3092\u5f15\u304d\u305f\u3044\u3068\u304d\u306f\u3001CustomPaint\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3001\u3044\u308d\u3044\u308d\u306a\u7dda\u3092\u63cf\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u6c34\u5e73\u7dda\u306fCanvas\u4e0a\u3067\u306edrawLin [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[100],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12522"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=12522"}],"version-history":[{"count":1,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12522\/revisions"}],"predecessor-version":[{"id":12525,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12522\/revisions\/12525"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=12522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=12522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=12522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}