{"id":337743,"date":"2022-08-31T21:00:25","date_gmt":"2022-08-31T21:00:25","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=337743"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=337743","title":{"rendered":"<span>\u0412\u043e\u043f\u0440\u043e\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u0434\u043d\u044f!<\/p>\n<p>\u041c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u0410\u043b\u0435\u043a\u0441\u0435\u0439, \u044f \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u00ab<a href=\"https:\/\/operator18.ru\/\" rel=\"noopener noreferrer nofollow\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 18<\/a>\u00bb.\u00a0<\/p>\n<p>\u042f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0435 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044f\u0437\u044b\u043a\u0430 Dart \u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Flutter, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u043c\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u0443\u044e \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u0441\u0440\u0430\u0437\u0443 \u0434\u043b\u044f \u0432\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c iOS \u0438 Android.\u00a0<\/p>\n<p>\u041a\u0430\u043a \u0442\u043e \u044f \u0443\u0436\u0435\u00a0<a href=\"https:\/\/vc.ru\/life\/281451-opyt-sozdaniya-crm-sistemy-dlya-upravlyayushchih-kompaniy\" rel=\"noopener noreferrer nofollow\">\u043f\u0438\u0441\u0430\u043b<\/a>\u00a0\u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0431 \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043518. \u041d\u043e \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u043b \u043c\u043d\u0435\u043d\u0438\u044f, \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0440\u044b\u043d\u043e\u043a, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0442. \u0434.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c \u0442\u0435\u043c \u0447\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u2014 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043d\u0443\u043b\u044f. \u0425\u043e\u0447\u0443, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u043b\u0443\u0447\u0448\u0435. \u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u043b\u043e\u0436\u0438\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445, \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u043e \u0442\u043e\u043c, \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0441\u044c \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0438 \u0441 \u043d\u0443\u043b\u044f \u0438 \u043a\u0430\u043a \u0440\u0435\u0448\u0430\u044e \u0438\u0445. \u0425\u043e\u0440\u043e\u0448\u043e \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430\u0439\u0434\u0451\u0442 \u0432 \u043c\u043e\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f.<\/p>\n<hr\/>\n<p>\u0418 \u0442\u0430\u043a, \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0435\u0441\u0442\u044c, \u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a \u0441\u0435\u0431\u0435. \u0422\u043e\u0447\u043d\u0435\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u2014 \u043d\u0435\u0442 \u043a\u0430\u043a\u043e\u0433\u043e \u0442\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430, \u0441\u043e\u0431\u0438\u0440\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u0437 \u0448\u0442\u0430\u0442\u043d\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043c\u0435\u043d\u044f\u044f \u0446\u0432\u0435\u0442 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430. \u0412 \u043e\u0431\u0449\u0435\u043c \u2014 \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b\u0441\u044f \u043e\u0441\u043e\u0431\u043e. \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0442\u043e\u0436\u0435 \u043d\u0435\u0442, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445.<\/p>\n<p>\u0414\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d.<\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u044b\u043b\u043e \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u0439 \u0438\u043b\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439. \u041c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0432\u0438\u0434\u0435\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439, \u0435\u0441\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c.<\/p>\n<p>\u041d\u043e, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0434\u0438\u0437\u0430\u0439\u043d \u2014 \u044d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445, \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445. \u0418 \u043d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u0435 \u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c: \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0438\u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0435 \u0441 \u043d\u0443\u0436\u043d\u044b\u043c \u043c\u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u0432\u00a0<a href=\"https:\/\/pub.dev\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0430\u0431\u0435<\/a>.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d \u0447\u0442\u043e \u0431\u0443\u0434\u0443 \u0441\u0430\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442\u044b, \u043f\u0440\u044f\u043c\u043e \u0441 \u043d\u0443\u043b\u044f. \u042f \u0441\u0447\u0438\u0442\u0430\u043b \u0447\u0442\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439! \u041c\u043e\u0436\u0435\u0448\u044c \u0435\u0441\u043b\u0438 \u0441\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u2014 \u043f\u0438\u0448\u0438!\u00a0<\/p>\n<p>\u0412\u043e\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u043a\u043d\u043e \u0432\u0445\u043e\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432 \u043d\u043e\u0432\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/0bf\/75f\/847\/0bf75f8471290b758a501e05e08e15cd.jpeg\" alt=\"\" title=\"\" width=\"1242\" height=\"1513\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0bf\/75f\/847\/0bf75f8471290b758a501e05e08e15cd.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/899\/8d8\/4b3\/8998d84b3cedf3131de3ed96f110c962.jpeg\" width=\"1242\" height=\"1480\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/899\/8d8\/4b3\/8998d84b3cedf3131de3ed96f110c962.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u044f, \u0440\u0435\u0448\u0438\u0432 \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0431\u0435, \u043d\u0435 \u0441\u0442\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442:<\/p>\n<pre><code class=\"dart\">class LoginDropdown extends StatefulWidget {   final Function(String) onUserRoleChanged;    const LoginDropdown({     required this.onUserRoleChanged,   });    @override   State&lt;LoginDropdown> createState() => _LoginDropdownState(); }  class _LoginDropdownState extends State&lt;LoginDropdown> {   bool isShowMenu = false;   String currentRole = UserRole.mcOperator;   Color roleDropdownButtonColor = AppColors.gray_3;    @override   Widget build(     BuildContext context,   ) =>       MouseRegion(         onEnter: (_) =>             setState(() => roleDropdownButtonColor = AppColors.gray_1),         onExit: (_) =>             setState(() => roleDropdownButtonColor = AppColors.gray_3),         child: GestureDetector(           onTap: () {             setState(() {               \/\/ ignore: avoid_bool_literals_in_conditional_expressions               isShowMenu = isShowMenu ? false : true;             });           },           child: Stack(             children: [               Container(                 height: 56,                 width: 418,                 decoration: BoxDecoration(                   color: roleDropdownButtonColor,                   borderRadius: const BorderRadius.all(                     Radius.circular(12),                   ),                 ),                 child: Padding(                   padding: const EdgeInsets.only(                     left: 20,                     right: 20,                   ),                   child: Row(                     mainAxisAlignment: MainAxisAlignment.spaceBetween,                     children: [                       Text(                         currentRole,                         style: AppFonsts.dropDown_1,                       ),                       Image.asset(                         'icons\/dropdown_arrow.png',                         height: 20,                         width: 20,                       ),                     ],                   ),                 ),               ),               if (isShowMenu)                 Padding(                   \/\/ 56 - is height of first container,                   \/\/ 8 - is constraint between containers                   padding: const EdgeInsets.only(top: 56 + 8),                   child: Container(                     height: 166,                     width: 418,                     decoration: const BoxDecoration(                       boxShadow: [                         \/\/ BoxShadow setup found here:                         \/\/ https:\/\/devsheet.com\/code-snippet\/add-box-shadow-to-container-in-flutter\/                         BoxShadow(                           color: AppColors.gray_6,                           blurRadius: 90,                           offset: Offset(0, 20),                         )                       ],                       color: AppColors.white,                       borderRadius: BorderRadius.all(                         Radius.circular(12),                       ),                     ),                     child: Padding(                       padding: const EdgeInsets.symmetric(vertical: 14),                       child: Column(                         mainAxisAlignment: MainAxisAlignment.spaceBetween,                         crossAxisAlignment: CrossAxisAlignment.start,                         children: [                           for (var role in UserRole.list)                             LoginDropdownItem(                               onTap: () {                                 setState(() {                                   isShowMenu = false;                                   currentRole = role;                                   widget.onUserRoleChanged(role);                                 });                               },                               userRole: role,                             ),                         ],                       ),                     ),                   ),                 ),             ],           ),         ),       ); }<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u00ab\u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442\u00bb \u2014 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0446\u0432\u0435\u0442 \u0438 \u0441\u043a\u0440\u0443\u0433\u043b\u0438\u043b\u0438 \u0443\u0433\u043b\u044b. \u00ab\u0421\u0432\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442\u00bb \u2014 \u044d\u0442\u043e \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438 \u0440\u0435\u0430\u043a\u0446\u0438\u044e \u043d\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.\u00a0<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043a\u0430\u043a\u043e\u0439 \u043d\u0438\u0431\u0443\u0434\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u2014 \u044f \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u0435\u043d!<\/p>\n<p>\u041c\u043d\u0435 \u043a\u0430\u043a \u043d\u043e\u0432\u0438\u0447\u043a\u0443, \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0435\u043c\u0443 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442\u044b, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0434 \u043b\u043e\u0433\u0438\u043a\u043e\u0439 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f. \u042f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u044d\u0442\u043e, \u0432 \u0446\u0435\u043b\u043e\u043c, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0437\u043b\u0438\u0448\u043d\u0438\u043c.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u0447\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u0443\u0436 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u041d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a, \u0447\u0442\u043e \u044f \u0438\u0437\u043e\u0431\u0440\u0451\u043b \u043a\u043e\u043b\u0435\u0441\u043e.<\/p>\n<p>\u042f \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u044d\u0442\u043e\u0442 \u0432\u0438\u0434\u0436\u0435\u0442 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u043d\u0435 \u0441\u0442\u0430\u043b \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 \u043a\u043e\u0440\u043e\u0431\u043e\u0447\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0425\u043e\u0442\u044f \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0443\u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"dart\">\/\/ Inside a Row widget DropdownButtonHideUnderline(    child: DropdownButton2(       icon: const SizedBox(),       dropdownWidth: 418.w,       dropdownMaxHeight: 233.h,       dropdownDecoration: BoxDecoration(          borderRadius: BorderRadius.circular(16.r),       ),       hint: Row(          children: [             Text(                AppString.more,                style: AppFonts.menuUnselected,             ),             SizedBox(                width: 5.w,             ),             Image.asset(                'icons\/dropdown_arrow.png',                height: 20.h,                width: 20.w,             ),          ],       ),       items: items.map(          (item) => DropdownMenuItem&lt;String>(             value: item,             child: Text(                item,                style: AppFonts.dropDownBlack,             ),          ),       ).toList(),       value: selectedValue,       onChanged: widget.onLogSelected,       itemHeight: 35.h,       itemPadding: EdgeInsets.only(          left: 28.w,       ),     ), ), \/\/ Inside a Row widget<\/code><\/pre>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u0435! \u0411\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d \u0437\u0430 \u043a\u0440\u0438\u0442\u0438\u043a\u0443\/\u0441\u043e\u0432\u0435\u0442\u044b\/\u0438\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/683202\/\"> https:\/\/habr.com\/ru\/post\/683202\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u0434\u043d\u044f!<\/p>\n<p>\u041c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u0410\u043b\u0435\u043a\u0441\u0435\u0439, \u044f \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u00ab<a href=\"https:\/\/operator18.ru\/\" rel=\"noopener noreferrer nofollow\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 18<\/a>\u00bb.\u00a0<\/p>\n<p>\u042f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0435 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044f\u0437\u044b\u043a\u0430 Dart \u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Flutter, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u043c\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u0443\u044e \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u0441\u0440\u0430\u0437\u0443 \u0434\u043b\u044f \u0432\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c iOS \u0438 Android.\u00a0<\/p>\n<p>\u041a\u0430\u043a \u0442\u043e \u044f \u0443\u0436\u0435\u00a0<a href=\"https:\/\/vc.ru\/life\/281451-opyt-sozdaniya-crm-sistemy-dlya-upravlyayushchih-kompaniy\" rel=\"noopener noreferrer nofollow\">\u043f\u0438\u0441\u0430\u043b<\/a>\u00a0\u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0431 \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043518. \u041d\u043e \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u043b \u043c\u043d\u0435\u043d\u0438\u044f, \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0440\u044b\u043d\u043e\u043a, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0442. \u0434.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c \u0442\u0435\u043c \u0447\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u2014 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043d\u0443\u043b\u044f. \u0425\u043e\u0447\u0443, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u043b\u0443\u0447\u0448\u0435. \u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u043b\u043e\u0436\u0438\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445, \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u043e \u0442\u043e\u043c, \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044e\u0441\u044c \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0438 \u0441 \u043d\u0443\u043b\u044f \u0438 \u043a\u0430\u043a \u0440\u0435\u0448\u0430\u044e \u0438\u0445. \u0425\u043e\u0440\u043e\u0448\u043e \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430\u0439\u0434\u0451\u0442 \u0432 \u043c\u043e\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f.<\/p>\n<hr\/>\n<p>\u0418 \u0442\u0430\u043a, \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0435\u0441\u0442\u044c, \u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a \u0441\u0435\u0431\u0435. \u0422\u043e\u0447\u043d\u0435\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u2014 \u043d\u0435\u0442 \u043a\u0430\u043a\u043e\u0433\u043e \u0442\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430, \u0441\u043e\u0431\u0438\u0440\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u0437 \u0448\u0442\u0430\u0442\u043d\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043c\u0435\u043d\u044f\u044f \u0446\u0432\u0435\u0442 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430. \u0412 \u043e\u0431\u0449\u0435\u043c \u2014 \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b\u0441\u044f \u043e\u0441\u043e\u0431\u043e. \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0442\u043e\u0436\u0435 \u043d\u0435\u0442, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445.<\/p>\n<p>\u0414\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d.<\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u044b\u043b\u043e \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u0439 \u0438\u043b\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439. \u041c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0432\u0438\u0434\u0435\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439, \u0435\u0441\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c.<\/p>\n<p>\u041d\u043e, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0434\u0438\u0437\u0430\u0439\u043d \u2014 \u044d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445, \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445. \u0418 \u043d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u0435 \u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c: \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0438\u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0435 \u0441 \u043d\u0443\u0436\u043d\u044b\u043c \u043c\u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u0432\u00a0<a href=\"https:\/\/pub.dev\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0430\u0431\u0435<\/a>.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d \u0447\u0442\u043e \u0431\u0443\u0434\u0443 \u0441\u0430\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442\u044b, \u043f\u0440\u044f\u043c\u043e \u0441 \u043d\u0443\u043b\u044f. \u042f \u0441\u0447\u0438\u0442\u0430\u043b \u0447\u0442\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439! \u041c\u043e\u0436\u0435\u0448\u044c \u0435\u0441\u043b\u0438 \u0441\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u2014 \u043f\u0438\u0448\u0438!\u00a0<\/p>\n<p>\u0412\u043e\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u043a\u043d\u043e \u0432\u0445\u043e\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432 \u043d\u043e\u0432\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u044f, \u0440\u0435\u0448\u0438\u0432 \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0431\u0435, \u043d\u0435 \u0441\u0442\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442:<\/p>\n<pre><code class=\"dart\">class LoginDropdown extends StatefulWidget {   final Function(String) onUserRoleChanged;    const LoginDropdown({     required this.onUserRoleChanged,   });    @override   State&lt;LoginDropdown> createState() => _LoginDropdownState(); }  class _LoginDropdownState extends State&lt;LoginDropdown> {   bool isShowMenu = false;   String currentRole = UserRole.mcOperator;   Color roleDropdownButtonColor = AppColors.gray_3;    @override   Widget build(     BuildContext context,   ) =>       MouseRegion(         onEnter: (_) =>             setState(() => roleDropdownButtonColor = AppColors.gray_1),         onExit: (_) =>             setState(() => roleDropdownButtonColor = AppColors.gray_3),         child: GestureDetector(           onTap: () {             setState(() {               \/\/ ignore: avoid_bool_literals_in_conditional_expressions               isShowMenu = isShowMenu ? false : true;             });           },           child: Stack(             children: [               Container(                 height: 56,                 width: 418,                 decoration: BoxDecoration(                   color: roleDropdownButtonColor,                   borderRadius: const BorderRadius.all(                     Radius.circular(12),                   ),                 ),                 child: Padding(                   padding: const EdgeInsets.only(                     left: 20,                     right: 20,                   ),                   child: Row(                     mainAxisAlignment: MainAxisAlignment.spaceBetween,                     children: [                       Text(                         currentRole,                         style: AppFonsts.dropDown_1,                       ),                       Image.asset(                         'icons\/dropdown_arrow.png',                         height: 20,                         width: 20,                       ),                     ],                   ),                 ),               ),               if (isShowMenu)                 Padding(                   \/\/ 56 - is height of first container,                   \/\/ 8 - is constraint between containers                   padding: const EdgeInsets.only(top: 56 + 8),                   child: Container(                     height: 166,                     width: 418,                     decoration: const BoxDecoration(                       boxShadow: [                         \/\/ BoxShadow setup found here:                         \/\/ https:\/\/devsheet.com\/code-snippet\/add-box-shadow-to-container-in-flutter\/                         BoxShadow(                           color: AppColors.gray_6,                           blurRadius: 90,                           offset: Offset(0, 20),                         )                       ],                       color: AppColors.white,                       borderRadius: BorderRadius.all(                         Radius.circular(12),                       ),                     ),                     child: Padding(                       padding: const EdgeInsets.symmetric(vertical: 14),                       child: Column(                         mainAxisAlignment: MainAxisAlignment.spaceBetween,                         crossAxisAlignment: CrossAxisAlignment.start,                         children: [                           for (var role in UserRole.list)                             LoginDropdownItem(                               onTap: () {                                 setState(() {                                   isShowMenu = false;                                   currentRole = role;                                   widget.onUserRoleChanged(role);                                 });                               },                               userRole: role,                             ),                         ],                       ),                     ),                   ),                 ),             ],           ),         ),       ); }<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043c\u0435\u043d\u044f \u00ab\u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442\u00bb \u2014 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0446\u0432\u0435\u0442 \u0438 \u0441\u043a\u0440\u0443\u0433\u043b\u0438\u043b\u0438 \u0443\u0433\u043b\u044b. \u00ab\u0421\u0432\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442\u00bb \u2014 \u044d\u0442\u043e \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438 \u0440\u0435\u0430\u043a\u0446\u0438\u044e \u043d\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.\u00a0<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043a\u0430\u043a\u043e\u0439 \u043d\u0438\u0431\u0443\u0434\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u2014 \u044f \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u0435\u043d!<\/p>\n<p>\u041c\u043d\u0435 \u043a\u0430\u043a \u043d\u043e\u0432\u0438\u0447\u043a\u0443, \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0435\u043c\u0443 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442\u044b, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0434 \u043b\u043e\u0433\u0438\u043a\u043e\u0439 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f. \u042f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u044d\u0442\u043e, \u0432 \u0446\u0435\u043b\u043e\u043c, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0437\u043b\u0438\u0448\u043d\u0438\u043c.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u0447\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u0443\u0436 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u041d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a, \u0447\u0442\u043e \u044f \u0438\u0437\u043e\u0431\u0440\u0451\u043b \u043a\u043e\u043b\u0435\u0441\u043e.<\/p>\n<p>\u042f \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u044d\u0442\u043e\u0442 \u0432\u0438\u0434\u0436\u0435\u0442 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u043d\u0435 \u0441\u0442\u0430\u043b \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 \u043a\u043e\u0440\u043e\u0431\u043e\u0447\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0425\u043e\u0442\u044f \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0443\u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"dart\">\/\/ Inside a Row widget DropdownButtonHideUnderline(    child: DropdownButton2(       icon: const SizedBox(),       dropdownWidth: 418.w,       dropdownMaxHeight: 233.h,       dropdownDecoration: BoxDecoration(          borderRadius: BorderRadius.circular(16.r),       ),       hint: Row(          children: [             Text(                AppString.more,                style: AppFonts.menuUnselected,             ),             SizedBox(                width: 5.w,             ),             Image.asset(                'icons\/dropdown_arrow.png',                height: 20.h,                width: 20.w,             ),          ],       ),       items: items.map(          (item) => DropdownMenuItem&lt;String>(             value: item,             child: Text(                item,                style: AppFonts.dropDownBlack,             ),          ),       ).toList(),       value: selectedValue,       onChanged: widget.onLogSelected,       itemHeight: 35.h,       itemPadding: EdgeInsets.only(          left: 28.w,       ),     ), ), \/\/ Inside a Row widget<\/code><\/pre>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u0435! \u0411\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d \u0437\u0430 \u043a\u0440\u0438\u0442\u0438\u043a\u0443\/\u0441\u043e\u0432\u0435\u0442\u044b\/\u0438\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/683202\/\"> https:\/\/habr.com\/ru\/post\/683202\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-337743","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=337743"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337743\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}