Skip to content

Commit d45b0ee

Browse files
author
LavanyaA
authored
Merge pull request #882 from Mugunthan-Ramalingam/FLUT-927696-SB-release-source
Moved Volume 4 2024 release source to master branch
2 parents a2a8b3d + 7bdb863 commit d45b0ee

File tree

239 files changed

+25259
-24873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+25259
-24873
lines changed

lib/model/model.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ class SampleModel extends Listenable {
248248
/// Contains the category, control, theme information.
249249
SampleModel() {
250250
isInitialRender = true;
251-
251+
isFirstTime = true;
252+
// ignore: unnecessary_statements
253+
assistApiKey;
252254
searchControlItems = <Control>[];
253255
sampleList = <SubItem>[];
254256
searchResults = <SubItem>[];
@@ -510,6 +512,10 @@ class SampleModel extends Listenable {
510512

511513
final Set<VoidCallback> _listeners = <VoidCallback>{};
512514

515+
late bool isFirstTime;
516+
517+
String assistApiKey = '';
518+
513519
/// Switching between light, dark, system themes.
514520
void changeTheme(ThemeData currentThemeData, bool isMaterial3) {
515521
themeData = currentThemeData;

lib/sample_details.json

Lines changed: 177 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,165 @@
11
[
22
{
3-
"categoryName": "Data Visualization",
3+
"categoryName": "SMART AI SOLUTIONS",
4+
"mobileCategoryId": 1,
45
"webCategoryId": 1,
5-
"mobileCategoryId": 2,
6+
"controlList": [
7+
{
8+
"status": "New",
9+
"title": "Smart AI Widgets",
10+
"description": "Highlights smart widgets to enhance the functionality and user experience.",
11+
"image": "images/smart_ai_components.png",
12+
"displayType": "tab",
13+
"controlId": 1,
14+
"subItems": [
15+
{
16+
"status": "New",
17+
"type": "child",
18+
"title": "Charts",
19+
"subItems": [
20+
{
21+
"status": "New",
22+
"type": "sample",
23+
"title": "Stock Forecasting",
24+
"key": "stock_forecasting_sample",
25+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_samples/ai_charts/stock_forecasting.dart",
26+
"description": "An AI-driven chart that predicts the future stock trends based on historical data. If the key is not specified, the chart will generate random data."
27+
},
28+
{
29+
"status": "New",
30+
"type": "sample",
31+
"title": "Data Preprocessing",
32+
"key": "data_pre_processing_sample",
33+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_samples/ai_charts/data_pre_processing.dart",
34+
"description": "AI-powered data cleaning and preprocessing work with the smart chart widget."
35+
}
36+
]
37+
},
38+
{
39+
"status": "New",
40+
"type": "child",
41+
"title": "DataGrid",
42+
"subItems": [
43+
{
44+
"status": "New",
45+
"type": "sample",
46+
"title": "Anamoly Detection",
47+
"key": "anamoly_detection",
48+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_samples/ai_datagrid/anamoly_detection.dart"
49+
},
50+
{
51+
"status": "New",
52+
"type": "sample",
53+
"title": "Predictive Data Entry",
54+
"key": "predictive_data_entry",
55+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_samples/ai_datagrid/predictive_data_entry.dart"
56+
}
57+
]
58+
},
59+
{
60+
"status": "New",
61+
"type": "child",
62+
"title": "Calendar",
63+
"subItems": [
64+
{
65+
"status": "New",
66+
"type": "sample",
67+
"title": "Calendar",
68+
"key": "calendar_sample",
69+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_samples/ai_calender/calendar_appointment.dart",
70+
"description": "This smart appointment generator lets users check the doctor availability and book appointments."
71+
}
72+
]
73+
},
74+
{
75+
"status": "New",
76+
"type": "child",
77+
"title": "PDF Viewer",
78+
"platformsToHide": [
79+
"linux"
80+
],
81+
"subItems": [
82+
{
83+
"status": "New",
84+
"type": "sample",
85+
"title": "PDF Viewer",
86+
"key": "pdf_viewer_smart_fill",
87+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_samples/ai_pdf_viewer/ai_form_filling.dart",
88+
"description": "This sample illustrates how the Syncfusion Flutter PDF Viewer, with the help of AI, can automatically fill form fields using the content copied by the user."
89+
}
90+
]
91+
}
92+
]
93+
},
94+
{
95+
"status": "New",
96+
"isBeta": true,
97+
"title": "AI Assist View",
98+
"description": "AIAssistView is a versatile widget design to enhance interaction between users and AI services.",
99+
"image": "images/ai_assist_view.png",
100+
"displayType": "tab",
101+
"controlId": 1,
102+
"subItems": [
103+
{
104+
"status": "New",
105+
"type": "sample",
106+
"title": "Getting Started",
107+
"key": "assist_view_getting_started",
108+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_assistview/getting_started.dart",
109+
"needsPropertyPanel": true,
110+
"platformsToHide": [
111+
"android",
112+
"ios"
113+
]
114+
},
115+
{
116+
"status": "New",
117+
"type": "sample",
118+
"title": "Customization",
119+
"key": "assist_view_customization",
120+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_assistview/customization.dart",
121+
"needsPropertyPanel": true,
122+
"platformsToHide": [
123+
"android",
124+
"ios"
125+
]
126+
},
127+
{
128+
"status": "New",
129+
"type": "sample",
130+
"title": "Getting Started",
131+
"key": "ai_assist_view_getting_started",
132+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_assistview/getting_started.dart",
133+
"needsPropertyPanel": false,
134+
"platformsToHide": [
135+
"web",
136+
"windows",
137+
"macos",
138+
"linux"
139+
]
140+
},
141+
{
142+
"status": "New",
143+
"type": "sample",
144+
"title": "Customization",
145+
"key": "ai_assist_view_customization",
146+
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/ai_assistview/customization.dart",
147+
"needsPropertyPanel": false,
148+
"platformsToHide": [
149+
"web",
150+
"windows",
151+
"macos",
152+
"linux"
153+
]
154+
}
155+
]
156+
}
157+
]
158+
},
159+
{
160+
"categoryName": "Data Visualization",
161+
"webCategoryId": 2,
162+
"mobileCategoryId": 3,
6163
"controlList": [
7164
{
8165
"title": "Barcodes",
@@ -614,7 +771,6 @@
614771
]
615772
},
616773
{
617-
"status": "Updated",
618774
"type": "child",
619775
"title": "Financial Charts",
620776
"displayType": "card",
@@ -632,7 +788,6 @@
632788
"needsPropertyPanel": true
633789
},
634790
{
635-
"status": "Updated",
636791
"title": "Candle chart",
637792
"key": "candle_chart",
638793
"codeLink": "https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/chart/cartesian_charts/chart_types/financial_charts/candle_chart.dart",
@@ -986,14 +1141,12 @@
9861141
"needsPropertyPanel": true
9871142
},
9881143
{
989-
"status": "New",
9901144
"title": "Plot Offset",
9911145
"key": "plot_offset",
9921146
"codeLink": "https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/cartesian_charts/axis_features/plot_offset.dart",
9931147
"needsPropertyPanel": true
9941148
},
9951149
{
996-
"status": "New",
9971150
"title": "Range Padding",
9981151
"key": "range_padding",
9991152
"codeLink": "https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/cartesian_charts/axis_features/range_padding.dart",
@@ -1199,6 +1352,7 @@
11991352
]
12001353
},
12011354
{
1355+
"status": "Updated",
12021356
"type": "parent",
12031357
"title": "User Interactions",
12041358
"subItems": [
@@ -1285,8 +1439,9 @@
12851439
"needsPropertyPanel": true
12861440
},
12871441
{
1442+
"status": "Updated",
12881443
"title": "Customized trackball",
1289-
"key": "chart_with_trackball_template",
1444+
"key": "chart_with_trackball_builder",
12901445
"description": "This example displays a custom widget as the trackball. To see the customized trackball, tap the chart area in mobile and hover the chart area on the web.",
12911446
"codeLink": "https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/cartesian_charts/user_interactions/trackball/customized_trackball.dart",
12921447
"needsPropertyPanel": true
@@ -2642,8 +2797,8 @@
26422797
},
26432798
{
26442799
"categoryName": "Grids",
2645-
"mobileCategoryId": 1,
2646-
"webCategoryId": 2,
2800+
"mobileCategoryId": 2,
2801+
"webCategoryId": 3,
26472802
"controlList": [
26482803
{
26492804
"title": "DataGrid",
@@ -3007,8 +3162,8 @@
30073162
},
30083163
{
30093164
"categoryName": "Calendar",
3010-
"mobileCategoryId": 3,
3011-
"webCategoryId": 3,
3165+
"mobileCategoryId": 4,
3166+
"webCategoryId": 4,
30123167
"controlList": [
30133168
{
30143169
"title": "Event Calendar",
@@ -3188,8 +3343,8 @@
31883343
},
31893344
{
31903345
"categoryName": "Viewer",
3191-
"mobileCategoryId": 4,
3192-
"webCategoryId": 4,
3346+
"mobileCategoryId": 5,
3347+
"webCategoryId": 5,
31933348
"platformsToHide": [
31943349
"linux"
31953350
],
@@ -3198,7 +3353,6 @@
31983353
"title": "PDF Viewer",
31993354
"description": "View the PDF document seamlessly and efficiently",
32003355
"image": "images/pdf_viewer.png",
3201-
"status": "Updated",
32023356
"displayType": "tab",
32033357
"controlId": 1,
32043358
"subItems": [
@@ -3212,14 +3366,12 @@
32123366
"type": "sample",
32133367
"title": "Custom Toolbar",
32143368
"key": "pdf_viewer_custom_toolbar",
3215-
"status": "Updated",
32163369
"codeLink": "https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/pdf_viewer/pdf_viewer_custom_toolbar.dart"
32173370
},
32183371
{
32193372
"type": "sample",
32203373
"title": "Annotations",
32213374
"key": "pdf_viewer_annotations",
3222-
"status": "Updated",
32233375
"codeLink": "https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/pdf_viewer/pdf_viewer_annotations.dart"
32243376
},
32253377
{
@@ -3254,8 +3406,8 @@
32543406
},
32553407
{
32563408
"categoryName": "File Formats",
3257-
"mobileCategoryId": 5,
3258-
"webCategoryId": 5,
3409+
"mobileCategoryId": 6,
3410+
"webCategoryId": 6,
32593411
"controlList": [
32603412
{
32613413
"title": "PDF",
@@ -3405,8 +3557,8 @@
34053557
},
34063558
{
34073559
"categoryName": "Signature Pad",
3408-
"mobileCategoryId": 6,
3409-
"webCategoryId": 6,
3560+
"mobileCategoryId": 7,
3561+
"webCategoryId": 7,
34103562
"controlList": [
34113563
{
34123564
"title": "Signature Pad",
@@ -3428,27 +3580,25 @@
34283580
},
34293581
{
34303582
"categoryName": "Chat",
3431-
"mobileCategoryId": 7,
3432-
"webCategoryId": 7,
3583+
"mobileCategoryId": 8,
3584+
"webCategoryId": 8,
34333585
"controlList": [
34343586
{
3587+
"isBeta": true,
34353588
"title": "Chat",
34363589
"description": "Displays a conversation between two or more users in a layout that is highly customizable.",
34373590
"image": "images/chat_icon.png",
3438-
"status": "New",
34393591
"displayType": "tab",
34403592
"controlId": 1,
34413593
"subItems": [
34423594
{
3443-
"status": "New",
34443595
"type": "sample",
34453596
"title": "Getting Started",
34463597
"key": "getting_started",
34473598
"codeLink": "https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chat/getting_started.dart",
34483599
"needsPropertyPanel": false
34493600
},
34503601
{
3451-
"status": "New",
34523602
"type": "sample",
34533603
"title": "Customization",
34543604
"key": "customization",
@@ -3461,8 +3611,8 @@
34613611
},
34623612
{
34633613
"categoryName": "Sliders",
3464-
"mobileCategoryId": 8,
3465-
"webCategoryId": 8,
3614+
"mobileCategoryId": 9,
3615+
"webCategoryId": 9,
34663616
"controlList": [
34673617
{
34683618
"title": "Slider",

0 commit comments

Comments
 (0)