You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [`padding`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist_view/AssistActionButton/padding.html) property defines the space inside the button between its border and the content. By default, it is set to `EdgeInsetsDirectional.only(start: 8.0)`.
294
+
The [`margin`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist_view/AssistActionButton/padding.html) property defines the space inside the button between its border and the content. By default, it is set to `EdgeInsetsDirectional.only(start: 8.0)`.
295
295
296
296
{% tabs %}
297
297
{% highlight dart %}
@@ -304,7 +304,7 @@ The [`padding`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/ass
@@ -347,4 +347,4 @@ The [`size`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist
347
347
348
348
#### See Also
349
349
350
-
* You can also customize the above properties using [`SfAIAssistViewTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewTheme-class.html) by wrapping with [`SfAIAssistView`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist_view/SfAIAssistView-class.html).
350
+
* You can also customize the above properties using [`SfAIAssistViewTheme`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewTheme-class.html) by wrapping with [`SfAIAssistView`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist_view/SfAIAssistView-class.html).
Copy file name to clipboardExpand all lines: Flutter/ai-assistview/ai-assistview-theme.md
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -457,9 +457,9 @@ The [`responseAvatarBackgroundColor`](https://pub.dev/documentation/syncfusion_f
457
457
{% endhighlight %}
458
458
{% endtabs %}
459
459
460
-
## Request bubble content background color
460
+
## Request message background color
461
461
462
-
The [`requestBubbleContentBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestBubbleContentBackgroundColor.html) property is used to specify the background color of bubbles containing request messages.
462
+
The [`requestMessageBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestBubbleContentBackgroundColor.html) property is used to specify the background color of contents containing request messages.
463
463
464
464
{% tabs %}
465
465
{% highlight Dart %}
@@ -471,7 +471,7 @@ The [`requestBubbleContentBackgroundColor`](https://pub.dev/documentation/syncfu
@@ -484,9 +484,9 @@ The [`requestBubbleContentBackgroundColor`](https://pub.dev/documentation/syncfu
484
484
{% endhighlight %}
485
485
{% endtabs %}
486
486
487
-
## Response bubble content background color
487
+
## Response message background color
488
488
489
-
The [`responseBubbleContentBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseBubbleContentBackgroundColor.html) property is used to specify the background color of bubbles containing response messages.
489
+
The [`responseMessageBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseBubbleContentBackgroundColor.html) property is used to specify the background color of contents containing response messages.
490
490
491
491
{% tabs %}
492
492
{% highlight Dart %}
@@ -498,7 +498,7 @@ The [`responseBubbleContentBackgroundColor`](https://pub.dev/documentation/syncf
@@ -544,7 +544,7 @@ The [`editorTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/la
544
544
545
545
## Request content text style
546
546
547
-
The [`requestContentTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestContentTextStyle.html) property is used to specify the style for text in request message bubbles.
547
+
The [`requestContentTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestContentTextStyle.html) property is used to specify the style for text in request message contents.
548
548
549
549
{% tabs %}
550
550
{% highlight Dart %}
@@ -575,7 +575,7 @@ The [`requestContentTextStyle`](https://pub.dev/documentation/syncfusion_flutter
575
575
576
576
## Response content text style
577
577
578
-
The [`responseContentTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseContentTextStyle.html) property is used to specify the style for text in response message bubbles
578
+
The [`responseContentTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseContentTextStyle.html) property is used to specify the style for text in response message contents.
579
579
580
580
{% tabs %}
581
581
{% highlight Dart %}
@@ -606,7 +606,7 @@ The [`responseContentTextStyle`](https://pub.dev/documentation/syncfusion_flutte
606
606
607
607
## Request primary header text style
608
608
609
-
The [`requestPrimaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestPrimaryHeaderTextStyle.html) property is used to specify the style for the primary header text in request message bubbles.
609
+
The [`requestPrimaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestPrimaryHeaderTextStyle.html) property is used to specify the style for the primary header text in request message contents.
610
610
611
611
{% tabs %}
612
612
{% highlight Dart %}
@@ -637,7 +637,7 @@ The [`requestPrimaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_f
637
637
638
638
## Response primary header text style
639
639
640
-
The [`responsePrimaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responsePrimaryHeaderTextStyle.html) property is used to specify the style for the primary header text in response message bubbles.
640
+
The [`responsePrimaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responsePrimaryHeaderTextStyle.html) property is used to specify the style for the primary header text in response message contents.
641
641
642
642
{% tabs %}
643
643
{% highlight Dart %}
@@ -668,7 +668,7 @@ The [`responsePrimaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_
668
668
669
669
## Request secondary header text style
670
670
671
-
The [`requestSecondaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestSecondaryHeaderTextStyle.html) property is used to specify the style for the secondary header text in request message bubbles.
671
+
The [`requestSecondaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestSecondaryHeaderTextStyle.html) property is used to specify the style for the secondary header text in request message contents.
672
672
673
673
{% tabs %}
674
674
{% highlight Dart %}
@@ -699,7 +699,7 @@ The [`requestSecondaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion
699
699
700
700
## Response secondary header text style
701
701
702
-
The [`responseSecondaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseSecondaryHeaderTextStyle.html) property is used to specify the style for the secondary header text in response message bubbles.
702
+
The [`responseSecondaryHeaderTextStyle`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseSecondaryHeaderTextStyle.html) property is used to specify the style for the secondary header text in response message contents.
703
703
704
704
{% tabs %}
705
705
{% highlight Dart %}
@@ -783,9 +783,9 @@ The [`suggestionItemTextStyle`](https://pub.dev/documentation/syncfusion_flutter
783
783
{% endhighlight %}
784
784
{% endtabs %}
785
785
786
-
## Request bubble content shape
786
+
## Request message shape
787
787
788
-
The [`requestBubbleContentShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestBubbleContentShape.html) property is used to specify the shape and border radius of request message bubbles.
788
+
The [`requestMessageShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/requestBubbleContentShape.html) property is used to specify the shape and border radius of request message contents.
789
789
790
790
{% tabs %}
791
791
{% highlight Dart %}
@@ -797,7 +797,7 @@ The [`requestBubbleContentShape`](https://pub.dev/documentation/syncfusion_flutt
@@ -812,9 +812,9 @@ The [`requestBubbleContentShape`](https://pub.dev/documentation/syncfusion_flutt
812
812
{% endhighlight %}
813
813
{% endtabs %}
814
814
815
-
## Response bubble content shape
815
+
## Response message shape
816
816
817
-
The [`responseBubbleContentShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseBubbleContentShape.html) property is used to specify the shape and border radius of response message bubbles.
817
+
The [`responseMessageShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseBubbleContentShape.html) property is used to specify the shape and border radius of response message contents.
818
818
819
819
{% tabs %}
820
820
{% highlight Dart %}
@@ -826,7 +826,7 @@ The [`responseBubbleContentShape`](https://pub.dev/documentation/syncfusion_flut
@@ -843,7 +843,7 @@ The [`responseBubbleContentShape`](https://pub.dev/documentation/syncfusion_flut
843
843
844
844
## Suggestion background color
845
845
846
-
The [`suggestionBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/suggestionBackgroundColor.html) property is used to specify the background color of response message suggestion bubble.
846
+
The [`suggestionBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/suggestionBackgroundColor.html) property is used to specify the background color of response message suggestion contents.
847
847
848
848
{% tabs %}
849
849
{% highlight Dart %}
@@ -870,7 +870,7 @@ The [`suggestionBackgroundColor`](https://pub.dev/documentation/syncfusion_flutt
870
870
871
871
## Suggestion background shape
872
872
873
-
The [`suggestionBackgroundShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/suggestionBackgroundShape.html) property is used to specify the background shape of response message suggestion bubble.
873
+
The [`suggestionBackgroundShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/suggestionBackgroundShape.html) property is used to specify the background shape of response message suggestion contents.
874
874
875
875
{% tabs %}
876
876
{% highlight Dart %}
@@ -989,7 +989,7 @@ The [`suggestionItemShape`](https://pub.dev/documentation/syncfusion_flutter_cor
989
989
990
990
## Response toolbar background color
991
991
992
-
The [`responseToolbarBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseToolbarBackgroundColor.html) property is used to specify the background color of response message toolbar bubble.
992
+
The [`responseToolbarBackgroundColor`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseToolbarBackgroundColor.html) property is used to specify the background color of response message toolbar contents.
993
993
994
994
{% tabs %}
995
995
{% highlight Dart %}
@@ -1016,7 +1016,7 @@ The [`responseToolbarBackgroundColor`](https://pub.dev/documentation/syncfusion_
1016
1016
1017
1017
## Response toolbar background shape
1018
1018
1019
-
The [`responseToolbarBackgroundShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseToolbarBackgroundShape.html) property is used to specify the background shape of response message toolbar bubble.
1019
+
The [`responseToolbarBackgroundShape`](https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfAIAssistViewThemeData/responseToolbarBackgroundShape.html) property is used to specify the background shape of response message toolbar contents.
1020
1020
1021
1021
{% tabs %}
1022
1022
{% highlight Dart %}
@@ -1134,4 +1134,4 @@ The [`responseToolbarItemShape`](https://pub.dev/documentation/syncfusion_flutte
1134
1134
{% endhighlight %}
1135
1135
{% endtabs %}
1136
1136
1137
-
>You can refer to our [Flutter AI AssistView](https://www.syncfusion.com/flutter-widgets/flutter-aiassistview) feature tour page for its groundbreaking feature representations. You can also explore our [Flutter AI AssistView example](https://flutter.syncfusion.com/#/ai-assist-view/getting-started) which demonstrates interaction between users and AI services in a fully customizable layout and shows how to easily configure the AI AssistView with built-in support for creating stunning visual effects.
1137
+
>You can refer to our [Flutter AI AssistView](https://www.syncfusion.com/flutter-widgets/flutter-aiassistview) feature tour page for its groundbreaking feature representations. You can also explore our [Flutter AI AssistView example](https://flutter.syncfusion.com/#/ai-assist-view/getting-started) which demonstrates interaction between users and AI services in a fully customizable layout and shows how to easily configure the AI AssistView with built-in support for creating stunning visual effects.
The [`padding`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist_view/AssistComposer/padding.html) property defines the space around the text field, which is used to create space between the conversion area and the text field.
225
+
The [`margin`](https://pub.dev/documentation/syncfusion_flutter_chat/latest/assist_view/AssistComposer/padding.html) property defines the space around the text field, which is used to create space between the conversion area and the text field.
226
226
227
-
By default, the top padding is set to 16.
227
+
By default, the top margin is set to 16.
228
228
229
229
{% tabs %}
230
230
{% highlight dart %}
@@ -237,7 +237,7 @@ By default, the top padding is set to 16.
237
237
body: SfAIAssistView(
238
238
messages: _messages,
239
239
composer: const AssistComposer(
240
-
padding: EdgeInsets.fromLTRB(10, 30, 10, 20),
240
+
margin: EdgeInsets.fromLTRB(10, 30, 10, 20),
241
241
),
242
242
),
243
243
);
@@ -246,7 +246,7 @@ By default, the top padding is set to 16.
0 commit comments