{"id":2303,"date":"2021-07-16T12:33:38","date_gmt":"2021-07-16T12:33:38","guid":{"rendered":"https:\/\/www.bearloga.space\/?page_id=2303"},"modified":"2021-07-16T12:33:39","modified_gmt":"2021-07-16T12:33:39","slug":"ispolzovanie-flutter-color-dlya-zalivki-fona","status":"publish","type":"page","link":"https:\/\/www.bearloga.space\/uk\/ispolzovanie-flutter-color-dlya-zalivki-fona\/","title":{"rendered":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Flutter Color \u0434\u043b\u044f \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0444\u043e\u043d\u0430"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/dartflutter.ru\/wp-content\/uploads\/2019\/12\/flutter-color-1200x750.jpg\" alt=\"\u041a\u043b\u0430\u0441\u0441 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0446\u0432\u0435\u0442\u043e\u043c flutter color\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u0442\u044c \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Flutter Color, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043b\u0438\u0442\u044c \u0444\u043e\u043d \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0432\u043e \u0424\u043b\u0430\u0442\u0442\u0435\u0440\u0435. \u042f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0437\u043d\u0430\u044e, \u0435\u0441\u0442\u044c \u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043b\u0443\u0447\u0448\u0435 \u044d\u0442\u0438\u0445, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Container<\/code>, \u043a\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 Flutter, \u0441\u0442\u0430\u0440\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e. \u0410 \u0442\u0430\u043a\u0436\u0435, \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0441\u0432\u0439\u043e\u0441\u0442\u0432\u043e&nbsp;<code>decoration<\/code>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c&nbsp;<strong>BoxDecoration<\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c&nbsp;<code>color<\/code>&nbsp;\u2014 \u0437\u0434\u0435\u0441\u044c \u043e\u043d \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u043a \u0440\u0430\u0437 \u0446\u0432\u0435\u0442 \u0444\u043e\u043d\u0430.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0432\u044b\u0439: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441&nbsp;<strong>Color.class<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Container(\n color: Colors.green,\n)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043f\u043e\u0441\u043e\u0431 \u0432\u0442\u043e\u0440\u043e\u0439:&nbsp;<code>decoration<\/code>&nbsp;\u0441&nbsp;<strong>BoxDecoration<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Container(\n      decoration: new BoxDecoration(color: Colors.grey),\n    );\n  \n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u043b\u0430\u0441\u0441 Flutter Color<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b&nbsp;<strong><a href=\"https:\/\/dartflutter.ru\/ispolzovanie-flutter-color-dlya-zalivki-fona\/#fluttercolor\" target=\"_blank\" rel=\"noopener\">Color<\/a><\/strong>&nbsp;\u0438&nbsp;<strong><a href=\"https:\/\/dartflutter.ru\/ispolzovanie-flutter-color-dlya-zalivki-fona\/#colorswatch\" target=\"_blank\" rel=\"noopener\">ColorSwatch<\/a><\/strong>&nbsp;\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0446\u0432\u0435\u0442\u043e\u0432\u0443\u044e \u043f\u0430\u043b\u0438\u0442\u0440\u0443 Material design.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u043c\u0435\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0438\u0437 \u044d\u0442\u0438\u0445 \u043f\u0430\u043b\u0438\u0442\u0440, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0435\u043c\u044b&nbsp;<code>Theme.of<\/code>. \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b ThemeData, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0446\u0432\u0435\u0442\u0430, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0442\u0435\u043c\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440&nbsp;<strong>ThemeData.primaryColor<\/strong>&nbsp;\u0438&nbsp;<strong>ThemeData.accentColor<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043e\u0431\u0440\u0430\u0437\u0446\u043e\u0432 \u0438\u043c\u0435\u044e\u0442 \u0446\u0432\u0435\u0442\u0430 \u043e\u0442 100 \u0434\u043e 900 \u0441 \u0448\u0430\u0433\u043e\u043c \u0432 \u0441\u0442\u043e, \u043f\u043b\u044e\u0441 \u0446\u0432\u0435\u0442 50. \u0427\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0438\u0441\u043b\u043e, \u0442\u0435\u043c \u0431\u043b\u0435\u0434\u043d\u0435\u0435 \u0446\u0432\u0435\u0442. \u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0438\u0441\u043b\u043e, \u0442\u0435\u043c \u0442\u0435\u043c\u043d\u0435\u0435 \u0446\u0432\u0435\u0442. \u041e\u0431\u0440\u0430\u0437\u0446\u044b \u0430\u043a\u0446\u0435\u043d\u0442\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<strong>redAccent<\/strong>) \u0438\u043c\u0435\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f 100, 200, 400 \u0438 700.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u044f\u0434 \u0447\u0435\u0440\u043d\u044b\u0445 \u0438 \u0431\u0435\u043b\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432 \u0441 \u043e\u0431\u0449\u0438\u043c\u0438&nbsp;<strong>opacity<\/strong>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, black50 \u2014 \u044d\u0442\u043e \u0447\u0438\u0441\u0442\u044b\u0439 \u0447\u0435\u0440\u043d\u044b\u0439 \u0446\u0432\u0435\u0442 \u0441 \u043d\u0435\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c\u044e 50%.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0435\u043b\u0435\u043d\u043e\u0433\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Color selection = Colors.green&#91;400];<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u043b\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c Flutter Colors \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438&nbsp;<a href=\"https:\/\/api.flutter.dev\/flutter\/material\/Colors-class.html\" target=\"_blank\" rel=\"noopener\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"blacks-and-whites\">\u0427\u0435\u0440\u043d\u044b\u0435 \u0438 \u0431\u0435\u043b\u044b\u0435 \u0446\u0432\u0435\u0442\u0430 \u0432\u043e \u0424\u043b\u0430\u0442\u0442\u0435\u0440\u0435<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u0438 \u0446\u0432\u0435\u0442\u0430 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e \u0438\u0445 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u0438. \u041d\u0438\u0437\u043a\u0438\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<strong>Colors.white12<\/strong>&nbsp;\u0438&nbsp;<strong>Colors.white10<\/strong>) \u043e\u0447\u0435\u043d\u044c \u0442\u0440\u0443\u0434\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0438 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c \u0432 \u0446\u0435\u043b\u043e\u043c. \u041e\u043d\u0438 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u0442\u043e\u043d\u043a\u0438\u0445 \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fluttercolor\">\u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 Flutter Color<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0446\u0432\u0435\u0442 \u0438\u0437 \u0446\u0438\u0444\u0440 (\u0442\u043e\u0447\u043d\u0435\u0435 \u0431\u0438\u0442).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0411\u0438\u0442\u044b \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0411\u0438\u0442\u044b 24-31 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0410\u043b\u044c\u0444\u0430-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c (\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c\u044e).<\/li><li>\u0411\u0438\u0442\u044b 16-23-\u044d\u0442\u043e \u043a\u0440\u0430\u0441\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/li><li>\u0411\u0438\u0442\u044b 8-15-\u044d\u0442\u043e \u0437\u0435\u043b\u0435\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/li><li>\u0411\u0438\u0442\u044b 0-7-\u044d\u0442\u043e \u0441\u0438\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u0435\u0441\u043b\u0438 AA \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0410\u043b\u044c\u0444\u0430-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0432 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, RR \u043a\u0440\u0430\u0441\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 hex, GG \u0437\u0435\u043b\u0435\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 hex, \u0438 BB \u0441\u0438\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 hex, \u0446\u0432\u0435\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u0440\u0430\u0436\u0435\u043d \u043a\u0430\u043a \u0446\u0432\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u044b\u0439 (<strong>0xAARRGGBB<\/strong>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0435\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u043e\u0440\u0430\u043d\u0436\u0435\u0432\u044b\u0439, \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c const&nbsp;<strong>Color(0xFFFF9000)&nbsp;<\/strong>(FF \u0434\u043b\u044f \u0410\u043b\u044c\u0444\u0430, FF \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043d\u043e\u0433\u043e, 90 \u0434\u043b\u044f \u0437\u0435\u043b\u0435\u043d\u043e\u0433\u043e \u0438 00 \u0434\u043b\u044f \u0441\u0438\u043d\u0435\u0433\u043e).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const Color(int value) : value = value &amp; 0xFFFFFFFF;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"colorswatch\">ColorSwatch&lt;T&gt; class<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0426\u0432\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f&nbsp;<strong>Swatch<\/strong>&nbsp;\u00ab\u043e\u0431\u0440\u0430\u0437\u0435\u0446\u00bb.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0442\u0438\u043f\u0430 T.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><a href=\"https:\/\/api.flutter.dev\/flutter\/material\/MaterialColor-class.html\" target=\"_blank\" rel=\"noopener\">MaterialColor<\/a><\/strong>&nbsp;\u0438&nbsp;<strong><a href=\"https:\/\/api.flutter.dev\/flutter\/material\/MaterialAccentColor-class.html\" target=\"_blank\" rel=\"noopener\">MaterialColorAccent<\/a><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0435 \u043e\u0431\u0440\u0430\u0437\u0446\u044b \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u0438 \u0446\u0432\u0435\u0442\u0430 \u0430\u043a\u0446\u0435\u043d\u0442\u0430.<\/li><li><strong><a href=\"https:\/\/api.flutter.dev\/flutter\/material\/Colors-class.html\" target=\"_blank\" rel=\"noopener\">materials.Colors<\/a><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0446\u0432\u0435\u0442\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">ColorSwatch&lt;T&gt;&nbsp;constructor<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>const ColorSwatch&lt;T&gt;(int primary,Map&lt;T, Color&gt; _swatch)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u0446\u0432\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0443\u044e \u00ab\u043e\u0431\u0440\u0430\u0437\u0435\u0446\u00bb.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c 32-\u0431\u0438\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 ARGB \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043e\u0431\u0440\u0430\u0437\u0446\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440&nbsp;<strong>Color<\/strong>&nbsp;\u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0436\u0435 \u0446\u0432\u0435\u0442\u0430 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c. (\u042d\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0430 \u0446\u0432\u0435\u0442\u0430 \u0432 \u043e\u0431\u0440\u0430\u0437\u0446\u0435.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const ColorSwatch(int primary, this._swatch) : super(primary);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Colors \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u0430\u0445<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e \u043f\u0440\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Colors \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u00a0<a href=\"https:\/\/dartflutter.ru\/flutter-button\/\" target=\"_blank\" rel=\"noopener\">Flutter Buttons<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u0442\u044c \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Flutter Color, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043b\u0438\u0442\u044c \u0444\u043e\u043d \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0432\u043e \u0424\u043b\u0430\u0442\u0442\u0435\u0440\u0435. \u042f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0437\u043d\u0430\u044e, \u0435\u0441\u0442\u044c \u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043b\u0443\u0447\u0448\u0435 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[87],"tags":[],"class_list":["post-2303","page","type-page","status-publish","hentry","category-flutter"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/2303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/comments?post=2303"}],"version-history":[{"count":0,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/2303\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/media?parent=2303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/categories?post=2303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/tags?post=2303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}