Skip to content

Commit 2c59f54

Browse files
author
LokeshPalani
committed
Moved volume 3 release source to master
1 parent 7465a23 commit 2c59f54

File tree

66 files changed

+1095
-943
lines changed

Some content is hidden

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

66 files changed

+1095
-943
lines changed

lib/model/helper.dart

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ Widget getLeftSideDrawer(SampleModel model) {
601601
onTap: () {
602602
Feedback.forLongPress(context);
603603
launchUrl(Uri.parse(
604-
'https://play.google.com/store/apps/details?id=com.syncfusion.samplebrowser&hl=en'));
604+
'https://play.google.com/store/apps/details?id=com.syncfusion.sampleBrowser.maui&pcampaignid=web_share'));
605605
},
606606
child: Column(
607607
children: <Widget>[
@@ -614,24 +614,24 @@ Widget getLeftSideDrawer(SampleModel model) {
614614
const EdgeInsets.fromLTRB(
615615
15, 0, 0, 0),
616616
child: Image.asset(
617-
'images/img_xamarin.png',
617+
'images/img_maui.png',
618618
fit: BoxFit.contain,
619619
height: 28,
620620
width: 28)),
621621
Container(
622-
padding:
623-
const EdgeInsets.fromLTRB(
624-
10, 0, 0, 0),
625-
child: Text('Xamarin Demo',
626-
style: TextStyle(
627-
color: model
628-
.drawerTextIconColor,
629-
fontSize: 16,
630-
letterSpacing: 0.4,
631-
fontFamily:
632-
'Roboto-Regular',
633-
fontWeight:
634-
FontWeight.normal))),
622+
padding: const EdgeInsets.fromLTRB(
623+
10, 0, 0, 0),
624+
child: Text('MAUI Demo',
625+
style: TextStyle(
626+
color: model
627+
.drawerTextIconColor,
628+
fontSize: 16,
629+
letterSpacing: 0.4,
630+
fontFamily:
631+
'Roboto-Regular',
632+
fontWeight:
633+
FontWeight.normal)),
634+
),
635635
const Spacer(),
636636
Icon(Icons.arrow_forward,
637637
color: model.backgroundColor),
@@ -648,7 +648,7 @@ Widget getLeftSideDrawer(SampleModel model) {
648648
onTap: () {
649649
Feedback.forLongPress(context);
650650
launchUrl(Uri.parse(
651-
'https://play.google.com/store/apps/details?id=com.syncfusion.xamarin.uikit&hl=en'));
651+
'https://play.google.com/store/apps/details?id=com.syncfusion.samplebrowser&hl=en'));
652652
},
653653
child: Column(
654654
children: <Widget>[
@@ -661,24 +661,24 @@ Widget getLeftSideDrawer(SampleModel model) {
661661
const EdgeInsets.fromLTRB(
662662
15, 0, 0, 0),
663663
child: Image.asset(
664-
'images/img_xamarin_ui.png',
664+
'images/img_xamarin.png',
665665
fit: BoxFit.contain,
666666
height: 28,
667667
width: 28)),
668668
Container(
669-
padding: const EdgeInsets.fromLTRB(
670-
10, 0, 0, 0),
671-
child: Text('Xamarin UI kit Demo',
672-
style: TextStyle(
673-
color: model
674-
.drawerTextIconColor,
675-
fontSize: 16,
676-
letterSpacing: 0.4,
677-
fontFamily:
678-
'Roboto-Regular',
679-
fontWeight:
680-
FontWeight.normal)),
681-
),
669+
padding:
670+
const EdgeInsets.fromLTRB(
671+
10, 0, 0, 0),
672+
child: Text('Xamarin Demo',
673+
style: TextStyle(
674+
color: model
675+
.drawerTextIconColor,
676+
fontSize: 16,
677+
letterSpacing: 0.4,
678+
fontFamily:
679+
'Roboto-Regular',
680+
fontWeight:
681+
FontWeight.normal))),
682682
const Spacer(),
683683
Icon(Icons.arrow_forward,
684684
color: model.backgroundColor),
@@ -695,7 +695,7 @@ Widget getLeftSideDrawer(SampleModel model) {
695695
onTap: () {
696696
Feedback.forLongPress(context);
697697
launchUrl(Uri.parse(
698-
'https://play.google.com/store/apps/details?id=com.Syncfusion.ej2&hl=en'));
698+
'https://play.google.com/store/apps/details?id=com.syncfusion.xamarin.uikit&hl=en'));
699699
},
700700
child: Column(
701701
children: <Widget>[
@@ -708,14 +708,14 @@ Widget getLeftSideDrawer(SampleModel model) {
708708
const EdgeInsets.fromLTRB(
709709
15, 0, 0, 0),
710710
child: Image.asset(
711-
'images/img_JS.png',
711+
'images/img_xamarin_ui.png',
712712
fit: BoxFit.contain,
713713
height: 28,
714714
width: 28)),
715715
Container(
716716
padding: const EdgeInsets.fromLTRB(
717717
10, 0, 0, 0),
718-
child: Text('JavaScript Demo',
718+
child: Text('Xamarin UI kit Demo',
719719
style: TextStyle(
720720
color: model
721721
.drawerTextIconColor,
@@ -841,7 +841,7 @@ Widget getFooter(BuildContext context, SampleModel model) {
841841
),
842842
Container(
843843
padding: const EdgeInsets.only(top: 10),
844-
child: Text('Copyright © 2001 - 2022 Syncfusion Inc.',
844+
child: Text('Copyright © 2001 - 2023 Syncfusion Inc.',
845845
style: TextStyle(
846846
color: model.textColor.withOpacity(0.7),
847847
fontSize: 12,

lib/model/mobile_view.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,9 @@ class _LayoutPageState extends State<LayoutPage> {
537537
: const Color.fromRGBO(
538538
246, 117, 0, 1))
539539
: Colors.transparent,
540-
borderRadius: const BorderRadius.all(
541-
Radius.circular(10.0))),
540+
borderRadius:
541+
const BorderRadius.all(
542+
Radius.circular(10.0))),
542543
padding: const EdgeInsets.fromLTRB(
543544
5, 2.7, 5, 2.7),
544545
child: Text(

lib/model/model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class SampleModel extends Listenable {
319319
late List<SubItem> searchResults;
320320

321321
/// To handle the search bar
322-
SearchBar? searchBar;
322+
CustomSearchBar? searchBar;
323323

324324
/// holds theme based current palette color
325325
Color backgroundColor = const Color.fromRGBO(0, 116, 227, 1);

lib/model/web_view.dart

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class _WebLayoutPageState extends State<WebLayoutPage> {
204204
padding: const EdgeInsets.only(right: 20),
205205
width: MediaQuery.of(context).size.width * 0.215,
206206
height: MediaQuery.of(context).size.height * 0.0445,
207-
child: SearchBar(
207+
child: CustomSearchBar(
208208
sampleListModel: model,
209209
))),
210210

@@ -1142,17 +1142,15 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
11421142
BoxDecoration(
11431143
gradient:
11441144
LinearGradient(
1145-
colors: <
1146-
Color>[
1145+
colors: <Color>[
11471146
model
11481147
.webInputColor
11491148
.withOpacity(0.21),
11501149
model
11511150
.webInputColor
11521151
.withOpacity(1.0)
11531152
],
1154-
stops: const <
1155-
double>[
1153+
stops: const <double>[
11561154
0.0,
11571155
0.7
11581156
],
@@ -1224,8 +1222,7 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
12241222
BoxDecoration(
12251223
gradient:
12261224
LinearGradient(
1227-
colors: <
1228-
Color>[
1225+
colors: <Color>[
12291226
model
12301227
.webInputColor
12311228
.withOpacity(1.0),
@@ -1236,8 +1233,7 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
12361233
.webInputColor
12371234
.withOpacity(0.21),
12381235
],
1239-
stops: const <
1240-
double>[
1236+
stops: const <double>[
12411237
0.0,
12421238
0.5,
12431239
0.9
@@ -1636,8 +1632,7 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
16361632
.openEndDrawer();
16371633
}
16381634
},
1639-
children: <
1640-
Widget>[
1635+
children: <Widget>[
16411636
Tooltip(
16421637
message: MediaQuery.of(context).size.width <=
16431638
720 ||

lib/sample_browser.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class _SampleBrowserState extends State<SampleBrowser> {
3333
void initState() {
3434
_sampleListModel = SampleModel.instance;
3535
_initializeProperties();
36-
_sampleListModel.searchBar = SearchBar(
36+
_sampleListModel.searchBar = CustomSearchBar(
3737
key: GlobalKey<SearchBarState>(), sampleListModel: _sampleListModel);
3838
super.initState();
3939
}
@@ -330,7 +330,7 @@ class _HomePageState extends State<HomePage> {
330330
? 5
331331
: 4),
332332
height: MediaQuery.of(context).size.height * 0.0445,
333-
child: SearchBar(
333+
child: CustomSearchBar(
334334
sampleListModel: model,
335335
),
336336
)),
@@ -478,10 +478,10 @@ class _HomePageState extends State<HomePage> {
478478
controller: controller,
479479
physics: const ClampingScrollPhysics(),
480480
slivers: <Widget>[
481-
SliverToBoxAdapter(
481+
const SliverToBoxAdapter(
482482
child: Column(
483483
crossAxisAlignment: CrossAxisAlignment.start,
484-
children: const <Widget>[
484+
children: <Widget>[
485485
Padding(
486486
padding: EdgeInsets.fromLTRB(20, 0, 0, 0),
487487
child: Text('Flutter UI Widgets',

0 commit comments

Comments
 (0)