样式图标修改
|
|
@ -1,22 +1 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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="1755074200576" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2855" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M914.285714 512c0-222.171429-180.114286-402.285714-402.285714-402.285714S109.714286 289.828571 109.714286 512s180.114286 402.285714 402.285714 402.285714v73.142857C249.417143 987.428571 36.571429 774.582857 36.571429 512S249.417143 36.571429 512 36.571429s475.428571 212.845714 475.428571 475.428571-212.845714 475.428571-475.428571 475.428571v-73.142857c222.171429 0 402.285714-180.114286 402.285714-402.285714z" p-id="2856"></path><path d="M292.571429 512a36.571429 36.571429 0 0 1 36.571428-36.571429h365.714286a36.571429 36.571429 0 1 1 0 73.142858H329.142857a36.571429 36.571429 0 0 1-36.571428-36.571429z" p-id="2857"></path><path d="M512 292.571429a36.571429 36.571429 0 0 1 36.571429 36.571428v365.714286a36.571429 36.571429 0 1 1-73.142858 0V329.142857a36.571429 36.571429 0 0 1 36.571429-36.571428z" p-id="2858"></path></svg>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="56px" height="57px" viewBox="0 0 56 57" version="1.1">
|
|
||||||
<title>编组 4</title>
|
|
||||||
<defs>
|
|
||||||
<filter color-interpolation-filters="auto" id="filter-1">
|
|
||||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0.266667 0 0 0 0 0.266667 0 0 0 0 0.266667 0 0 0 1.000000 0"></feColorMatrix>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
||||||
<g id="更多" transform="translate(-662.000000, -1046.000000)">
|
|
||||||
<g id="编组-11备份-2" transform="translate(0.000000, 1025.000000)">
|
|
||||||
<g id="编组-4" transform="translate(33.000000, 16.000000)" filter="url(#filter-1)">
|
|
||||||
<g transform="translate(629.000000, 5.853448)">
|
|
||||||
<circle id="椭圆形备份-27" stroke="#8F959E" stroke-width="4" cx="28" cy="28" r="26"></circle>
|
|
||||||
<rect id="矩形备份-8" fill="#8F959E" x="15" y="27" width="26" height="4" rx="1"></rect>
|
|
||||||
<rect id="矩形备份-8" fill="#8F959E" transform="translate(28.000000, 29.000000) rotate(-90.000000) translate(-28.000000, -29.000000) " x="15" y="27" width="26" height="4" rx="1"></rect>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
|
|
@ -1,26 +1 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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="1755074147184" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2709" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M914.285714 512c0-222.171429-180.114286-402.285714-402.285714-402.285714S109.714286 289.828571 109.714286 512s180.114286 402.285714 402.285714 402.285714v73.142857C249.417143 987.428571 36.571429 774.582857 36.571429 512S249.417143 36.571429 512 36.571429s475.428571 212.845714 475.428571 475.428571-212.845714 475.428571-475.428571 475.428571v-73.142857c222.171429 0 402.285714-180.114286 402.285714-402.285714z" p-id="2710"></path><path d="M644.059429 623.268571a36.571429 36.571429 0 0 1 65.024 33.462858C679.387429 714.496 608.146286 768 512 768c-93.147429 0-162.925714-50.230857-194.194286-105.874286l-2.889143-5.394285-1.554285-3.419429a36.571429 36.571429 0 0 1 64.713143-33.28l1.865142 3.236571 1.718858 3.181715C400.182857 659.273143 445.714286 694.857143 512 694.857143c68.425143 0 114.742857-37.924571 132.059429-71.588572z" p-id="2711"></path><path d="M274.285714 365.714286m36.571429 0l0 0q36.571429 0 36.571428 36.571428l0 36.571429q0 36.571429-36.571428 36.571428l0 0q-36.571429 0-36.571429-36.571428l0-36.571429q0-36.571429 36.571429-36.571428Z" p-id="2712"></path><path d="M676.571429 365.714286m36.571428 0l0 0q36.571429 0 36.571429 36.571428l0 36.571429q0 36.571429-36.571429 36.571428l0 0q-36.571429 0-36.571428-36.571428l0-36.571429q0-36.571429 36.571428-36.571428Z" p-id="2713"></path></svg>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="56px" height="57px" viewBox="0 0 56 57" version="1.1">
|
|
||||||
<title>编组 6</title>
|
|
||||||
<defs>
|
|
||||||
<filter color-interpolation-filters="auto" id="filter-1">
|
|
||||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0.266667 0 0 0 0 0.266667 0 0 0 0 0.266667 0 0 0 1.000000 0"></feColorMatrix>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
||||||
<g id="更多" transform="translate(-586.000000, -1046.000000)">
|
|
||||||
<g id="编组-11备份-2" transform="translate(0.000000, 1025.000000)">
|
|
||||||
<g id="编组-6" transform="translate(33.000000, 16.000000)" filter="url(#filter-1)">
|
|
||||||
<g transform="translate(553.000000, 5.853448)">
|
|
||||||
<rect id="矩形" x="0" y="0" width="56" height="56"></rect>
|
|
||||||
<g id="编组-5" transform="translate(15.000000, 18.000000)" fill="#BBBBBB">
|
|
||||||
<ellipse id="椭圆形" cx="2.96644295" cy="3" rx="2.96644295" ry="3"></ellipse>
|
|
||||||
<ellipse id="椭圆形" cx="23.033557" cy="3" rx="2.96644295" ry="3"></ellipse>
|
|
||||||
</g>
|
|
||||||
<circle id="椭圆形" stroke="#BBBBBB" stroke-width="4" cx="28" cy="28" r="26"></circle>
|
|
||||||
<path d="M17.862069,30.6805556 L17.862069,30.6805556 L17.862069,30.6805556 C17.862069,36.1249814 22.4259829,40.5 28,40.5 C33.4841136,40.5 37.9904452,36.2649729 38.1343841,30.943147 L38.137931,30.6805556 C38.137931,30.3046951 38.4426261,30 38.8184866,30 L41.3194444,30 C41.6953049,30 42,30.3046951 42,30.6805556 L42,30.6805556 L42,30.6805556 C42,38.0153851 35.7569941,44 28,44 C20.3424546,44 14.1603259,38.1678531 14.0030684,30.9619888 L14,30.6805556 C14,30.3046951 14.3046951,30 14.6805556,30 L17.1815134,30 C17.5573739,30 17.862069,30.3046951 17.862069,30.6805556 Z" id="路径" fill="#979797" fill-rule="nonzero"></path>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.6 KiB |
|
|
@ -1,14 +1 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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="1755074137851" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2559" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M907.636364 512c0-218.507636-177.128727-395.636364-395.636364-395.636364S116.363636 293.492364 116.363636 512s177.128727 395.636364 395.636364 395.636364v93.090909C242.082909 1000.727273 23.272727 781.917091 23.272727 512S242.082909 23.272727 512 23.272727s488.727273 218.810182 488.727273 488.727273-218.810182 488.727273-488.727273 488.727273v-93.090909c218.507636 0 395.636364-177.128727 395.636364-395.636364z" p-id="2560"></path><path d="M279.272727 302.545455m46.545455 0l0 0q46.545455 0 46.545454 46.545454l0 0q0 46.545455-46.545454 46.545455l0 0q-46.545455 0-46.545455-46.545455l0 0q0-46.545455 46.545455-46.545454Z" p-id="2561"></path><path d="M279.272727 465.454545m46.545455 0l0 0q46.545455 0 46.545454 46.545455l0 0q0 46.545455-46.545454 46.545455l0 0q-46.545455 0-46.545455-46.545455l0 0q0-46.545455 46.545455-46.545455Z" p-id="2562"></path><path d="M465.454545 302.545455m46.545455 0l0 0q46.545455 0 46.545455 46.545454l0 0q0 46.545455-46.545455 46.545455l0 0q-46.545455 0-46.545455-46.545455l0 0q0-46.545455 46.545455-46.545454Z" p-id="2563"></path><path d="M465.454545 465.454545m46.545455 0l0 0q46.545455 0 46.545455 46.545455l0 0q0 46.545455-46.545455 46.545455l0 0q-46.545455 0-46.545455-46.545455l0 0q0-46.545455 46.545455-46.545455Z" p-id="2564"></path><path d="M651.636364 302.545455m46.545454 0l0 0q46.545455 0 46.545455 46.545454l0 0q0 46.545455-46.545455 46.545455l0 0q-46.545455 0-46.545454-46.545455l0 0q0-46.545455 46.545454-46.545454Z" p-id="2565"></path><path d="M651.636364 465.454545m46.545454 0l0 0q46.545455 0 46.545455 46.545455l0 0q0 46.545455-46.545455 46.545455l0 0q-46.545455 0-46.545454-46.545455l0 0q0-46.545455 46.545454-46.545455Z" p-id="2566"></path><path d="M279.272727 628.363636m46.545455 0l372.363636 0q46.545455 0 46.545455 46.545455l0 0q0 46.545455-46.545455 46.545454l-372.363636 0q-46.545455 0-46.545455-46.545454l0 0q0-46.545455 46.545455-46.545455Z" p-id="2567"></path></svg>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="56px" height="57px" viewBox="0 0 56 57" version="1.1">
|
|
||||||
<title>椭圆形备份 25</title>
|
|
||||||
<g id="移动端-轻量版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
||||||
<g id="切图1" transform="translate(-283.000000, -507.000000)">
|
|
||||||
<g id="编组-9备份" transform="translate(283.000000, 507.000000)">
|
|
||||||
<circle id="椭圆形备份-25" stroke="#444444" stroke-width="4" cx="28" cy="29" r="26"></circle>
|
|
||||||
<g id="编组-15" transform="translate(13.500000, 18.000000)" fill="#444444">
|
|
||||||
<path d="M21.5,18 C22.0522847,18 22.5,18.4477153 22.5,19 L22.5,22 C22.5,22.5522847 22.0522847,23 21.5,23 L7.5,23 C6.94771525,23 6.5,22.5522847 6.5,22 L6.5,19 C6.5,18.4477153 6.94771525,18 7.5,18 L21.5,18 Z M4,8 C4.55228475,8 5,8.44771525 5,9 L5,12 C5,12.5522847 4.55228475,13 4,13 L1,13 C0.44771525,13 6.76353751e-17,12.5522847 0,12 L0,9 C-6.76353751e-17,8.44771525 0.44771525,8 1,8 L4,8 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,12 C13,12.5522847 12.5522847,13 12,13 L9,13 C8.44771525,13 8,12.5522847 8,12 L8,9 C8,8.44771525 8.44771525,8 9,8 L12,8 Z M20,8 C20.5522847,8 21,8.44771525 21,9 L21,12 C21,12.5522847 20.5522847,13 20,13 L17,13 C16.4477153,13 16,12.5522847 16,12 L16,9 C16,8.44771525 16.4477153,8 17,8 L20,8 Z M28,8 C28.5522847,8 29,8.44771525 29,9 L29,12 C29,12.5522847 28.5522847,13 28,13 L25,13 C24.4477153,13 24,12.5522847 24,12 L24,9 C24,8.44771525 24.4477153,8 25,8 L28,8 Z M4,0 C4.55228475,-1.01453063e-16 5,0.44771525 5,1 L5,4 C5,4.55228475 4.55228475,5 4,5 L1,5 C0.44771525,5 6.76353751e-17,4.55228475 0,4 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L4,0 Z M12,0 C12.5522847,-1.01453063e-16 13,0.44771525 13,1 L13,4 C13,4.55228475 12.5522847,5 12,5 L9,5 C8.44771525,5 8,4.55228475 8,4 L8,1 C8,0.44771525 8.44771525,1.01453063e-16 9,0 L12,0 Z M20,0 C20.5522847,-1.01453063e-16 21,0.44771525 21,1 L21,4 C21,4.55228475 20.5522847,5 20,5 L17,5 C16.4477153,5 16,4.55228475 16,4 L16,1 C16,0.44771525 16.4477153,1.01453063e-16 17,0 L20,0 Z M28,0 C28.5522847,-1.01453063e-16 29,0.44771525 29,1 L29,4 C29,4.55228475 28.5522847,5 28,5 L25,5 C24.4477153,5 24,4.55228475 24,4 L24,1 C24,0.44771525 24.4477153,1.01453063e-16 25,0 L28,0 Z" id="形状结合"></path>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
|
|
@ -1,23 +1 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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="1755072676083" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2413" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M896 512c0-212.077714-171.922286-384-384-384S128 299.922286 128 512s171.922286 384 384 384h384V512z m73.142857 384a73.142857 73.142857 0 0 1-73.142857 73.142857H512C259.529143 969.142857 54.857143 764.470857 54.857143 512S259.529143 54.857143 512 54.857143s457.142857 204.672 457.142857 457.142857v384z" p-id="2414"></path><path d="M384 658.285714m-36.571429 0l0 0q-36.571429 0-36.571428-36.571428l0-219.428572q0-36.571429 36.571428-36.571428l0 0q36.571429 0 36.571429 36.571428l0 219.428572q0 36.571429-36.571429 36.571428Z" p-id="2415"></path><path d="M713.142857 658.285714m-36.571428 0l0 0q-36.571429 0-36.571429-36.571428l0-219.428572q0-36.571429 36.571429-36.571428l0 0q36.571429 0 36.571428 36.571428l0 219.428572q0 36.571429-36.571428 36.571428Z" p-id="2416"></path><path d="M548.571429 713.142857m-36.571429 0l0 0q-36.571429 0-36.571429-36.571428l0-329.142858q0-36.571429 36.571429-36.571428l0 0q36.571429 0 36.571429 36.571428l0 329.142858q0 36.571429-36.571429 36.571428Z" p-id="2417"></path></svg>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="56px" height="57px" viewBox="0 0 56 57" version="1.1">
|
|
||||||
<title>编组 9</title>
|
|
||||||
<defs>
|
|
||||||
<filter color-interpolation-filters="auto" id="filter-1">
|
|
||||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0.266667 0 0 0 0 0.266667 0 0 0 0 0.266667 0 0 0 1.000000 0"></feColorMatrix>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
||||||
<g id="更多" transform="translate(-33.000000, -1046.000000)">
|
|
||||||
<g id="编组-11备份-2" transform="translate(0.000000, 1025.000000)">
|
|
||||||
<g id="编组-9" transform="translate(33.000000, 16.000000)" filter="url(#filter-1)">
|
|
||||||
<g transform="translate(0.000000, 5.853448)">
|
|
||||||
<circle id="椭圆形备份-25" stroke="#444444" stroke-width="4" cx="28" cy="28" r="26"></circle>
|
|
||||||
<g id="编组" transform="translate(13.000000, 11.146552)" fill="#979797" fill-rule="nonzero">
|
|
||||||
<path d="M3.22061856,17.5880403 C3.66244636,17.5880403 4.02061856,17.9462125 4.02061856,18.3880403 L4.02061856,18.6926914 C4.02061856,24.8806658 8.93625507,29.8970101 15,29.8970101 C20.967495,29.8970101 25.8230402,25.0386509 25.975681,18.9864559 L25.9793814,18.6926914 L25.9793814,18.3880403 C25.9793814,17.9462125 26.3375536,17.5880403 26.7793814,17.5880403 L29.2,17.5880403 C29.6418278,17.5880403 30,17.9462125 30,18.3880403 L30,18.6926914 C30,27.1466845 23.2842712,34 15,34 C6.82193736,34 0.172455987,27.3212841 0.00330065692,19.0170447 L0,18.6926914 L0,18.3880403 C-1.65130603e-16,17.9462125 0.3581722,17.5880403 0.8,17.5880403 L3.22061856,17.5880403 Z M15.1965847,0 C19.4037284,0 22.8142432,3.57961711 22.8142432,7.9953621 L22.8142432,18.3119584 C22.7872128,22.7074732 19.3846075,26.2557375 15.1965847,26.2557375 L14.8034153,26.2557375 C10.5962716,26.2557375 7.18575682,22.6760398 7.18575682,18.2603754 L7.18575682,7.94377912 C7.21278722,3.54818373 10.6153925,0 14.8034153,0 L15.1965847,0 Z M15.1965847,4.10298992 L14.8034153,4.10298992 C12.9144516,4.10298992 11.325224,5.69669854 11.2126654,7.73818076 L11.2063754,7.94377912 L11.2063754,18.2603754 C11.2063754,20.365303 12.7386643,22.0414789 14.614709,22.1474289 L14.8034153,22.1527476 L15.1965847,22.1527476 C17.0855164,22.1527476 18.6747739,20.5589954 18.7873345,18.5175525 L18.7936246,18.3119584 L18.7936246,7.9953621 C18.7936246,5.89038947 17.2613666,4.21425569 15.385294,4.10830842 L15.1965847,4.10298992 Z" id="形状结合"></path>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.3 KiB |
|
|
@ -183,7 +183,7 @@ class _TIMUIKitAppBarState extends TIMUIKitState<TIMUIKitAppBar> {
|
||||||
theme.primaryColor,
|
theme.primaryColor,
|
||||||
actionsIconTheme: setAppbar?.actionsIconTheme,
|
actionsIconTheme: setAppbar?.actionsIconTheme,
|
||||||
foregroundColor: setAppbar?.foregroundColor,
|
foregroundColor: setAppbar?.foregroundColor,
|
||||||
elevation: setAppbar?.elevation ?? (isDesktopScreen ? 0 : 1),
|
elevation: setAppbar?.elevation ?? 0,
|
||||||
bottom: setAppbar?.bottom,
|
bottom: setAppbar?.bottom,
|
||||||
bottomOpacity: setAppbar?.bottomOpacity ?? 1.0,
|
bottomOpacity: setAppbar?.bottomOpacity ?? 1.0,
|
||||||
titleSpacing: setAppbar?.titleSpacing,
|
titleSpacing: setAppbar?.titleSpacing,
|
||||||
|
|
|
||||||
|
|
@ -424,7 +424,7 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
children: [
|
children: [
|
||||||
_buildRepliedMessage(widget.repliedMessage),
|
_buildRepliedMessage(widget.repliedMessage),
|
||||||
Container(
|
Container(
|
||||||
color: widget.backgroundColor ?? hexToColor("f5f5f6"),
|
color: widget.backgroundColor ?? Colors.white,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
|
|
@ -451,6 +451,8 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 语音图标(切换语音/键盘)。如需替换图标,修改下方资源路径:'images/voice.svg' 与 'images/keyboard.svg'
|
||||||
|
// 注意:Web 端分支使用的是 Material Icons,移动端使用本地 SVG 资源
|
||||||
child: SvgPicture.asset(
|
child: SvgPicture.asset(
|
||||||
showSendSoundText ? 'images/keyboard.svg' : 'images/voice.svg',
|
showSendSoundText ? 'images/keyboard.svg' : 'images/voice.svg',
|
||||||
package: 'tencent_cloud_chat_uikit',
|
package: 'tencent_cloud_chat_uikit',
|
||||||
|
|
@ -472,8 +474,8 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
Center(
|
Center(
|
||||||
child: KeyboardVisibility(
|
child: KeyboardVisibility(
|
||||||
child: ExtendedTextField(
|
child: ExtendedTextField(
|
||||||
maxLines: 4,
|
maxLines: 6,
|
||||||
minLines: 1,
|
minLines: 3,
|
||||||
focusNode: widget.focusNode,
|
focusNode: widget.focusNode,
|
||||||
onChanged: debounceFunc,
|
onChanged: debounceFunc,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|
@ -501,12 +503,23 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
},
|
},
|
||||||
textAlignVertical: TextAlignVertical.top,
|
textAlignVertical: TextAlignVertical.top,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: InputBorder.none,
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide.none,
|
||||||
|
),
|
||||||
|
enabledBorder: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide.none,
|
||||||
|
),
|
||||||
|
focusedBorder: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide.none,
|
||||||
|
),
|
||||||
hintStyle: const TextStyle(
|
hintStyle: const TextStyle(
|
||||||
// fontSize: 10,
|
// fontSize: 10,
|
||||||
color: Color(0xffAEA4A3),
|
color: Color(0xffAEA4A3),
|
||||||
),
|
),
|
||||||
fillColor: Colors.white,
|
fillColor: hexToColor("f5f5f6"),
|
||||||
filled: true,
|
filled: true,
|
||||||
isDense: true,
|
isDense: true,
|
||||||
hintText: widget.hintText ?? ''),
|
hintText: widget.hintText ?? ''),
|
||||||
|
|
@ -561,6 +574,8 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
_openEmojiPanel();
|
_openEmojiPanel();
|
||||||
widget.goDownBottom();
|
widget.goDownBottom();
|
||||||
},
|
},
|
||||||
|
// 表情图标(切换表情/键盘)。如需替换图标,修改下方资源路径:'images/face.svg' 与 'images/keyboard.svg'
|
||||||
|
// 注意:Web 端使用 Material Icons;移动端使用本地 SVG 资源
|
||||||
child: PlatformUtils().isWeb
|
child: PlatformUtils().isWeb
|
||||||
? Icon(showEmojiPanel ? Icons.keyboard_alt_outlined : Icons.mood_outlined,
|
? Icon(showEmojiPanel ? Icons.keyboard_alt_outlined : Icons.mood_outlined,
|
||||||
color: hexToColor("5c6168"), size: 32)
|
color: hexToColor("5c6168"), size: 32)
|
||||||
|
|
@ -582,6 +597,8 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
_openMore();
|
_openMore();
|
||||||
widget.goDownBottom();
|
widget.goDownBottom();
|
||||||
},
|
},
|
||||||
|
// 加号图标(更多面板入口)。如需替换图标,修改下方资源路径:'images/add.svg'
|
||||||
|
// 注意:Web 端使用 Material Icons;移动端使用本地 SVG 资源
|
||||||
child: PlatformUtils().isWeb
|
child: PlatformUtils().isWeb
|
||||||
? Icon(Icons.add_circle_outline_outlined, color: hexToColor("5c6168"), size: 32)
|
? Icon(Icons.add_circle_outline_outlined, color: hexToColor("5c6168"), size: 32)
|
||||||
: SvgPicture.asset(
|
: SvgPicture.asset(
|
||||||
|
|
|
||||||
|
|
@ -288,7 +288,7 @@ class _TIMUIKitTextFieldLayoutWideState extends TIMUIKitState<TIMUIKitTextFieldL
|
||||||
final haveRepliedMessage = repliedMessage != null;
|
final haveRepliedMessage = repliedMessage != null;
|
||||||
if (haveRepliedMessage) {
|
if (haveRepliedMessage) {
|
||||||
return Container(
|
return Container(
|
||||||
color: widget.backgroundColor ?? hexToColor("f5f5f6"),
|
color: widget.backgroundColor ?? Colors.white,
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 16),
|
padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 16),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
|
@ -963,12 +963,23 @@ class _TIMUIKitTextFieldLayoutWideState extends TIMUIKitState<TIMUIKitTextFieldL
|
||||||
style: const TextStyle(fontSize: 14),
|
style: const TextStyle(fontSize: 14),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hoverColor: Colors.transparent,
|
hoverColor: Colors.transparent,
|
||||||
border: InputBorder.none,
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide.none,
|
||||||
|
),
|
||||||
|
enabledBorder: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide.none,
|
||||||
|
),
|
||||||
|
focusedBorder: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide.none,
|
||||||
|
),
|
||||||
hintStyle: const TextStyle(
|
hintStyle: const TextStyle(
|
||||||
color: Color(0xffAEA4A3),
|
color: Color(0xffAEA4A3),
|
||||||
),
|
),
|
||||||
fillColor:
|
fillColor:
|
||||||
widget.backgroundColor ?? theme.desktopChatMessageInputBgColor ?? hexToColor("fafafa"),
|
hexToColor("f5f5f6"),
|
||||||
filled: true,
|
filled: true,
|
||||||
isDense: true,
|
isDense: true,
|
||||||
hintText: widget.hintText ?? '',
|
hintText: widget.hintText ?? '',
|
||||||
|
|
|
||||||
|
|
@ -266,7 +266,7 @@ class TIMUIKitChatConfig {
|
||||||
this.faceURIPrefix,
|
this.faceURIPrefix,
|
||||||
this.faceURISuffix,
|
this.faceURISuffix,
|
||||||
this.textHeight = 1.3,
|
this.textHeight = 1.3,
|
||||||
this.desktopMessageInputFieldLines = 6,
|
this.desktopMessageInputFieldLines = 8,
|
||||||
this.isAtWhenReply = true,
|
this.isAtWhenReply = true,
|
||||||
this.notificationAndroidSound = "",
|
this.notificationAndroidSound = "",
|
||||||
this.isUseMessageHoverBarOnDesktop = true,
|
this.isUseMessageHoverBarOnDesktop = true,
|
||||||
|
|
|
||||||