TF-2116 Add icon, color and base widget
(cherry picked from commit a4c7eea22ec6557bfdaee4d0ee18ce1a4501a43d)
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M14.1886 10.8969C14.5791 10.5064 15.2123 10.5064 15.6028 10.8969C15.9933 11.2874 15.9933 11.9206 15.6028 12.3111L11.4309 16.483C10.8639 17.05 10.831 18.0045 11.4309 18.6044C12.0308 19.2042 12.9852 19.1713 13.5522 18.6044L21.3304 10.8262C22.932 9.22456 22.8444 6.68333 21.3304 5.16933C19.8164 3.65533 17.2751 3.5677 15.6735 5.16933L7.89533 12.9475C5.3446 15.4982 5.39217 19.6367 7.89533 22.1399C10.3985 24.6431 14.537 24.6906 17.0877 22.1399L21.2597 17.968C21.6502 17.5774 22.2833 17.5774 22.6739 17.968C23.0644 18.3585 23.0644 18.9917 22.6739 19.3822L18.5019 23.5541C15.1628 26.8933 9.75815 26.8311 6.48112 23.5541C3.20409 20.2771 3.14197 14.8724 6.48112 11.5333L14.2593 3.75512C16.6646 1.3498 20.4705 1.48104 22.7446 3.75512C25.0187 6.02919 25.1499 9.83508 22.7446 12.2404L14.9664 20.0186C13.6393 21.3456 11.4202 21.4221 10.0167 20.0186C8.61308 18.615 8.6896 16.3959 10.0167 15.0688L14.1886 10.8969Z" fill="#AEAEC0"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M17.3558 14.1983C17.7077 13.8473 18.2776 13.8479 18.6286 14.1998C18.9797 14.5517 18.979 15.1216 18.6271 15.4726L14.0643 20.0247C11.5536 22.5294 7.48776 22.5246 4.98298 20.0139C4.95572 19.9865 4.95572 19.9865 4.92868 19.9588C2.34868 17.3097 2.35833 13.0844 4.95042 10.4471L11.7862 3.49188C13.588 1.65866 16.5347 1.63314 18.3679 3.43489C18.407 3.47336 18.4455 3.51253 18.4833 3.55236L18.5148 3.58567C20.3243 5.49447 20.304 8.49133 18.4689 10.3755L11.5768 17.452C10.5166 18.5406 8.79579 18.6261 7.63278 17.6481L7.55711 17.5845C6.39786 16.6095 6.24841 14.8795 7.22332 13.7202C7.25904 13.6777 7.29605 13.6363 7.33428 13.5961L11.9727 8.71536C12.3151 8.35505 12.8847 8.34055 13.245 8.68296C13.6053 9.02537 13.6198 9.59503 13.2774 9.95534L8.63906 14.8361C8.62592 14.8499 8.6132 14.8641 8.60092 14.8787C8.26586 15.2772 8.31722 15.8718 8.71565 16.2068L8.79132 16.2705C9.23246 16.6415 9.88516 16.609 10.2873 16.1961L17.1795 9.11961C18.3404 7.92759 18.3532 6.03162 17.2085 4.82401L17.1769 4.79069C17.1538 4.76627 17.1302 4.74225 17.1062 4.71866C15.982 3.61374 14.1749 3.62939 13.07 4.75361L6.23418 11.7088C4.32817 13.6481 4.32107 16.755 6.2182 18.703C6.23766 18.7229 6.23766 18.7229 6.25728 18.7426C8.05994 20.5496 10.9861 20.553 12.793 18.7504L17.3558 14.1983Z" fill="#99A2AD"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M5.26363 5.2636C5.6151 4.91213 6.18495 4.91213 6.53642 5.26361L12 10.7272L17.4636 5.26363C17.8151 4.91216 18.385 4.91216 18.7364 5.26363C19.0879 5.6151 19.0879 6.18495 18.7364 6.53642L13.2728 12L18.7364 17.4636C19.0879 17.8151 19.0879 18.385 18.7364 18.7364C18.3849 19.0879 17.8151 19.0879 17.4636 18.7364L12 13.2728L6.53639 18.7364C6.18492 19.0879 5.61507 19.0879 5.2636 18.7364C4.91213 18.3849 4.91213 17.8151 5.26361 17.4636L10.7272 12L5.26363 6.53639C4.91216 6.18492 4.91216 5.61507 5.26363 5.2636Z" fill="black"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 631 B |
|
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M19.3591 8.30754C19.7692 8.71759 19.7692 9.38241 19.3591 9.79246L15.3185 13.8333L19.3591 17.8742C19.735 18.2501 19.7663 18.8401 19.4531 19.2516L19.3591 19.3591C18.9491 19.7692 18.2843 19.7692 17.8742 19.3591L13.8333 15.3185L9.79246 19.3591C9.38241 19.7692 8.71759 19.7692 8.30754 19.3591C7.89749 18.9491 7.89749 18.2843 8.30754 17.8742L12.3482 13.8333L8.30754 9.79246C7.93166 9.41658 7.90033 8.82662 8.21357 8.41506L8.30754 8.30754C8.71759 7.89749 9.38241 7.89749 9.79246 8.30754L13.8333 12.3482L17.8742 8.30754C18.2843 7.89749 18.9491 7.89749 19.3591 8.30754Z" fill="#99A2AD"/>
|
<path d="M8.0056 6.82733C7.68016 6.50189 7.15252 6.50189 6.82709 6.82733C6.50165 7.15277 6.50165 7.6804 6.82709 8.00584L10.8212 11.9999L6.82709 15.994C6.50165 16.3194 6.50165 16.8471 6.82709 17.1725C7.15252 17.4979 7.68016 17.4979 8.0056 17.1725L11.9997 13.1784L15.9938 17.1725C16.3192 17.4979 16.8468 17.4979 17.1723 17.1725C17.4977 16.8471 17.4977 16.3194 17.1723 15.994L13.1782 11.9999L17.1723 8.00584C17.4977 7.6804 17.4977 7.15277 17.1723 6.82733C16.8468 6.50189 16.3192 6.50189 15.9938 6.82733L11.9997 10.8214L8.0056 6.82733Z" fill="#99A2AD"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 653 B |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M8.0056 6.82733C7.68016 6.50189 7.15252 6.50189 6.82709 6.82733C6.50165 7.15277 6.50165 7.6804 6.82709 8.00584L10.8212 11.9999L6.82709 15.994C6.50165 16.3194 6.50165 16.8471 6.82709 17.1725C7.15252 17.4979 7.68016 17.4979 8.0056 17.1725L11.9997 13.1784L15.9938 17.1725C16.3192 17.4979 16.8468 17.4979 17.1723 17.1725C17.4977 16.8471 17.4977 16.3194 17.1723 15.994L13.1782 11.9999L17.1723 8.00584C17.4977 7.6804 17.4977 7.15277 17.1723 6.82733C16.8468 6.50189 16.3192 6.50189 15.9938 6.82733L11.9997 10.8214L8.0056 6.82733Z" fill="#99A2AD"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 653 B |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path opacity="0.12" d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#818C99"/>
|
|
||||||
<path d="M16.7364 7.2636C17.0879 7.61508 17.0879 8.18492 16.7364 8.5364L13.273 12L16.7364 15.4636C17.0586 15.7858 17.0854 16.2915 16.817 16.6442L16.7364 16.7364C16.3849 17.0879 15.8151 17.0879 15.4636 16.7364L12 13.273L8.5364 16.7364C8.18492 17.0879 7.61508 17.0879 7.2636 16.7364C6.91213 16.3849 6.91213 15.8151 7.2636 15.4636L10.727 12L7.2636 8.5364C6.94142 8.21421 6.91457 7.70853 7.18306 7.35577L7.2636 7.2636C7.61508 6.91213 8.18492 6.91213 8.5364 7.2636L12 10.727L15.4636 7.2636C15.8151 6.91213 16.3849 6.91213 16.7364 7.2636Z" fill="#818C99"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 810 B |
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0039 19.0998C10.0039 19.5968 9.60099 19.9998 9.10393 19.9998L4.90391 19.9998C4.40685 19.9998 4.00391 19.5968 4.00391 19.0998L4.00391 14.8998C4.00391 14.4027 4.40685 13.9998 4.90391 13.9998C5.40096 13.9998 5.80391 14.4027 5.80391 14.8998L5.80391 16.927L9.46751 13.2634C9.81898 12.9119 10.3888 12.9119 10.7403 13.2634C11.0918 13.6148 11.0918 14.1847 10.7403 14.5361L7.0767 18.1998L9.10393 18.1998C9.60099 18.1998 10.0039 18.6027 10.0039 19.0998Z" fill="black"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.2675 10.7362C12.916 10.3847 12.916 9.81483 13.2675 9.46336L16.9311 5.79976L14.9057 5.79976C14.4087 5.79976 14.0057 5.39681 14.0057 4.89976C14.0057 4.4027 14.4087 3.99976 14.9057 3.99976L19.1039 3.99976C19.601 3.99976 20.0039 4.4027 20.0039 4.89976L20.0039 9.09975C20.0039 9.59681 19.601 9.99975 19.1039 9.99975C18.6068 9.99975 18.2039 9.59681 18.2039 9.09975L18.2039 7.07255L14.5403 10.7362C14.1888 11.0876 13.619 11.0876 13.2675 10.7362Z" fill="black"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 4.9C14 4.40294 14.4029 4 14.9 4H19.1C19.5971 4 20 4.40294 20 4.9V9.10001C20 9.59706 19.5971 10 19.1 10C18.6029 10 18.2 9.59706 18.2 9.10001V7.07279L14.5364 10.7364C14.1849 11.0879 13.6151 11.0879 13.2636 10.7364C12.9121 10.3849 12.9121 9.81508 13.2636 9.46361L16.9272 5.8H14.9C14.4029 5.8 14 5.39706 14 4.9Z" fill="#99A2AD"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7364 13.2636C11.0879 13.6151 11.0879 14.1849 10.7364 14.5364L7.07279 18.2H9.09818C9.59524 18.2 9.99818 18.6029 9.99818 19.1C9.99818 19.5971 9.59524 20 9.09818 20H4.9C4.40294 20 4 19.5971 4 19.1V14.9C4 14.403 4.40294 14 4.9 14C5.39706 14 5.8 14.403 5.8 14.9V16.9272L9.46361 13.2636C9.81508 12.9121 10.3849 12.9121 10.7364 13.2636Z" fill="#99A2AD"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 883 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M20.3083 7C22.8978 7 24.1262 7.23723 25.4021 7.91958C26.5542 8.53571 27.4643 9.44582 28.0804 10.5979C28.7628 11.8738 29 13.1022 29 15.6917V20.3083C29 22.8978 28.7628 24.1262 28.0804 25.4021C27.4643 26.5542 26.5542 27.4643 25.4021 28.0804C24.1262 28.7628 22.8978 29 20.3083 29H15.6917C13.1022 29 11.8738 28.7628 10.5979 28.0804C9.44582 27.4643 8.53571 26.5542 7.91958 25.4021C7.23723 24.1262 7 22.8978 7 20.3083V15.6917C7 13.1022 7.23723 11.8738 7.91958 10.5979C8.53571 9.44582 9.44582 8.53571 10.5979 7.91958C11.8738 7.23723 13.1022 7 15.6917 7H20.3083ZM21.9791 19.4419L17.7771 24.6294C17.426 25.0628 16.7883 25.1253 16.3598 24.7682L14.0614 22.8528L10.9632 25.9516C11.1441 26.0857 11.3368 26.2076 11.5411 26.3168C12.4876 26.823 13.4042 27 15.6917 27H20.3083C22.5958 27 23.5124 26.823 24.4589 26.3168C25.2624 25.8871 25.8871 25.2624 26.3168 24.4589C26.4637 24.1842 26.5829 23.9121 26.6781 23.6082L21.9791 19.4419ZM20.3083 9H15.6917C13.4042 9 12.4876 9.177 11.5411 9.68321C10.7376 10.1129 10.1129 10.7376 9.68321 11.5411C9.177 12.4876 9 13.4042 9 15.6917V20.3083C9 22.5652 9.17229 23.4876 9.66305 24.4209L13.2929 20.7929C13.6586 20.4272 14.2429 20.4007 14.6402 20.7318L16.8612 22.5826L21.0831 17.3706C21.4417 16.9278 22.0972 16.8738 22.5236 17.2517L26.9887 21.2102C26.9964 20.9349 27 20.6356 27 20.3083V15.6917C27 13.4042 26.823 12.4876 26.3168 11.5411C25.8871 10.7376 25.2624 10.1129 24.4589 9.68321C23.5124 9.177 22.5958 9 20.3083 9ZM14.5 13C15.3284 13 16 13.6716 16 14.5C16 15.3284 15.3284 16 14.5 16C13.6716 16 13 15.3284 13 14.5C13 13.6716 13.6716 13 14.5 13Z" fill="#007AFF"/>
|
<path d="M16.3083 3C18.8978 3 20.1262 3.23723 21.4021 3.91958C22.5542 4.53571 23.4643 5.44582 24.0804 6.59786C24.7628 7.87375 25 9.10224 25 11.6917V16.3083C25 18.8978 24.7628 20.1262 24.0804 21.4021C23.4643 22.5542 22.5542 23.4643 21.4021 24.0804C20.1262 24.7628 18.8978 25 16.3083 25H11.6917C9.10224 25 7.87375 24.7628 6.59786 24.0804C5.44582 23.4643 4.53571 22.5542 3.91958 21.4021C3.23723 20.1262 3 18.8978 3 16.3083V11.6917C3 9.10224 3.23723 7.87375 3.91958 6.59786C4.53571 5.44582 5.44582 4.53571 6.59786 3.91958C7.87375 3.23723 9.10224 3 11.6917 3H16.3083ZM17.9791 15.4419L13.7771 20.6294C13.426 21.0628 12.7883 21.1253 12.3598 20.7682L10.0614 18.8528L6.96323 21.9516C7.14411 22.0857 7.33681 22.2076 7.54106 22.3168C8.4876 22.823 9.40417 23 11.6917 23H16.3083C18.5958 23 19.5124 22.823 20.4589 22.3168C21.2624 21.8871 21.8871 21.2624 22.3168 20.4589C22.4637 20.1842 22.5829 19.9121 22.6781 19.6082L17.9791 15.4419ZM16.3083 5H11.6917C9.40417 5 8.4876 5.177 7.54106 5.68321C6.73755 6.11293 6.11293 6.73755 5.68321 7.54106C5.177 8.4876 5 9.40417 5 11.6917V16.3083C5 18.5652 5.17229 19.4876 5.66305 20.4209L9.29289 16.7929C9.65861 16.4272 10.2429 16.4007 10.6402 16.7318L12.8612 18.5826L17.0831 13.3706C17.4417 12.9278 18.0972 12.8738 18.5236 13.2517L22.9887 17.2102C22.9964 16.9349 23 16.6356 23 16.3083V11.6917C23 9.40417 22.823 8.4876 22.3168 7.54106C21.8871 6.73755 21.2624 6.11293 20.4589 5.68321C19.5124 5.177 18.5958 5 16.3083 5ZM10.5 9C11.3284 9 12 9.67157 12 10.5C12 11.3284 11.3284 12 10.5 12C9.67157 12 9 11.3284 9 10.5C9 9.67157 9.67157 9 10.5 9Z" fill="#AEAEC0"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<rect x="6" y="14" width="15.5556" height="3" rx="1.5" fill="#99A2AD"/>
|
<path d="M20.1 17.0997L12.9 17.0996H11.1L3.89995 17.0997C3.40292 17.0997 3 17.5026 3 17.9996C3 18.4966 3.40292 18.8996 3.89995 18.8996L11.1 18.8986H12.9L20.1 18.8996C20.5971 18.8996 21 18.4966 21 17.9996C21 17.5026 20.5971 17.0997 20.1 17.0997Z" fill="black"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 364 B |
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.54378 21.1298C4.20402 21.1298 4.57202 20.8051 4.83179 19.9609L5.8492 16.9086H11.196L12.2135 19.9609C12.4624 20.7943 12.8521 21.1298 13.5123 21.1298C14.2158 21.1298 14.6812 20.7185 14.6812 20.0691C14.6812 19.7985 14.6163 19.5063 14.4972 19.1491L10.4384 7.66528C10.0704 6.5721 9.54004 6.10669 8.55509 6.10669C7.57015 6.10669 7.0398 6.58293 6.66097 7.66528L2.60213 19.1491C2.46143 19.5604 2.39648 19.8418 2.39648 20.1016C2.39648 20.7293 2.8619 21.1298 3.54378 21.1298ZM6.43368 15.0253L8.46851 8.78011H8.58757L10.6116 15.0253H6.43368Z" fill="#0A84FF"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.0587 19.5171H23.1777V20.0258C23.2319 20.7077 23.654 21.1082 24.3142 21.1082C25.061 21.1082 25.4832 20.6319 25.4832 19.8093V13.2611C25.4832 10.7716 23.8704 9.38623 20.9806 9.38623C19.79 9.38623 18.8808 9.59188 18.1881 9.9707C17.2248 10.4902 16.7702 11.1396 16.7702 11.7999C16.7702 12.3194 17.1165 12.6766 17.6469 12.6766C18.0582 12.6766 18.3396 12.5684 18.6318 12.2869C19.2921 11.6159 19.9198 11.2912 20.829 11.2912C22.2902 11.2912 23.0803 11.9622 23.0803 13.2502V14.2677H20.2229C17.6685 14.2785 16.1316 15.5665 16.1316 17.6771C16.1316 19.7552 17.6361 21.1623 19.8657 21.1623C21.2836 21.1623 22.4309 20.5778 23.0587 19.5171ZM18.5452 17.558C18.5452 16.5081 19.2813 15.9128 20.5584 15.9128H23.0803V17.1467C23.0803 18.3806 22.0088 19.3331 20.6126 19.3331C19.3787 19.3331 18.5452 18.6187 18.5452 17.558Z" fill="#0A84FF"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="29" height="28" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M18.0903 3C20.2733 3 21.323 3.20271 22.4137 3.78602C23.4028 4.31499 24.185 5.0972 24.714 6.08629C25.2973 7.17697 25.5 8.22671 25.5 10.4097V17.5903C25.5 19.7733 25.2973 20.823 24.714 21.9137C24.185 22.9028 23.4028 23.685 22.4137 24.214C21.323 24.7973 20.2733 25 18.0903 25H10.9097C8.72671 25 7.67697 24.7973 6.58629 24.214C5.5972 23.685 4.81499 22.9028 4.28602 21.9137C3.70271 20.823 3.5 19.7733 3.5 17.5903V10.4097C3.5 8.22671 3.70271 7.17697 4.28602 6.08629C4.81499 5.0972 5.5972 4.31499 6.58629 3.78602C7.67697 3.20271 8.72671 3 10.9097 3H18.0903ZM18.0903 5H10.9097C9.02864 5 8.29082 5.14248 7.52948 5.54964C6.88894 5.89221 6.39221 6.38894 6.04964 7.02948C5.64248 7.79082 5.5 8.52864 5.5 10.4097V17.5903C5.5 19.4714 5.64248 20.2092 6.04964 20.9705C6.39221 21.6111 6.88894 22.1078 7.52948 22.4504C8.29082 22.8575 9.02864 23 10.9097 23H18.0903C19.9714 23 20.7092 22.8575 21.4705 22.4504C22.1111 22.1078 22.6078 21.6111 22.9504 20.9705C23.3575 20.2092 23.5 19.4714 23.5 17.5903V10.4097C23.5 8.52864 23.3575 7.79082 22.9504 7.02948C22.6078 6.38894 22.1111 5.89221 21.4705 5.54964C20.7092 5.14248 19.9714 5 18.0903 5ZM13.5 17.5C14.0523 17.5 14.5 17.9477 14.5 18.5C14.5 19.0523 14.0523 19.5 13.5 19.5H9.5C8.94772 19.5 8.5 19.0523 8.5 18.5C8.5 17.9477 8.94772 17.5 9.5 17.5H13.5ZM19.5 13C20.0523 13 20.5 13.4477 20.5 14C20.5 14.5523 20.0523 15 19.5 15H9.5C8.94772 15 8.5 14.5523 8.5 14C8.5 13.4477 8.94772 13 9.5 13H19.5ZM19.5 8.5C20.0523 8.5 20.5 8.94772 20.5 9.5C20.5 10.0523 20.0523 10.5 19.5 10.5H9.5C8.94772 10.5 8.5 10.0523 8.5 9.5C8.5 8.94772 8.94772 8.5 9.5 8.5H19.5Z" fill="#0A84FF"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="29" height="28" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.29974 11.363C5.64352 9.68427 5.18355 8.38614 4.97958 7.55641C4.72802 6.53304 4.30525 5.39996 4.72751 4.36814C4.9841 3.74113 5.52414 3.23562 6.24898 3.06256C7.19901 2.83573 8.09615 3.28478 8.91149 3.72161C10.6895 4.67424 19.9876 9.53757 22.2322 10.7184C23.543 11.4081 25.4293 12.1465 25.4986 13.8801C25.5657 15.5577 23.9425 16.3119 22.6828 16.9746C18.0796 19.396 13.5049 21.8725 8.88786 24.2674C8.04853 24.7028 7.12418 25.1768 6.15223 24.931C5.35673 24.7299 4.8245 24.1393 4.61358 23.4819C4.42674 22.8995 4.5065 22.3002 4.64584 21.7192C5.06003 19.9923 5.63835 18.304 6.28013 16.6498C6.70966 15.5427 7.4723 14.6277 8.43094 13.995C7.48297 13.3652 6.72808 12.4587 6.29974 11.363ZM12.7168 13.2526C13.7414 13.459 14.2586 13.5703 14.3671 13.7486C14.4649 13.9092 14.4642 14.1116 14.3654 14.2715C14.2503 14.4578 13.6864 14.5673 12.5585 14.7863C11.7809 14.9373 11.1426 15.0605 10.9462 15.0967C9.66349 15.3327 8.60158 16.1956 8.14471 17.3732C7.59831 18.7816 7.11365 20.1892 6.7285 21.6491C6.33953 23.1235 6.27452 23.3699 7.96696 22.492C12.6407 20.0677 17.2741 17.5653 21.9315 15.1097C22.9677 14.5632 23.4977 14.2702 23.5004 13.9724C23.5031 13.6774 22.9883 13.3777 21.936 12.8223C17.2847 10.3672 12.603 7.96841 7.96696 5.48453C6.30148 4.5922 6.37877 4.90178 6.82039 6.67074C7.15914 8.02761 7.65367 9.33323 8.16247 10.6348C8.62094 11.8076 9.67999 12.6666 10.9585 12.9026C11.5462 13.0111 12.131 13.1345 12.7168 13.2526Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 28C21.732 28 28 21.732 28 14C28 6.26801 21.732 0 14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28ZM19.7071 12.2929L14.7071 7.29289C14.3166 6.90237 13.6834 6.90237 13.2929 7.29289L8.29289 12.2929C7.90237 12.6834 7.90237 13.3166 8.29289 13.7071C8.68342 14.0976 9.31658 14.0976 9.70711 13.7071L13 10.4142V20C13 20.5523 13.4477 21 14 21C14.5523 21 15 20.5523 15 20V10.4142L18.2929 13.7071C18.6834 14.0976 19.3166 14.0976 19.7071 13.7071C20.0976 13.3166 20.0976 12.6834 19.7071 12.2929Z" fill="#99A2AD"/>
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 28C21.732 28 28 21.732 28 14C28 6.26801 21.732 0 14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28ZM19.7071 12.2929L14.7071 7.29289C14.3166 6.90237 13.6834 6.90237 13.2929 7.29289L8.29289 12.2929C7.90237 12.6834 7.90237 13.3166 8.29289 13.7071C8.68342 14.0976 9.31658 14.0976 9.70711 13.7071L13 10.4142V20C13 20.5523 13.4477 21 14 21C14.5523 21 15 20.5523 15 20V10.4142L18.2929 13.7071C18.6834 14.0976 19.3166 14.0976 19.7071 13.7071C20.0976 13.3166 20.0976 12.6834 19.7071 12.2929Z" fill="#8C9CAF"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 663 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M5.98438 17.989C5.98438 18.133 6.01484 18.2729 6.07578 18.4086C6.13671 18.5443 6.22812 18.6676 6.34999 18.7784L11.7262 23.6228C11.9477 23.8277 12.1915 23.9261 12.4574 23.9177C12.7233 23.9094 12.9476 23.8028 13.1304 23.5978C13.3132 23.3873 13.395 23.1491 13.3756 22.8832C13.3562 22.6173 13.2385 22.3902 13.0224 22.2019L8.37748 17.989L13.0224 13.7762C13.2385 13.5823 13.3562 13.3524 13.3756 13.0865C13.395 12.8206 13.3132 12.5851 13.1304 12.3802C12.9476 12.1752 12.7233 12.0686 12.4574 12.0603C12.1915 12.052 11.9477 12.1503 11.7262 12.3552L6.34999 17.1996C6.22812 17.3104 6.13671 17.4337 6.07578 17.5694C6.01484 17.7051 5.98438 17.845 5.98438 17.989ZM15.6897 25.9577C15.9667 26.0353 16.2201 26.0062 16.45 25.8705C16.6799 25.7347 16.8364 25.5284 16.9195 25.2514L21.0077 11.2335C21.0908 10.9731 21.0714 10.728 20.9496 10.4981C20.8277 10.2682 20.6283 10.1173 20.3513 10.0452C20.0798 9.96769 19.8306 9.98984 19.6034 10.1117C19.3763 10.2336 19.2212 10.4469 19.1381 10.7515L15.0665 24.703C14.9834 24.991 14.9945 25.2528 15.0998 25.4882C15.205 25.7237 15.4017 25.8801 15.6897 25.9577ZM30.0151 17.989C30.0151 17.845 29.986 17.7051 29.9278 17.5694C29.8697 17.4337 29.7797 17.3104 29.6578 17.1996L24.2816 12.3552C24.06 12.1503 23.8177 12.052 23.5546 12.0603C23.2914 12.0686 23.0657 12.1752 22.8773 12.3802C22.689 12.5851 22.6045 12.8206 22.6239 13.0865C22.6433 13.3524 22.761 13.5823 22.9771 13.7762L27.6303 17.989L22.9771 22.2019C22.761 22.3902 22.6433 22.6173 22.6239 22.8832C22.6045 23.1491 22.689 23.3873 22.8773 23.5978C23.0657 23.8028 23.2914 23.9094 23.5546 23.9177C23.8177 23.9261 24.06 23.8277 24.2816 23.6228L29.6578 18.7784C29.7797 18.6676 29.8697 18.5443 29.9278 18.4086C29.986 18.2729 30.0151 18.133 30.0151 17.989Z" fill="#007AFF"/>
|
<path d="M1.98438 13.989C1.98438 14.133 2.01484 14.2729 2.07578 14.4086C2.13671 14.5443 2.22812 14.6676 2.34999 14.7784L7.72616 19.6228C7.94774 19.8277 8.19148 19.9261 8.45738 19.9177C8.72328 19.9094 8.94763 19.8028 9.13044 19.5978C9.31325 19.3873 9.39496 19.1491 9.37557 18.8832C9.35618 18.6173 9.23846 18.3902 9.02242 18.2019L4.37748 13.989L9.02242 9.77615C9.23846 9.58227 9.35618 9.35237 9.37557 9.08647C9.39496 8.82057 9.31325 8.58514 9.13044 8.38018C8.94763 8.17521 8.72328 8.06857 8.45738 8.06026C8.19148 8.05195 7.94774 8.15028 7.72616 8.35525L2.34999 13.1996C2.22812 13.3104 2.13671 13.4337 2.07578 13.5694C2.01484 13.7051 1.98438 13.845 1.98438 13.989ZM11.6897 21.9577C11.9667 22.0353 12.2201 22.0062 12.45 21.8705C12.6799 21.7347 12.8364 21.5284 12.9195 21.2514L17.0077 7.23348C17.0908 6.97312 17.0714 6.72799 16.9496 6.4981C16.8277 6.26821 16.6283 6.11725 16.3513 6.04524C16.0799 5.96769 15.8306 5.98984 15.6034 6.11171C15.3763 6.23359 15.2212 6.44686 15.1381 6.75154L11.0665 20.703C10.9834 20.991 10.9945 21.2528 11.0998 21.4882C11.205 21.7237 11.4017 21.8801 11.6897 21.9577ZM26.0151 13.989C26.0151 13.845 25.986 13.7051 25.9278 13.5694C25.8697 13.4337 25.7797 13.3104 25.6578 13.1996L20.2816 8.35525C20.06 8.15028 19.8177 8.05195 19.5546 8.06026C19.2914 8.06857 19.0657 8.17521 18.8773 8.38018C18.689 8.58514 18.6045 8.82057 18.6239 9.08647C18.6433 9.35237 18.761 9.58227 18.9771 9.77615L23.6303 13.989L18.9771 18.2019C18.761 18.3902 18.6433 18.6173 18.6239 18.8832C18.6045 19.1491 18.689 19.3873 18.8773 19.5978C19.0657 19.8028 19.2914 19.9094 19.5546 19.9177C19.8177 19.9261 20.06 19.8277 20.2816 19.6228L25.6578 14.7784C25.7797 14.6676 25.8697 14.5443 25.9278 14.4086C25.986 14.2729 26.0151 14.133 26.0151 13.989Z" fill="#AEAEC0"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -83,6 +83,7 @@ export 'presentation/views/bottom_popup/full_screen_action_sheet_builder.dart';
|
|||||||
export 'presentation/views/checkbox/labeled_checkbox.dart';
|
export 'presentation/views/checkbox/labeled_checkbox.dart';
|
||||||
export 'presentation/views/container/tmail_container_widget.dart';
|
export 'presentation/views/container/tmail_container_widget.dart';
|
||||||
export 'presentation/views/clipper/side_arrow_clipper.dart';
|
export 'presentation/views/clipper/side_arrow_clipper.dart';
|
||||||
|
export 'presentation/views/avatar/gradient_circle_avatar_icon.dart';
|
||||||
|
|
||||||
// Resources
|
// Resources
|
||||||
export 'presentation/resources/assets_paths.dart';
|
export 'presentation/resources/assets_paths.dart';
|
||||||
|
|||||||
@@ -207,6 +207,15 @@ extension AppColor on Color {
|
|||||||
static const colorEmptyPopupDialogButton = Color(0xFFFFC107);
|
static const colorEmptyPopupDialogButton = Color(0xFFFFC107);
|
||||||
static const colorCancelPopupDialogButton = Color(0xFFEBEDF0);
|
static const colorCancelPopupDialogButton = Color(0xFFEBEDF0);
|
||||||
static const colorRemoveRuleFilterConditionButton = Color(0xFFE6E8EC);
|
static const colorRemoveRuleFilterConditionButton = Color(0xFFE6E8EC);
|
||||||
|
static const colorComposerShadowTop = Color(0x28000000);
|
||||||
|
static const colorComposerShadowBottom = Color(0x1E000000);
|
||||||
|
static const colorComposerAppBar = Color(0xFFF4F4F4);
|
||||||
|
static const colorLabelComposer = Color(0xFF8C9CAF);
|
||||||
|
static const colorLineComposer = Color(0xFFF4F4F4);
|
||||||
|
static const colorPrefixButtonComposer = Color(0xFFAEAAAE);
|
||||||
|
static const colorRichButtonComposer = Color(0xFFAEAEC0);
|
||||||
|
static const colorMobileRichButtonComposer = Color(0xFF8C9CAF);
|
||||||
|
static const colorSelected = Color(0xFFE3F1FF);
|
||||||
|
|
||||||
static const mapGradientColor = [
|
static const mapGradientColor = [
|
||||||
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class ImagePaths {
|
|||||||
String get icForward => _getImagePath('ic_forward.svg');
|
String get icForward => _getImagePath('ic_forward.svg');
|
||||||
String get icMoveEmail => _getImagePath('ic_move_email.svg');
|
String get icMoveEmail => _getImagePath('ic_move_email.svg');
|
||||||
String get icUnreadEmail => _getImagePath('ic_unread_email.svg');
|
String get icUnreadEmail => _getImagePath('ic_unread_email.svg');
|
||||||
String get icCloseMailbox => _getImagePath('ic_close_mailbox.svg');
|
String get icCircleClose => _getImagePath('ic_circle_close.svg');
|
||||||
String get icAddNewFolder => _getImagePath('ic_add_new_folder.svg');
|
String get icAddNewFolder => _getImagePath('ic_add_new_folder.svg');
|
||||||
String get icFolderMailbox => _getImagePath('ic_folder_mailbox.svg');
|
String get icFolderMailbox => _getImagePath('ic_folder_mailbox.svg');
|
||||||
String get icMailboxInbox => _getImagePath('ic_mailbox_inbox.svg');
|
String get icMailboxInbox => _getImagePath('ic_mailbox_inbox.svg');
|
||||||
@@ -55,9 +55,7 @@ class ImagePaths {
|
|||||||
String get icRemoveDialog => _getImagePath('ic_remove_dialog.svg');
|
String get icRemoveDialog => _getImagePath('ic_remove_dialog.svg');
|
||||||
String get icNewMessage => _getImagePath('ic_new_message.svg');
|
String get icNewMessage => _getImagePath('ic_new_message.svg');
|
||||||
String get icUnreadStatus => _getImagePath('ic_unread_status.svg');
|
String get icUnreadStatus => _getImagePath('ic_unread_status.svg');
|
||||||
String get icAttachmentsComposer => _getImagePath('ic_attachments_composer.svg');
|
String get icFullScreen => _getImagePath('ic_fullscreen.svg');
|
||||||
String get icCloseComposer => _getImagePath('ic_close_composer.svg');
|
|
||||||
String get icFullScreenComposer => _getImagePath('ic_fullscreen_composer.svg');
|
|
||||||
String get icMinimize => _getImagePath('ic_minimize.svg');
|
String get icMinimize => _getImagePath('ic_minimize.svg');
|
||||||
String get icDeleteComposer => _getImagePath('ic_delete_composer.svg');
|
String get icDeleteComposer => _getImagePath('ic_delete_composer.svg');
|
||||||
String get icDeleteAttachment => _getImagePath('ic_delete_attachment.svg');
|
String get icDeleteAttachment => _getImagePath('ic_delete_attachment.svg');
|
||||||
@@ -110,7 +108,6 @@ class ImagePaths {
|
|||||||
String get icFilePdf => _getImagePath('ic_file_pdf.svg');
|
String get icFilePdf => _getImagePath('ic_file_pdf.svg');
|
||||||
String get icFilePptx => _getImagePath('ic_file_pptx.svg');
|
String get icFilePptx => _getImagePath('ic_file_pptx.svg');
|
||||||
String get icFileEPup => _getImagePath('ic_file_epup.svg');
|
String get icFileEPup => _getImagePath('ic_file_epup.svg');
|
||||||
String get icCloseAdvancedSearch => _getImagePath('ic_close_advanced_search.svg');
|
|
||||||
String get icLanguage => _getImagePath('ic_language.svg');
|
String get icLanguage => _getImagePath('ic_language.svg');
|
||||||
String get icChecked => _getImagePath('ic_checked.svg');
|
String get icChecked => _getImagePath('ic_checked.svg');
|
||||||
String get icStyleBold => _getImagePath('ic_style_bold.svg');
|
String get icStyleBold => _getImagePath('ic_style_bold.svg');
|
||||||
@@ -199,6 +196,12 @@ class ImagePaths {
|
|||||||
String get icFormatQuote => _getImagePath('ic_format_quote.svg');
|
String get icFormatQuote => _getImagePath('ic_format_quote.svg');
|
||||||
String get icTMailLogo => _getImagePath('ic_tmail_logo.svg');
|
String get icTMailLogo => _getImagePath('ic_tmail_logo.svg');
|
||||||
String get icLoginGraphic => _getImagePath('ic_login_graphic.svg');
|
String get icLoginGraphic => _getImagePath('ic_login_graphic.svg');
|
||||||
|
String get icCancel => _getImagePath('ic_cancel.svg');
|
||||||
|
String get icRichToolbar => _getImagePath('ic_rich_toolbar.svg');
|
||||||
|
String get icSaveToDraft => _getImagePath('ic_save_to_draft.svg');
|
||||||
|
String get icAttachmentFile => _getImagePath('ic_attachment_file.svg');
|
||||||
|
String get icAttachFile => _getImagePath('ic_attach_file.svg');
|
||||||
|
String get icSend => _getImagePath('ic_send.svg');
|
||||||
|
|
||||||
String _getImagePath(String imageName) {
|
String _getImagePath(String imageName) {
|
||||||
return AssetsPaths.images + imageName;
|
return AssetsPaths.images + imageName;
|
||||||
|
|||||||
@@ -2,15 +2,16 @@
|
|||||||
import 'package:core/presentation/extensions/color_extension.dart';
|
import 'package:core/presentation/extensions/color_extension.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class GradientColorAvatarIcon extends StatelessWidget {
|
class GradientCircleAvatarIcon extends StatelessWidget {
|
||||||
|
|
||||||
final List<Color> colors;
|
final List<Color> colors;
|
||||||
final double iconSize;
|
final double iconSize;
|
||||||
final double labelFontSize;
|
final double labelFontSize;
|
||||||
final String label;
|
final String label;
|
||||||
|
|
||||||
const GradientColorAvatarIcon(this.colors, {
|
const GradientCircleAvatarIcon({
|
||||||
Key? key,
|
Key? key,
|
||||||
|
required this.colors,
|
||||||
this.iconSize = 40,
|
this.iconSize = 40,
|
||||||
this.label = '',
|
this.label = '',
|
||||||
this.labelFontSize = 24.0,
|
this.labelFontSize = 24.0,
|
||||||
@@ -23,13 +24,13 @@ class GradientColorAvatarIcon extends StatelessWidget {
|
|||||||
height: iconSize,
|
height: iconSize,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(iconSize * 0.5),
|
shape: BoxShape.circle,
|
||||||
border: Border.all(color: Colors.transparent),
|
|
||||||
gradient: LinearGradient(
|
gradient: LinearGradient(
|
||||||
begin: Alignment.topCenter,
|
begin: Alignment.topCenter,
|
||||||
end: Alignment.bottomCenter,
|
end: Alignment.bottomCenter,
|
||||||
stops: const [0.0, 1.0],
|
stops: const [0.0, 1.0],
|
||||||
colors: colors),
|
colors: colors
|
||||||
|
),
|
||||||
color: AppColor.avatarColor
|
color: AppColor.avatarColor
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
@@ -37,7 +38,8 @@ class GradientColorAvatarIcon extends StatelessWidget {
|
|||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
fontSize: labelFontSize,
|
fontSize: labelFontSize,
|
||||||
fontWeight: FontWeight.w600)
|
fontWeight: FontWeight.w600
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -33,6 +33,7 @@ class TMailButtonWidget extends StatelessWidget {
|
|||||||
final TextAlign? textAlign;
|
final TextAlign? textAlign;
|
||||||
final bool flexibleText;
|
final bool flexibleText;
|
||||||
final BoxBorder? border;
|
final BoxBorder? border;
|
||||||
|
final TextDirection iconAlignment;
|
||||||
|
|
||||||
const TMailButtonWidget({
|
const TMailButtonWidget({
|
||||||
super.key,
|
super.key,
|
||||||
@@ -61,6 +62,7 @@ class TMailButtonWidget extends StatelessWidget {
|
|||||||
this.textAlign,
|
this.textAlign,
|
||||||
this.flexibleText = false,
|
this.flexibleText = false,
|
||||||
this.border,
|
this.border,
|
||||||
|
this.iconAlignment = TextDirection.ltr,
|
||||||
});
|
});
|
||||||
|
|
||||||
factory TMailButtonWidget.fromIcon({
|
factory TMailButtonWidget.fromIcon({
|
||||||
@@ -190,20 +192,31 @@ class TMailButtonWidget extends StatelessWidget {
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
childWidget = Row(
|
if (iconAlignment == TextDirection.ltr) {
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
childWidget = Row(
|
||||||
children: [
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
SvgPicture.asset(
|
children: [
|
||||||
icon!,
|
SvgPicture.asset(
|
||||||
width: iconSize,
|
icon!,
|
||||||
height: iconSize,
|
width: iconSize,
|
||||||
fit: BoxFit.fill,
|
height: iconSize,
|
||||||
colorFilter: iconColor?.asFilter()
|
fit: BoxFit.fill,
|
||||||
),
|
colorFilter: iconColor?.asFilter()
|
||||||
SizedBox(width: iconSpace),
|
),
|
||||||
if (flexibleText)
|
SizedBox(width: iconSpace),
|
||||||
Flexible(
|
if (flexibleText)
|
||||||
child: Text(
|
Flexible(
|
||||||
|
child: Text(
|
||||||
|
text,
|
||||||
|
textAlign: textAlign,
|
||||||
|
style: textStyle ?? const TextStyle(
|
||||||
|
fontSize: 12,
|
||||||
|
color: AppColor.colorTextButtonHeaderThread
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
else
|
||||||
|
Text(
|
||||||
text,
|
text,
|
||||||
textAlign: textAlign,
|
textAlign: textAlign,
|
||||||
style: textStyle ?? const TextStyle(
|
style: textStyle ?? const TextStyle(
|
||||||
@@ -211,29 +224,54 @@ class TMailButtonWidget extends StatelessWidget {
|
|||||||
color: AppColor.colorTextButtonHeaderThread
|
color: AppColor.colorTextButtonHeaderThread
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
if (trailingIcon != null)
|
||||||
else
|
Padding(
|
||||||
Text(
|
padding: EdgeInsetsDirectional.only(start: iconSpace),
|
||||||
text,
|
child: SvgPicture.asset(
|
||||||
textAlign: textAlign,
|
trailingIcon!,
|
||||||
style: textStyle ?? const TextStyle(
|
width: trailingIconSize,
|
||||||
fontSize: 12,
|
height: trailingIconSize,
|
||||||
color: AppColor.colorTextButtonHeaderThread
|
fit: BoxFit.fill,
|
||||||
|
colorFilter: trailingIconColor?.asFilter()
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
]
|
||||||
if (trailingIcon != null)
|
);
|
||||||
Padding(
|
} else {
|
||||||
padding: EdgeInsetsDirectional.only(start: iconSpace),
|
childWidget = Row(
|
||||||
child: SvgPicture.asset(
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
trailingIcon!,
|
children: [
|
||||||
width: trailingIconSize,
|
if (flexibleText)
|
||||||
height: trailingIconSize,
|
Flexible(
|
||||||
fit: BoxFit.fill,
|
child: Text(
|
||||||
colorFilter: trailingIconColor?.asFilter()
|
text,
|
||||||
|
textAlign: textAlign,
|
||||||
|
style: textStyle ?? const TextStyle(
|
||||||
|
fontSize: 12,
|
||||||
|
color: AppColor.colorTextButtonHeaderThread
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
else
|
||||||
|
Text(
|
||||||
|
text,
|
||||||
|
textAlign: textAlign,
|
||||||
|
style: textStyle ?? const TextStyle(
|
||||||
|
fontSize: 12,
|
||||||
|
color: AppColor.colorTextButtonHeaderThread
|
||||||
|
),
|
||||||
),
|
),
|
||||||
|
SizedBox(width: iconSpace),
|
||||||
|
SvgPicture.asset(
|
||||||
|
icon!,
|
||||||
|
width: iconSize,
|
||||||
|
height: iconSize,
|
||||||
|
fit: BoxFit.fill,
|
||||||
|
colorFilter: iconColor?.asFilter()
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (icon != null) {
|
} else if (icon != null) {
|
||||||
childWidget = SvgPicture.asset(
|
childWidget = SvgPicture.asset(
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ class ConfirmDialogBuilder {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(top: 8, right: 8),
|
padding: const EdgeInsets.only(top: 8, right: 8),
|
||||||
child: buildIconWeb(
|
child: buildIconWeb(
|
||||||
icon: SvgPicture.asset(_imagePath.icCloseMailbox, fit: BoxFit.fill),
|
icon: SvgPicture.asset(_imagePath.icCircleClose, fit: BoxFit.fill),
|
||||||
onTap: () => _onCloseButtonAction?.call())
|
onTap: () => _onCloseButtonAction?.call())
|
||||||
)),
|
)),
|
||||||
if (_iconWidget != null)
|
if (_iconWidget != null)
|
||||||
|
|||||||