modernized menu bar
3
flutter/assets/actions.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Gravit.io -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="490.359 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 496.884 536.93 L 516.385 536.93 C 518.111 536.93 519.771 537.619 520.996 538.844 C 522.221 540.062 522.91 541.722 522.91 543.455 L 522.91 562.405 C 522.91 564.138 522.221 565.798 520.996 567.016 C 519.771 568.241 518.111 568.93 516.385 568.93 L 496.884 568.93 C 495.158 568.93 493.498 568.241 492.273 567.016 C 491.048 565.798 490.359 564.138 490.359 562.405 L 490.359 543.455 C 490.359 541.722 491.048 540.062 492.273 538.844 C 493.498 537.619 495.158 536.93 496.884 536.93 Z M 508.388 551.016 L 509.259 542.964 C 509.395 541.704 508.98 541.565 508.332 542.655 L 501.475 554.186 C 501.259 554.549 501.427 554.844 501.85 554.844 L 504.881 554.844 L 504.011 562.896 C 503.874 564.156 504.29 564.295 504.938 563.205 L 511.794 551.674 C 512.01 551.311 511.842 551.016 511.42 551.016 L 508.388 551.016 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
@ -1 +1,2 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1675159173189" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1697" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512.7 797H292.9c-24 0-47.3 4.7-70 12.5-57.3 19.5-108 50.7-155.5 87.4-13 10-28.3 10.9-40.2 1.7-8.2-6.3-12.6-14.7-12.6-25.1 0-133.2-0.2-266.5 0.1-399.7 0.1-36.9 6.7-73.1 17.3-108.6 10.8-36.1 26.1-70.1 47.4-101.2 32.7-47.8 76.2-81.7 131.7-99.5 18-5.8 36.6-9 55.4-10.5 12.2-1 24.4-1.1 36.6-1.1 26.5 0 52.9-0.3 79.4 0.1 72.8 0.9 145.6 0.6 218.5 0.3 41.6-0.2 83.2-0.3 124.9-0.3 28.3 0 56.1 3.9 83 13.1 34.5 11.7 65.3 29.6 92.2 54.3 16 14.8 30.2 31.1 42.6 49 32.4 46.9 52 98.7 61.1 154.8 3.2 19.8 5.1 39.7 4.7 59.8-0.9 50.3-11.7 98.3-33 144-13 27.9-29.5 53.5-49.7 76.6-30.5 34.8-67.3 60.7-110.9 76.7-23.6 8.7-48 13.6-73 15.2-6.2 0.4-12.4 0.5-18.6 0.5H512.7z m-4.6-580.6c0-0.1 0-0.1 0 0-70.5-0.1-141-0.1-211.5-0.1-10.2 0-20.4 0.2-30.6 1.3-26.9 2.8-52.1 10.8-75.3 24.9-26.8 16.2-47.3 38.8-64.1 64.9-15 23.2-25.7 48.3-33.7 74.7-9.3 30.9-15.1 62.6-15.2 94.8-0.3 110.5-0.1 220.9-0.1 331.4 0 1-0.5 2.4 0.5 3 1 0.6 1.9-0.6 2.7-1.1 28.5-18.3 58.1-34.6 89.3-47.9 41.6-17.8 84.6-28.4 130.3-28.3 136.6 0.4 273.2 0.1 409.8 0.2 13.8 0 27.6-0.1 41.3-1.8 20.1-2.5 39.5-7.6 57.9-16.3 36.9-17.4 66.3-43.5 88.8-77.3 40-60.4 55.1-126.7 45.3-198.5-5.3-38.9-17.3-75.7-36.2-110.2-14.1-25.7-31.8-48.7-54.2-67.8-34.8-29.9-75.5-45.2-121.1-45.6-74.6-0.8-149.3-0.3-223.9-0.3z" p-id="1698"></path><path d="M548.2 673.6c-17.5 0.4-34.7-2.3-51.7-6.4-6.4-1.5-11.5-5-16.1-9.6-24.6-24.3-48.9-48.8-72.3-74.3-21.6-23.5-42.6-47.5-61.8-73.1-13.4-17.9-26.4-36.1-35.1-56.9-8.1-19.4-10.5-39.5-7.4-60.4 4.1-27.4 16.7-50.8 33.5-72.3 6.3-8 13.2-15.3 20.8-22 9.3-8.2 20.2-10.3 31.9-5.9 11.8 4.5 18.7 13.4 20.2 26.1 1.2 10.3-2.1 19.1-9.7 26.2-11.8 11.2-21.8 23.7-28.6 38.6-6.7 14.7-8.8 29.7-2.7 45.1 4 10.2 10.3 19.3 16.5 28.4 17.1 24.9 36.8 47.7 56.8 70.2 22.1 24.9 45.6 48.5 68.9 72.3 2.4 2.5 5.1 4.8 7.5 7.3 2.2 2.2 5.1 1.8 7.7 2.1 16.1 2.2 32.1 2.8 48-1.3 13.2-3.4 23.6-10.4 30.9-22.3 12-19.3 38-20.4 51.9-2.7 7.7 9.9 8.5 24.1 1.8 35.4-16 27.1-40.1 43.2-70.2 50.9-4.2 1.1-8.4 1.9-12.7 2.6-9.2 1.5-18.5 2.4-28.1 2zM532.5 315.7c0.1-10.5 10.4-18.2 20.3-15.1 22.8 7.2 43.9 17.5 63.6 31 21.2 14.6 38.1 33.1 51.9 54.6 16.2 25.1 27.7 52.3 34.8 81.2 1 4 1.8 8 2.5 12.1 1.5 8.1-3.6 16.1-11.5 18.2-7.8 2.1-16.1-2-19-9.7-0.8-2.2-1.2-4.7-1.8-7-8-35.7-22.7-68.2-46-96.7-14.3-17.4-32.4-30-52.2-40.2-10.1-5.2-20.6-9.5-31.5-13-7.1-2.2-11.1-8-11.1-15.4zM615.6 513.1c-8.1-0.1-14.1-5.1-15.8-13.6-3.2-15.8-9.1-30.5-17.6-44.1-14.4-23.1-34.1-39.9-59.3-50.2-1.5-0.6-3-0.9-4.5-1.4-8.7-2.9-13.3-11.7-10.6-20.1 2.9-8.8 11.6-13.1 20.5-10.1 38.1 12.8 65.8 38 85.4 72.5 8.5 15 14.3 31.1 17.5 48.2 1.9 9.8-5.5 18.8-15.6 18.8z" p-id="1699"></path></svg>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="578.672 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 585.197 536.93 L 604.698 536.93 C 606.424 536.93 608.084 537.619 609.309 538.844 C 610.534 540.062 611.223 541.722 611.223 543.455 L 611.223 562.405 C 611.223 564.138 610.534 565.798 609.309 567.016 C 608.084 568.241 606.424 568.93 604.698 568.93 L 585.197 568.93 C 583.471 568.93 581.811 568.241 580.586 567.016 C 579.361 565.798 578.672 564.138 578.672 562.405 L 578.672 543.455 C 578.672 541.722 579.361 540.062 580.586 538.844 C 581.811 537.619 583.471 536.93 585.197 536.93 Z M 592.959 558.623 L 600.583 558.623 C 601.628 558.623 602.63 558.209 603.368 557.471 C 604.106 556.733 604.524 555.73 604.524 554.685 L 604.524 547.472 C 604.524 546.427 604.106 545.424 603.368 544.686 C 602.63 543.944 601.628 543.53 600.583 543.53 L 589.312 543.53 C 588.267 543.53 587.265 543.944 586.527 544.686 C 585.789 545.424 585.371 546.427 585.371 547.472 L 585.371 554.685 C 585.371 555.73 585.789 556.733 586.527 557.471 C 587.014 557.958 587.617 558.304 588.271 558.483 L 588.271 561.026 C 588.271 562.439 589.059 562.752 590.029 561.725 L 592.959 558.623 Z M 591.365 550.955 C 591.365 550.955 591.365 550.955 591.365 550.955 C 590.954 550.544 590.722 549.981 590.722 549.398 C 590.722 548.815 590.954 548.256 591.367 547.843 L 591.908 547.302 C 592.042 547.168 592.223 547.092 592.413 547.094 C 592.602 547.094 592.784 547.168 592.918 547.302 Q 592.941 547.325 592.951 547.337 Q 594.088 548.576 592.905 549.799 C 592.722 549.988 592.724 550.293 592.91 550.479 L 595.302 552.871 C 595.488 553.057 595.793 553.059 595.982 552.876 Q 597.205 551.693 598.444 552.83 Q 598.456 552.84 598.479 552.863 C 598.613 552.998 598.687 553.179 598.687 553.368 C 598.689 553.558 598.613 553.739 598.479 553.873 L 597.938 554.414 C 597.525 554.827 596.966 555.059 596.383 555.059 C 595.8 555.059 595.237 554.827 594.826 554.416 C 594.826 554.416 594.826 554.416 594.826 554.416 L 591.365 550.955 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.1 KiB |
2
flutter/assets/close.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="666.985 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 673.51 536.93 L 693.011 536.93 C 694.737 536.93 696.397 537.619 697.622 538.844 C 698.847 540.062 699.536 541.722 699.536 543.455 L 699.536 562.405 C 699.536 564.138 698.847 565.798 697.622 567.016 C 696.397 568.241 694.737 568.93 693.011 568.93 L 673.51 568.93 C 671.784 568.93 670.124 568.241 668.899 567.016 C 667.674 565.798 666.985 564.138 666.985 562.405 L 666.985 543.455 C 666.985 541.722 667.674 540.062 668.899 538.844 C 670.124 537.619 671.784 536.93 673.51 536.93 Z M 683.26 551.192 L 677.955 545.887 C 677.476 545.407 676.697 545.407 676.217 545.887 L 676.217 545.887 C 675.738 546.367 675.738 547.145 676.217 547.625 L 681.522 552.93 L 676.217 558.235 C 675.738 558.715 675.738 559.493 676.217 559.973 L 676.217 559.973 C 676.697 560.453 677.476 560.453 677.955 559.973 L 683.26 554.668 L 688.565 559.973 C 689.045 560.453 689.824 560.453 690.304 559.973 L 690.304 559.973 C 690.783 559.493 690.783 558.715 690.304 558.235 L 684.999 552.93 L 690.304 547.625 C 690.783 547.145 690.783 546.367 690.304 545.887 L 690.304 545.887 C 689.824 545.407 689.045 545.407 688.565 545.887 L 683.26 551.192 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
2
flutter/assets/display.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="446.203 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 452.727 536.93 L 472.229 536.93 C 473.954 536.93 475.615 537.619 476.84 538.844 C 478.065 540.062 478.754 541.722 478.754 543.455 L 478.754 562.405 C 478.754 564.138 478.065 565.798 476.84 567.016 C 475.615 568.241 473.954 568.93 472.229 568.93 L 452.727 568.93 C 451.002 568.93 449.342 568.241 448.117 567.016 C 446.891 565.798 446.203 564.138 446.203 562.405 L 446.203 543.455 C 446.203 541.722 446.891 540.062 448.117 538.844 C 449.342 537.619 451.002 536.93 452.727 536.93 Z M 455.395 544.796 L 469.561 544.796 C 469.967 544.796 470.351 544.963 470.641 545.245 C 470.924 545.535 471.091 545.92 471.091 546.326 L 471.091 555.395 C 471.091 555.801 470.924 556.185 470.641 556.475 C 470.351 556.758 469.967 556.925 469.561 556.925 L 455.395 556.925 C 454.989 556.925 454.605 556.758 454.315 556.475 C 454.032 556.185 453.866 555.801 453.866 555.395 L 453.866 546.326 C 453.866 545.92 454.032 545.535 454.315 545.245 C 454.605 544.963 454.989 544.796 455.395 544.796 L 455.395 544.796 L 455.395 544.796 Z M 466.766 560.549 L 469.561 560.549 C 470.924 560.549 472.236 560.006 473.2 559.034 C 474.172 558.07 474.716 556.758 474.716 555.395 L 474.716 546.326 C 474.716 544.963 474.172 543.65 473.2 542.686 C 472.236 541.715 470.924 541.171 469.561 541.171 L 455.395 541.171 L 455.395 541.171 C 454.032 541.171 452.72 541.715 451.756 542.686 C 450.784 543.65 450.241 544.963 450.241 546.326 L 450.241 555.395 C 450.241 556.758 450.784 558.07 451.756 559.034 C 452.72 560.006 454.032 560.549 455.395 560.549 L 458.19 560.549 L 458.19 561.783 C 458.19 563.558 459.631 564.999 461.406 564.999 L 463.55 564.999 C 465.325 564.999 466.766 563.558 466.766 561.783 L 466.766 560.549 L 466.766 560.549 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 1.9 KiB |
2
flutter/assets/fullscreen.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="402.046 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 409.992 548.921 C 409.992 549.399 409.803 549.856 409.463 550.197 C 409.122 550.538 408.665 550.733 408.179 550.733 C 407.701 550.733 407.237 550.538 406.896 550.197 C 406.563 549.856 406.367 549.399 406.367 548.921 L 406.367 546.115 C 406.367 544.803 406.889 543.549 407.817 542.621 C 408.745 541.693 409.999 541.171 411.311 541.171 L 414.11 541.171 C 414.595 541.171 415.052 541.367 415.393 541.708 C 415.734 542.041 415.922 542.505 415.922 542.983 C 415.922 543.469 415.734 543.926 415.393 544.267 C 415.052 544.607 414.595 544.796 414.11 544.796 L 411.311 544.796 C 410.963 544.796 410.623 544.934 410.376 545.187 C 410.13 545.434 409.992 545.767 409.992 546.115 L 409.992 548.921 L 409.992 548.921 L 409.992 548.921 L 409.992 548.921 Z M 414.11 561.064 C 414.595 561.064 415.052 561.253 415.393 561.593 C 415.734 561.934 415.922 562.391 415.922 562.877 C 415.922 563.355 415.734 563.819 415.393 564.152 C 415.052 564.493 414.595 564.689 414.11 564.689 L 411.311 564.689 C 409.999 564.689 408.745 564.167 407.817 563.239 C 406.889 562.311 406.367 561.057 406.367 559.745 L 406.367 556.939 C 406.367 556.461 406.563 556.004 406.896 555.663 C 407.237 555.322 407.701 555.127 408.179 555.127 C 408.665 555.127 409.122 555.322 409.463 555.663 C 409.803 556.004 409.992 556.461 409.992 556.939 L 409.992 559.745 C 409.992 560.093 410.13 560.426 410.376 560.673 C 410.623 560.926 410.963 561.064 411.311 561.064 L 414.11 561.064 L 414.11 561.064 L 414.11 561.064 Z M 422.534 544.796 C 422.048 544.796 421.591 544.607 421.251 544.267 C 420.91 543.926 420.721 543.469 420.721 542.983 C 420.721 542.505 420.91 542.041 421.251 541.708 C 421.591 541.367 422.048 541.171 422.534 541.171 L 425.332 541.171 C 426.644 541.171 427.899 541.693 428.826 542.621 C 429.754 543.549 430.276 544.803 430.276 546.115 L 430.276 548.921 C 430.276 549.399 430.081 549.856 429.747 550.197 C 429.406 550.538 428.942 550.733 428.464 550.733 C 427.978 550.733 427.522 550.538 427.181 550.197 C 426.84 549.856 426.652 549.399 426.652 548.921 L 426.652 546.115 C 426.652 545.767 426.514 545.434 426.267 545.187 C 426.021 544.934 425.68 544.796 425.332 544.796 L 422.534 544.796 L 422.534 544.796 Z M 408.571 536.93 L 428.073 536.93 C 429.798 536.93 431.458 537.619 432.683 538.844 C 433.908 540.062 434.597 541.722 434.597 543.455 L 434.597 562.405 C 434.597 564.138 433.908 565.798 432.683 567.016 C 431.458 568.241 429.798 568.93 428.073 568.93 L 408.571 568.93 C 406.846 568.93 405.185 568.241 403.96 567.016 C 402.735 565.798 402.046 564.138 402.046 562.405 L 402.046 543.455 C 402.046 541.722 402.735 540.062 403.96 538.844 C 405.185 537.619 406.846 536.93 408.571 536.93 L 408.571 536.93 L 408.571 536.93 L 408.571 536.93 Z M 426.652 556.939 C 426.652 556.461 426.84 556.004 427.181 555.663 C 427.522 555.322 427.978 555.127 428.464 555.127 C 428.942 555.127 429.406 555.322 429.747 555.663 C 430.081 556.004 430.276 556.461 430.276 556.939 L 430.276 559.745 C 430.276 561.057 429.754 562.311 428.826 563.239 C 427.899 564.167 426.644 564.689 425.332 564.689 L 422.534 564.689 C 422.048 564.689 421.591 564.493 421.251 564.152 C 420.91 563.819 420.721 563.355 420.721 562.877 C 420.721 562.391 420.91 561.934 421.251 561.593 C 421.591 561.253 422.048 561.064 422.534 561.064 L 425.332 561.064 C 425.68 561.064 426.021 560.926 426.267 560.673 C 426.514 560.426 426.652 560.093 426.652 559.745 L 426.652 556.939 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 3.6 KiB |
2
flutter/assets/fullscreen_exit.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="402.046 578.084 32.551 32" width="32.551pt" height="32pt"><path d=" M 412.297 584.137 C 412.297 583.659 412.486 583.202 412.826 582.862 C 413.167 582.521 413.624 582.325 414.11 582.325 C 414.588 582.325 415.052 582.521 415.393 582.862 C 415.726 583.202 415.922 583.659 415.922 584.137 L 415.922 586.943 C 415.922 588.255 415.4 589.509 414.472 590.437 C 413.544 591.365 412.29 591.887 410.978 591.887 L 408.179 591.887 C 407.694 591.887 407.237 591.692 406.896 591.351 C 406.556 591.017 406.367 590.553 406.367 590.075 C 406.367 589.589 406.556 589.132 406.896 588.792 C 407.237 588.451 407.694 588.262 408.179 588.262 L 410.978 588.262 C 411.326 588.262 411.667 588.125 411.913 587.871 C 412.16 587.625 412.297 587.291 412.297 586.943 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 Z M 408.179 599.905 C 407.694 599.905 407.237 599.717 406.896 599.376 C 406.556 599.035 406.367 598.579 406.367 598.093 C 406.367 597.615 406.556 597.151 406.896 596.817 C 407.237 596.476 407.694 596.281 408.179 596.281 L 410.978 596.281 C 412.29 596.281 413.544 596.803 414.472 597.731 C 415.4 598.658 415.922 599.913 415.922 601.225 L 415.922 604.03 C 415.922 604.509 415.726 604.966 415.393 605.306 C 415.052 605.647 414.588 605.843 414.11 605.843 C 413.624 605.843 413.167 605.647 412.826 605.306 C 412.486 604.966 412.297 604.509 412.297 604.03 L 412.297 601.225 C 412.297 600.877 412.16 600.543 411.913 600.297 C 411.667 600.043 411.326 599.905 410.978 599.905 L 408.179 599.905 L 408.179 599.905 L 408.179 599.905 L 408.179 599.905 L 408.179 599.905 Z M 428.464 588.262 C 428.95 588.262 429.406 588.451 429.747 588.792 C 430.088 589.132 430.276 589.589 430.276 590.075 C 430.276 590.553 430.088 591.017 429.747 591.351 C 429.406 591.692 428.95 591.887 428.464 591.887 L 425.666 591.887 C 424.353 591.887 423.099 591.365 422.171 590.437 C 421.243 589.509 420.721 588.255 420.721 586.943 L 420.721 584.137 C 420.721 583.659 420.917 583.202 421.251 582.862 C 421.591 582.521 422.055 582.325 422.534 582.325 C 423.02 582.325 423.476 582.521 423.817 582.862 C 424.158 583.202 424.346 583.659 424.346 584.137 L 424.346 586.943 C 424.346 587.291 424.484 587.625 424.73 587.871 C 424.977 588.125 425.318 588.262 425.666 588.262 L 428.464 588.262 L 428.464 588.262 L 428.464 588.262 Z M 408.571 578.084 L 428.073 578.084 C 429.798 578.084 431.458 578.773 432.683 579.998 C 433.908 581.216 434.597 582.876 434.597 584.609 L 434.597 603.559 C 434.597 605.292 433.908 606.952 432.683 608.17 C 431.458 609.395 429.798 610.084 428.073 610.084 L 408.571 610.084 C 406.845 610.084 405.185 609.395 403.96 608.17 C 402.735 606.952 402.046 605.292 402.046 603.559 L 402.046 584.609 C 402.046 582.876 402.735 581.216 403.96 579.998 C 405.185 578.773 406.845 578.084 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 Z M 424.346 604.03 C 424.346 604.509 424.158 604.966 423.817 605.306 C 423.476 605.647 423.02 605.843 422.534 605.843 C 422.055 605.843 421.591 605.647 421.251 605.306 C 420.917 604.966 420.721 604.509 420.721 604.03 L 420.721 601.225 C 420.721 599.913 421.243 598.658 422.171 597.731 C 423.099 596.803 424.353 596.281 425.666 596.281 L 428.464 596.281 C 428.95 596.281 429.406 596.476 429.747 596.817 C 430.088 597.151 430.276 597.615 430.276 598.093 C 430.276 598.579 430.088 599.035 429.747 599.376 C 429.406 599.717 428.95 599.905 428.464 599.905 L 425.666 599.905 C 425.318 599.905 424.977 600.043 424.73 600.297 C 424.484 600.543 424.346 600.877 424.346 601.225 L 424.346 604.03 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 3.8 KiB |
2
flutter/assets/keyboard.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="534.516 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 541.04 536.93 L 560.542 536.93 C 562.267 536.93 563.927 537.619 565.153 538.844 C 566.378 540.062 567.067 541.722 567.067 543.455 L 567.067 562.405 C 567.067 564.138 566.378 565.798 565.153 567.016 C 563.927 568.241 562.267 568.93 560.542 568.93 L 541.04 568.93 C 539.315 568.93 537.655 568.241 536.43 567.016 C 535.204 565.798 534.516 564.138 534.516 562.405 L 534.516 543.455 C 534.516 541.722 535.204 540.062 536.43 538.844 C 537.655 537.619 539.315 536.93 541.04 536.93 Z M 544.165 544.267 L 557.417 544.267 C 558.824 544.267 560.172 544.773 561.165 545.675 C 562.159 546.577 562.717 547.802 562.717 549.079 L 562.717 556.781 C 562.717 558.058 562.159 559.283 561.165 560.185 C 560.172 561.086 558.824 561.593 557.417 561.593 L 544.165 561.593 C 542.758 561.593 541.41 561.086 540.417 560.185 C 539.424 559.283 538.865 558.058 538.865 556.781 L 538.865 549.079 C 538.865 547.802 539.424 546.577 540.417 545.675 C 541.41 544.773 542.758 544.267 544.165 544.267 Z M 544.999 555.139 L 556.583 555.139 C 557.029 555.139 557.391 555.501 557.391 555.947 L 557.391 556.483 C 557.391 557.269 556.753 557.908 555.966 557.908 L 545.616 557.908 C 544.83 557.908 544.191 557.269 544.191 556.483 L 544.191 555.947 C 544.191 555.501 544.553 555.139 544.999 555.139 Z M 543.238 551.628 L 544.137 551.628 C 544.673 551.628 545.108 552.063 545.108 552.599 L 545.108 553.498 C 545.108 554.034 544.673 554.469 544.137 554.469 L 543.238 554.469 C 542.702 554.469 542.267 554.034 542.267 553.498 L 542.267 552.599 C 542.267 552.063 542.702 551.628 543.238 551.628 Z M 546.79 551.628 L 547.689 551.628 C 548.225 551.628 548.66 552.063 548.66 552.599 L 548.66 553.498 C 548.66 554.034 548.225 554.469 547.689 554.469 L 546.79 554.469 C 546.254 554.469 545.819 554.034 545.819 553.498 L 545.819 552.599 C 545.819 552.063 546.254 551.628 546.79 551.628 Z M 550.342 551.628 L 551.241 551.628 C 551.777 551.628 552.212 552.063 552.212 552.599 L 552.212 553.498 C 552.212 554.034 551.777 554.469 551.241 554.469 L 550.342 554.469 C 549.806 554.469 549.37 554.034 549.37 553.498 L 549.37 552.599 C 549.37 552.063 549.806 551.628 550.342 551.628 Z M 553.893 551.628 L 554.793 551.628 C 555.329 551.628 555.764 552.063 555.764 552.599 L 555.764 553.498 C 555.764 554.034 555.329 554.469 554.793 554.469 L 553.893 554.469 C 553.357 554.469 552.922 554.034 552.922 553.498 L 552.922 552.599 C 552.922 552.063 553.357 551.628 553.893 551.628 Z M 557.445 551.628 L 558.344 551.628 C 558.88 551.628 559.316 552.063 559.316 552.599 L 559.316 553.498 C 559.316 554.034 558.88 554.469 558.344 554.469 L 557.445 554.469 C 556.909 554.469 556.474 554.034 556.474 553.498 L 556.474 552.599 C 556.474 552.063 556.909 551.628 557.445 551.628 Z M 543.062 548.117 L 544.313 548.117 C 544.752 548.117 545.108 548.473 545.108 548.912 L 545.108 550.163 C 545.108 550.602 544.752 550.958 544.313 550.958 L 543.062 550.958 C 542.623 550.958 542.267 550.602 542.267 550.163 L 542.267 548.912 C 542.267 548.473 542.623 548.117 543.062 548.117 Z M 546.614 548.117 L 547.864 548.117 C 548.303 548.117 548.66 548.473 548.66 548.912 L 548.66 550.163 C 548.66 550.602 548.303 550.958 547.864 550.958 L 546.614 550.958 C 546.175 550.958 545.819 550.602 545.819 550.163 L 545.819 548.912 C 545.819 548.473 546.175 548.117 546.614 548.117 Z M 550.166 548.117 L 551.416 548.117 C 551.855 548.117 552.212 548.473 552.212 548.912 L 552.212 550.163 C 552.212 550.602 551.855 550.958 551.416 550.958 L 550.166 550.958 C 549.727 550.958 549.37 550.602 549.37 550.163 L 549.37 548.912 C 549.37 548.473 549.727 548.117 550.166 548.117 Z M 553.718 548.117 L 554.968 548.117 C 555.407 548.117 555.764 548.473 555.764 548.912 L 555.764 550.163 C 555.764 550.602 555.407 550.958 554.968 550.958 L 553.718 550.958 C 553.279 550.958 552.922 550.602 552.922 550.163 L 552.922 548.912 C 552.922 548.473 553.279 548.117 553.718 548.117 Z M 557.27 548.117 L 558.52 548.117 C 558.959 548.117 559.316 548.473 559.316 548.912 L 559.316 550.163 C 559.316 550.602 558.959 550.958 558.52 550.958 L 557.27 550.958 C 556.831 550.958 556.474 550.602 556.474 550.163 L 556.474 548.912 C 556.474 548.473 556.831 548.117 557.27 548.117 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 4.4 KiB |
2
flutter/assets/pinned.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="313.733 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 320.258 536.93 L 339.76 536.93 C 341.485 536.93 343.145 537.619 344.37 538.844 C 345.596 540.062 346.284 541.722 346.284 543.455 L 346.284 562.405 C 346.284 564.138 345.596 565.798 344.37 567.016 C 343.145 568.241 341.485 568.93 339.76 568.93 L 320.258 568.93 C 318.533 568.93 316.872 568.241 315.647 567.016 C 314.422 565.798 313.733 564.138 313.733 562.405 L 313.733 543.455 C 313.733 541.722 314.422 540.062 315.647 538.844 C 316.872 537.619 318.533 536.93 320.258 536.93 Z M 327.553 556.411 L 322.362 561.602 C 322.08 561.885 321.62 561.885 321.337 561.602 L 321.337 561.602 C 321.054 561.319 321.054 560.859 321.337 560.576 L 326.528 555.386 L 324.195 553.054 C 323.063 551.922 323.44 550.901 325.036 550.776 L 326.485 550.662 C 326.884 550.63 327.437 550.375 327.72 550.092 L 330.629 547.184 C 330.912 546.901 330.912 546.442 330.629 546.159 L 330.372 545.902 C 329.948 545.478 329.948 544.789 330.372 544.364 L 330.372 544.364 C 330.797 543.94 331.486 543.94 331.91 544.364 L 338.574 551.029 C 338.999 551.453 338.999 552.142 338.574 552.567 L 338.574 552.567 C 338.15 552.991 337.461 552.991 337.036 552.567 L 336.78 552.31 C 336.497 552.027 336.038 552.027 335.755 552.31 L 332.847 555.218 C 332.564 555.501 332.309 556.055 332.277 556.454 L 332.163 557.903 C 332.038 559.499 331.017 559.875 329.885 558.744 L 327.553 556.411 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |
2
flutter/assets/rec.svg
Normal file
After Width: | Height: | Size: 8.4 KiB |
2
flutter/assets/unpinned.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="357.89 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 364.414 536.93 L 383.916 536.93 C 385.641 536.93 387.302 537.619 388.527 538.844 C 389.752 540.062 390.441 541.722 390.441 543.455 L 390.441 562.405 C 390.441 564.138 389.752 565.798 388.527 567.016 C 387.302 568.241 385.641 568.93 383.916 568.93 L 364.414 568.93 C 362.689 568.93 361.029 568.241 359.804 567.016 C 358.579 565.798 357.89 564.138 357.89 562.405 L 357.89 543.455 C 357.89 541.722 358.579 540.062 359.804 538.844 C 361.029 537.619 362.689 536.93 364.414 536.93 Z M 374.89 554.697 L 374.89 562.037 C 374.89 562.438 374.565 562.762 374.165 562.762 L 374.165 562.762 C 373.765 562.762 373.44 562.438 373.44 562.037 L 373.44 554.697 L 370.142 554.697 C 368.541 554.697 368.086 553.709 369.125 552.492 L 370.07 551.387 C 370.329 551.082 370.54 550.51 370.54 550.11 L 370.54 545.998 C 370.54 545.597 370.216 545.273 369.815 545.273 L 369.453 545.273 C 368.853 545.273 368.366 544.785 368.366 544.185 L 368.366 544.185 C 368.366 543.585 368.853 543.098 369.453 543.098 L 378.878 543.098 C 379.478 543.098 379.965 543.585 379.965 544.185 L 379.965 544.185 C 379.965 544.785 379.478 545.273 378.878 545.273 L 378.515 545.273 C 378.115 545.273 377.79 545.597 377.79 545.998 L 377.79 550.11 C 377.79 550.51 378.001 551.082 378.261 551.387 L 379.205 552.492 C 380.245 553.709 379.789 554.697 378.189 554.697 L 374.89 554.697 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |
@ -405,9 +405,10 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
|
||||
Widget _buildMenubar(BuildContext context) {
|
||||
final List<Widget> menubarItems = [];
|
||||
final double iconSize = Theme.of(context).iconTheme.size ?? 30.0;
|
||||
if (!isWebDesktop) {
|
||||
menubarItems.add(_buildPinMenubar(context));
|
||||
menubarItems.add(_buildFullscreen(context));
|
||||
menubarItems.add(_buildPinMenubar(context, iconSize));
|
||||
menubarItems.add(_buildFullscreen(context, iconSize));
|
||||
if (widget.ffi.ffiModel.isPeerAndroid) {
|
||||
menubarItems.add(IconButton(
|
||||
tooltip: translate('Mobile Actions'),
|
||||
@ -420,77 +421,84 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
));
|
||||
}
|
||||
}
|
||||
menubarItems.add(_buildMonitor(context));
|
||||
menubarItems.add(_buildControl(context));
|
||||
menubarItems.add(_buildDisplay(context));
|
||||
menubarItems.add(_buildKeyboard(context));
|
||||
menubarItems.add(_buildMonitor(context, iconSize));
|
||||
menubarItems.add(_buildControl(context, iconSize));
|
||||
menubarItems.add(_buildDisplay(context, iconSize));
|
||||
menubarItems.add(_buildKeyboard(context, iconSize));
|
||||
if (!isWeb) {
|
||||
menubarItems.add(_buildChat(context));
|
||||
menubarItems.add(_buildVoiceCall(context));
|
||||
menubarItems.add(_buildChat(context, iconSize));
|
||||
menubarItems.add(_buildVoiceCall(context, iconSize));
|
||||
}
|
||||
menubarItems.add(_buildRecording(context));
|
||||
menubarItems.add(_buildClose(context));
|
||||
menubarItems.add(_buildRecording(context, iconSize));
|
||||
menubarItems.add(_buildClose(context, iconSize));
|
||||
return PopupMenuTheme(
|
||||
data: const PopupMenuThemeData(
|
||||
textStyle: TextStyle(color: _MenubarTheme.commonColor)),
|
||||
child: Column(mainAxisSize: MainAxisSize.min, children: [
|
||||
data: const PopupMenuThemeData(
|
||||
textStyle: TextStyle(color: _MenubarTheme.commonColor)),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
border: Border.all(color: MyTheme.border),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.vertical(
|
||||
bottom: Radius.circular(10),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: menubarItems,
|
||||
)),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: menubarItems,
|
||||
),
|
||||
),
|
||||
_buildDraggableShowHide(context),
|
||||
]));
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildPinMenubar(BuildContext context) {
|
||||
return Obx(() => IconButton(
|
||||
tooltip: translate(pin ? 'Unpin menubar' : 'Pin menubar'),
|
||||
onPressed: () {
|
||||
widget.state.switchPin();
|
||||
},
|
||||
icon: Obx(() => Transform.rotate(
|
||||
angle: pin ? math.pi / 4 : 0,
|
||||
child: Icon(
|
||||
Icons.push_pin,
|
||||
color: pin ? _MenubarTheme.commonColor : Colors.grey,
|
||||
))),
|
||||
));
|
||||
Widget _buildPinMenubar(BuildContext context, double iconSize) {
|
||||
return Obx(
|
||||
() => IconButton(
|
||||
padding: EdgeInsets.zero,
|
||||
iconSize: iconSize,
|
||||
tooltip: translate(pin ? 'Unpin menubar' : 'Pin menubar'),
|
||||
onPressed: () {
|
||||
widget.state.switchPin();
|
||||
},
|
||||
icon: SvgPicture.asset(
|
||||
pin ? "assets/pinned.svg" : "assets/unpinned.svg",
|
||||
color: pin ? _MenubarTheme.commonColor : Colors.grey[800],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildFullscreen(BuildContext context) {
|
||||
Widget _buildFullscreen(BuildContext context, double iconSize) {
|
||||
return IconButton(
|
||||
padding: EdgeInsets.zero,
|
||||
iconSize: iconSize,
|
||||
tooltip: translate(isFullscreen ? 'Exit Fullscreen' : 'Fullscreen'),
|
||||
onPressed: () {
|
||||
_setFullscreen(!isFullscreen);
|
||||
},
|
||||
icon: isFullscreen
|
||||
? const Icon(
|
||||
Icons.fullscreen_exit,
|
||||
color: _MenubarTheme.commonColor,
|
||||
)
|
||||
: const Icon(
|
||||
Icons.fullscreen,
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
icon: SvgPicture.asset(
|
||||
isFullscreen ? "assets/fullscreen_exit.svg" : "assets/fullscreen.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildMonitor(BuildContext context) {
|
||||
Widget _buildMonitor(BuildContext context, double iconSize) {
|
||||
final pi = widget.ffi.ffiModel.pi;
|
||||
return mod_menu.PopupMenuButton(
|
||||
iconSize: iconSize,
|
||||
tooltip: translate('Select Monitor'),
|
||||
padding: EdgeInsets.zero,
|
||||
position: mod_menu.PopupMenuPosition.under,
|
||||
icon: Stack(
|
||||
alignment: Alignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
Icons.personal_video,
|
||||
SvgPicture.asset(
|
||||
"assets/display.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
Padding(
|
||||
@ -499,8 +507,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
RxInt display = CurrentDisplayState.find(widget.id);
|
||||
return Text(
|
||||
'${display.value + 1}/${pi.displays.length}',
|
||||
style: const TextStyle(
|
||||
color: _MenubarTheme.commonColor, fontSize: 8),
|
||||
style: const TextStyle(color: Colors.white, fontSize: 8),
|
||||
);
|
||||
}),
|
||||
)
|
||||
@ -513,23 +520,22 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
Stack(
|
||||
alignment: Alignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
Icons.personal_video,
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
SvgPicture.asset("assets/display.svg"),
|
||||
TextButton(
|
||||
child: Container(
|
||||
alignment: AlignmentDirectional.center,
|
||||
constraints:
|
||||
const BoxConstraints(minHeight: _MenubarTheme.height),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 2.5),
|
||||
child: Text(
|
||||
(i + 1).toString(),
|
||||
style:
|
||||
const TextStyle(color: _MenubarTheme.commonColor),
|
||||
alignment: AlignmentDirectional.center,
|
||||
constraints:
|
||||
const BoxConstraints(minHeight: _MenubarTheme.height),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 2.5),
|
||||
child: Text(
|
||||
(i + 1).toString(),
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).scaffoldBackgroundColor,
|
||||
),
|
||||
)),
|
||||
),
|
||||
),
|
||||
),
|
||||
onPressed: () {
|
||||
if (Navigator.canPop(context)) {
|
||||
Navigator.pop(context);
|
||||
@ -561,11 +567,12 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildControl(BuildContext context) {
|
||||
Widget _buildControl(BuildContext context, double iconSize) {
|
||||
return mod_menu.PopupMenuButton(
|
||||
iconSize: iconSize,
|
||||
padding: EdgeInsets.zero,
|
||||
icon: const Icon(
|
||||
Icons.bolt,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/actions.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
tooltip: translate('Control Actions'),
|
||||
@ -583,7 +590,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildDisplay(BuildContext context) {
|
||||
Widget _buildDisplay(BuildContext context, double iconSize) {
|
||||
return FutureBuilder(future: () async {
|
||||
widget.state.viewStyle.value =
|
||||
await bind.sessionGetViewStyle(id: widget.id) ?? '';
|
||||
@ -595,9 +602,10 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
return Obx(() {
|
||||
final remoteCount = RemoteCountState.find().value;
|
||||
return mod_menu.PopupMenuButton(
|
||||
iconSize: iconSize,
|
||||
padding: EdgeInsets.zero,
|
||||
icon: const Icon(
|
||||
Icons.tv,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/display.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
tooltip: translate('Display Settings'),
|
||||
@ -622,15 +630,16 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
});
|
||||
}
|
||||
|
||||
Widget _buildKeyboard(BuildContext context) {
|
||||
Widget _buildKeyboard(BuildContext context, double iconSize) {
|
||||
FfiModel ffiModel = Provider.of<FfiModel>(context);
|
||||
if (ffiModel.permissions['keyboard'] == false) {
|
||||
return Offstage();
|
||||
}
|
||||
return mod_menu.PopupMenuButton(
|
||||
iconSize: iconSize,
|
||||
padding: EdgeInsets.zero,
|
||||
icon: const Icon(
|
||||
Icons.keyboard,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/keyboard.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
),
|
||||
tooltip: translate('Keyboard Settings'),
|
||||
@ -648,57 +657,54 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildRecording(BuildContext context) {
|
||||
Widget _buildRecording(BuildContext context, double iconSize) {
|
||||
return Consumer<FfiModel>(builder: ((context, value, child) {
|
||||
if (value.permissions['recording'] != false) {
|
||||
return Consumer<RecordingModel>(
|
||||
builder: (context, value, child) => IconButton(
|
||||
tooltip: value.start
|
||||
? translate('Stop session recording')
|
||||
: translate('Start session recording'),
|
||||
onPressed: () => value.toggle(),
|
||||
icon: value.start
|
||||
? Icon(
|
||||
Icons.pause_circle_filled,
|
||||
color: _MenubarTheme.commonColor,
|
||||
)
|
||||
: SvgPicture.asset(
|
||||
"assets/record_screen.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
width: Theme.of(context).iconTheme.size ?? 22.0,
|
||||
height: Theme.of(context).iconTheme.size ?? 22.0,
|
||||
),
|
||||
));
|
||||
builder: (context, value, child) => IconButton(
|
||||
padding: EdgeInsets.zero,
|
||||
iconSize: iconSize,
|
||||
tooltip: value.start
|
||||
? translate('Stop session recording')
|
||||
: translate('Start session recording'),
|
||||
onPressed: () => value.toggle(),
|
||||
icon: SvgPicture.asset(
|
||||
"assets/rec.svg",
|
||||
color: value.start ? Colors.red : _MenubarTheme.commonColor,
|
||||
),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
return Offstage();
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Widget _buildClose(BuildContext context) {
|
||||
Widget _buildClose(BuildContext context, double iconSize) {
|
||||
return IconButton(
|
||||
iconSize: iconSize,
|
||||
padding: EdgeInsets.zero,
|
||||
tooltip: translate('Close'),
|
||||
onPressed: () {
|
||||
clientClose(widget.id, widget.ffi.dialogManager);
|
||||
},
|
||||
icon: const Icon(
|
||||
Icons.close,
|
||||
color: _MenubarTheme.commonColor,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/close.svg",
|
||||
color: Colors.red,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
final _chatButtonKey = GlobalKey();
|
||||
Widget _buildChat(BuildContext context) {
|
||||
Widget _buildChat(BuildContext context, double iconSize) {
|
||||
FfiModel ffiModel = Provider.of<FfiModel>(context);
|
||||
return mod_menu.PopupMenuButton(
|
||||
iconSize: iconSize,
|
||||
key: _chatButtonKey,
|
||||
padding: EdgeInsets.zero,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/chat.svg",
|
||||
color: _MenubarTheme.commonColor,
|
||||
width: Theme.of(context).iconTheme.size ?? 24.0,
|
||||
height: Theme.of(context).iconTheme.size ?? 24.0,
|
||||
),
|
||||
tooltip: translate('Chat'),
|
||||
position: mod_menu.PopupMenuPosition.under,
|
||||
@ -719,15 +725,14 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
switch (widget.ffi.chatModel.voiceCallStatus.value) {
|
||||
case VoiceCallStatus.waitingForResponse:
|
||||
return IconButton(
|
||||
onPressed: () {
|
||||
widget.ffi.chatModel.closeVoiceCall(widget.id);
|
||||
},
|
||||
icon: SvgPicture.asset(
|
||||
"assets/voice_call_waiting.svg",
|
||||
color: Colors.red,
|
||||
width: Theme.of(context).iconTheme.size ?? 20.0,
|
||||
height: Theme.of(context).iconTheme.size ?? 20.0,
|
||||
));
|
||||
onPressed: () {
|
||||
widget.ffi.chatModel.closeVoiceCall(widget.id);
|
||||
},
|
||||
icon: SvgPicture.asset(
|
||||
"assets/voice_call_waiting.svg",
|
||||
color: Colors.red,
|
||||
),
|
||||
);
|
||||
case VoiceCallStatus.connected:
|
||||
return IconButton(
|
||||
onPressed: () {
|
||||
@ -736,7 +741,6 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
icon: Icon(
|
||||
Icons.phone_disabled_rounded,
|
||||
color: Colors.red,
|
||||
size: Theme.of(context).iconTheme.size ?? 22.0,
|
||||
),
|
||||
);
|
||||
default:
|
||||
@ -755,13 +759,14 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
}
|
||||
}
|
||||
|
||||
Widget _buildVoiceCall(BuildContext context) {
|
||||
Widget _buildVoiceCall(BuildContext context, double iconSize) {
|
||||
return Obx(
|
||||
() {
|
||||
final tooltipText = _getVoiceCallTooltip();
|
||||
return tooltipText == null
|
||||
? const Offstage()
|
||||
: IconButton(
|
||||
iconSize: iconSize,
|
||||
padding: EdgeInsets.zero,
|
||||
icon: _getVoiceCallIcon(),
|
||||
tooltip: translate(tooltipText),
|
||||
@ -1748,7 +1753,7 @@ class _DraggableShowHideState extends State<_DraggableShowHide> {
|
||||
child: Icon(
|
||||
Icons.drag_indicator,
|
||||
size: 20,
|
||||
color: Colors.grey,
|
||||
color: Colors.grey[800],
|
||||
),
|
||||
feedback: widget,
|
||||
onDragStarted: (() {
|
||||
@ -1801,7 +1806,9 @@ class _DraggableShowHideState extends State<_DraggableShowHide> {
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
border: Border.all(color: MyTheme.border),
|
||||
borderRadius: BorderRadius.vertical(
|
||||
bottom: Radius.circular(5),
|
||||
),
|
||||
),
|
||||
child: SizedBox(
|
||||
height: 20,
|
||||
|