Skip to content

Commit

Permalink
Moved volume 3 release source to master
Browse files Browse the repository at this point in the history
  • Loading branch information
LokeshPalani committed Sep 15, 2023
1 parent 7465a23 commit 2c59f54
Show file tree
Hide file tree
Showing 66 changed files with 1,095 additions and 943 deletions.
68 changes: 34 additions & 34 deletions lib/model/helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ Widget getLeftSideDrawer(SampleModel model) {
onTap: () {
Feedback.forLongPress(context);
launchUrl(Uri.parse(
'https://play.google.com/store/apps/details?id=com.syncfusion.samplebrowser&hl=en'));
'https://play.google.com/store/apps/details?id=com.syncfusion.sampleBrowser.maui&pcampaignid=web_share'));
},
child: Column(
children: <Widget>[
Expand All @@ -614,24 +614,24 @@ Widget getLeftSideDrawer(SampleModel model) {
const EdgeInsets.fromLTRB(
15, 0, 0, 0),
child: Image.asset(
'images/img_xamarin.png',
'images/img_maui.png',
fit: BoxFit.contain,
height: 28,
width: 28)),
Container(
padding:
const EdgeInsets.fromLTRB(
10, 0, 0, 0),
child: Text('Xamarin Demo',
style: TextStyle(
color: model
.drawerTextIconColor,
fontSize: 16,
letterSpacing: 0.4,
fontFamily:
'Roboto-Regular',
fontWeight:
FontWeight.normal))),
padding: const EdgeInsets.fromLTRB(
10, 0, 0, 0),
child: Text('MAUI Demo',
style: TextStyle(
color: model
.drawerTextIconColor,
fontSize: 16,
letterSpacing: 0.4,
fontFamily:
'Roboto-Regular',
fontWeight:
FontWeight.normal)),
),
const Spacer(),
Icon(Icons.arrow_forward,
color: model.backgroundColor),
Expand All @@ -648,7 +648,7 @@ Widget getLeftSideDrawer(SampleModel model) {
onTap: () {
Feedback.forLongPress(context);
launchUrl(Uri.parse(
'https://play.google.com/store/apps/details?id=com.syncfusion.xamarin.uikit&hl=en'));
'https://play.google.com/store/apps/details?id=com.syncfusion.samplebrowser&hl=en'));
},
child: Column(
children: <Widget>[
Expand All @@ -661,24 +661,24 @@ Widget getLeftSideDrawer(SampleModel model) {
const EdgeInsets.fromLTRB(
15, 0, 0, 0),
child: Image.asset(
'images/img_xamarin_ui.png',
'images/img_xamarin.png',
fit: BoxFit.contain,
height: 28,
width: 28)),
Container(
padding: const EdgeInsets.fromLTRB(
10, 0, 0, 0),
child: Text('Xamarin UI kit Demo',
style: TextStyle(
color: model
.drawerTextIconColor,
fontSize: 16,
letterSpacing: 0.4,
fontFamily:
'Roboto-Regular',
fontWeight:
FontWeight.normal)),
),
padding:
const EdgeInsets.fromLTRB(
10, 0, 0, 0),
child: Text('Xamarin Demo',
style: TextStyle(
color: model
.drawerTextIconColor,
fontSize: 16,
letterSpacing: 0.4,
fontFamily:
'Roboto-Regular',
fontWeight:
FontWeight.normal))),
const Spacer(),
Icon(Icons.arrow_forward,
color: model.backgroundColor),
Expand All @@ -695,7 +695,7 @@ Widget getLeftSideDrawer(SampleModel model) {
onTap: () {
Feedback.forLongPress(context);
launchUrl(Uri.parse(
'https://play.google.com/store/apps/details?id=com.Syncfusion.ej2&hl=en'));
'https://play.google.com/store/apps/details?id=com.syncfusion.xamarin.uikit&hl=en'));
},
child: Column(
children: <Widget>[
Expand All @@ -708,14 +708,14 @@ Widget getLeftSideDrawer(SampleModel model) {
const EdgeInsets.fromLTRB(
15, 0, 0, 0),
child: Image.asset(
'images/img_JS.png',
'images/img_xamarin_ui.png',
fit: BoxFit.contain,
height: 28,
width: 28)),
Container(
padding: const EdgeInsets.fromLTRB(
10, 0, 0, 0),
child: Text('JavaScript Demo',
child: Text('Xamarin UI kit Demo',
style: TextStyle(
color: model
.drawerTextIconColor,
Expand Down Expand Up @@ -841,7 +841,7 @@ Widget getFooter(BuildContext context, SampleModel model) {
),
Container(
padding: const EdgeInsets.only(top: 10),
child: Text('Copyright © 2001 - 2022 Syncfusion Inc.',
child: Text('Copyright © 2001 - 2023 Syncfusion Inc.',
style: TextStyle(
color: model.textColor.withOpacity(0.7),
fontSize: 12,
Expand Down
5 changes: 3 additions & 2 deletions lib/model/mobile_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,9 @@ class _LayoutPageState extends State<LayoutPage> {
: const Color.fromRGBO(
246, 117, 0, 1))
: Colors.transparent,
borderRadius: const BorderRadius.all(
Radius.circular(10.0))),
borderRadius:
const BorderRadius.all(
Radius.circular(10.0))),
padding: const EdgeInsets.fromLTRB(
5, 2.7, 5, 2.7),
child: Text(
Expand Down
2 changes: 1 addition & 1 deletion lib/model/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class SampleModel extends Listenable {
late List<SubItem> searchResults;

/// To handle the search bar
SearchBar? searchBar;
CustomSearchBar? searchBar;

/// holds theme based current palette color
Color backgroundColor = const Color.fromRGBO(0, 116, 227, 1);
Expand Down
17 changes: 6 additions & 11 deletions lib/model/web_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class _WebLayoutPageState extends State<WebLayoutPage> {
padding: const EdgeInsets.only(right: 20),
width: MediaQuery.of(context).size.width * 0.215,
height: MediaQuery.of(context).size.height * 0.0445,
child: SearchBar(
child: CustomSearchBar(
sampleListModel: model,
))),

Expand Down Expand Up @@ -1142,17 +1142,15 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
BoxDecoration(
gradient:
LinearGradient(
colors: <
Color>[
colors: <Color>[
model
.webInputColor
.withOpacity(0.21),
model
.webInputColor
.withOpacity(1.0)
],
stops: const <
double>[
stops: const <double>[
0.0,
0.7
],
Expand Down Expand Up @@ -1224,8 +1222,7 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
BoxDecoration(
gradient:
LinearGradient(
colors: <
Color>[
colors: <Color>[
model
.webInputColor
.withOpacity(1.0),
Expand All @@ -1236,8 +1233,7 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
.webInputColor
.withOpacity(0.21),
],
stops: const <
double>[
stops: const <double>[
0.0,
0.5,
0.9
Expand Down Expand Up @@ -1636,8 +1632,7 @@ class SampleOutputContainerState extends State<_SampleOutputContainer> {
.openEndDrawer();
}
},
children: <
Widget>[
children: <Widget>[
Tooltip(
message: MediaQuery.of(context).size.width <=
720 ||
Expand Down
8 changes: 4 additions & 4 deletions lib/sample_browser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class _SampleBrowserState extends State<SampleBrowser> {
void initState() {
_sampleListModel = SampleModel.instance;
_initializeProperties();
_sampleListModel.searchBar = SearchBar(
_sampleListModel.searchBar = CustomSearchBar(
key: GlobalKey<SearchBarState>(), sampleListModel: _sampleListModel);
super.initState();
}
Expand Down Expand Up @@ -330,7 +330,7 @@ class _HomePageState extends State<HomePage> {
? 5
: 4),
height: MediaQuery.of(context).size.height * 0.0445,
child: SearchBar(
child: CustomSearchBar(
sampleListModel: model,
),
)),
Expand Down Expand Up @@ -478,10 +478,10 @@ class _HomePageState extends State<HomePage> {
controller: controller,
physics: const ClampingScrollPhysics(),
slivers: <Widget>[
SliverToBoxAdapter(
const SliverToBoxAdapter(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: const <Widget>[
children: <Widget>[
Padding(
padding: EdgeInsets.fromLTRB(20, 0, 0, 0),
child: Text('Flutter UI Widgets',
Expand Down
Loading

0 comments on commit 2c59f54

Please sign in to comment.