Skip to content

Commit 2db021c

Browse files
Updated latest SB source
1 parent 5ebe201 commit 2db021c

File tree

174 files changed

+19071
-2406
lines changed

Some content is hidden

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

174 files changed

+19071
-2406
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ Take a look at the following to learn more about Syncfusion Flutter widgets:
113113

114114
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 20,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
115115

116-
Today we provide 1,000+ controls and frameworks for web ([ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls), [ASP.NET WebForms](https://www.syncfusion.com/jquery/aspnet-web-forms-ui-controls), [JavaScript](https://www.syncfusion.com/javascript-ui-controls), [Angular](https://www.syncfusion.com/angular-ui-components), [React](https://www.syncfusion.com/react-ui-components), [Vue](https://www.syncfusion.com/vue-ui-components), and [Blazor](https://www.syncfusion.com/blazor-components), mobile ([Xamarin](https://www.syncfusion.com/xamarin-ui-controls), [Flutter](https://www.syncfusion.com/flutter-widgets), [UWP](https://www.syncfusion.com/uwp-ui-controls), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls), [WPF](https://www.syncfusion.com/wpf-ui-controls), and [UWP](https://www.syncfusion.com/uwp-ui-controls)). We provide ready-to deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
116+
Today we provide 1,000+ controls and frameworks for web ([ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls), [ASP.NET WebForms](https://www.syncfusion.com/jquery/aspnet-web-forms-ui-controls), [JavaScript](https://www.syncfusion.com/javascript-ui-controls), [Angular](https://www.syncfusion.com/angular-ui-components), [React](https://www.syncfusion.com/react-ui-components), [Vue](https://www.syncfusion.com/vue-ui-components), and [Blazor](https://www.syncfusion.com/blazor-components), mobile ([Xamarin](https://www.syncfusion.com/xamarin-ui-controls), [Flutter](https://www.syncfusion.com/flutter-widgets), [UWP](https://www.syncfusion.com/uwp-ui-controls), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls), [WPF](https://www.syncfusion.com/wpf-ui-controls), and [UWP](https://www.syncfusion.com/uwp-ui-controls) and [WinUI](https://www.syncfusion.com/winui-controls)). We provide ready-to deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

Diff for: assets/pdf/rotated_document.pdf

99.2 KB
Binary file not shown.

Diff for: build/flutter_assets/lib/sample_details.json

+3,613
Large diffs are not rendered by default.

Diff for: images/ExcelExport.png

1.27 KB
Loading

Diff for: images/PdfExport.png

1.68 KB
Loading

Diff for: images/pdf_viewer/continuous_page.png

382 Bytes
Loading

Diff for: images/pdf_viewer/horizontal_scrolling.png

466 Bytes
Loading

Diff for: images/pdf_viewer/page_by_page.png

393 Bytes
Loading

Diff for: images/pdf_viewer/vertical_scrolling.png

561 Bytes
Loading

Diff for: images/scroll-arrow-left.png

582 Bytes
Loading

Diff for: images/syncfusion_logo.jpg

35.3 KB
Loading

Diff for: lib/model/helper.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class _FullViewSampleLayout extends StatelessWidget {
176176
padding: EdgeInsets.fromLTRB(
177177
30, needPadding ? 50 : 0, 0, 0),
178178
child: Container(
179-
height: 50,
179+
height: 20,
180180
width: 230,
181181
child: InkWell(
182182
onTap: () =>
@@ -579,7 +579,7 @@ Widget getLeftSideDrawer(SampleModel _model) {
579579
)),
580580
Align(
581581
alignment: Alignment.bottomCenter,
582-
child: Text('Version 19.2.44',
582+
child: Text('Version 19.3.43',
583583
style: TextStyle(
584584
color: _model.drawerTextIconColor,
585585
fontSize: 12,

Diff for: lib/model/mobile_view.dart

+15-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ class _LayoutPageState extends State<LayoutPage> {
4444
int _secondaryTabIndex = 0;
4545
bool _showIcon = false;
4646

47+
/// Method to get the widget's color based on the widget state
48+
Color? getColor(Set<MaterialState> states) {
49+
const Set<MaterialState> interactiveStates = <MaterialState>{
50+
MaterialState.pressed,
51+
MaterialState.selected,
52+
};
53+
if (states.any(interactiveStates.contains)) {
54+
return widget.sampleModel!.backgroundColor;
55+
}
56+
return null;
57+
}
58+
4759
@override
4860
Widget build(BuildContext context) {
4961
if (isInitState) {
@@ -77,6 +89,8 @@ class _LayoutPageState extends State<LayoutPage> {
7789
: null;
7890
return Theme(
7991
data: ThemeData(
92+
checkboxTheme: CheckboxThemeData(
93+
fillColor: MaterialStateProperty.resolveWith(getColor)),
8094
brightness: _model.themeData.brightness,
8195
primaryColor: _model.backgroundColor),
8296
child: SafeArea(
@@ -357,7 +371,7 @@ class _LayoutPageState extends State<LayoutPage> {
357371
child: Container(
358372
padding: const EdgeInsets.fromLTRB(30, 0, 0, 0),
359373
child: Container(
360-
height: 50,
374+
height: 30,
361375
width: 230,
362376
child: InkWell(
363377
onTap: () => launch(_sampleDetail.sourceLink!),

Diff for: lib/model/model.dart

+29-12
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import 'dart:convert';
33
import 'dart:io' show Platform;
44

55
/// Package imports
6+
import 'package:desktop_window/desktop_window.dart';
67
import 'package:flutter/foundation.dart';
78
import 'package:flutter/material.dart';
89
import 'package:flutter/services.dart';
9-
import 'package:desktop_window/desktop_window.dart';
1010

1111
import '../model/web_view.dart';
1212

@@ -15,7 +15,7 @@ import '../sample_list.dart';
1515

1616
/// WidgetCategory of the each control as Data Visualization, Editors,etc.,
1717
class WidgetCategory {
18-
/// Contructor holds the name, id, control collection of the [WidgetCategory]
18+
/// Constructor holds the name, id, control collection of the [WidgetCategory]
1919
WidgetCategory(
2020
[this.categoryName,
2121
this.controlList,
@@ -453,6 +453,9 @@ class SampleModel extends Listenable {
453453
/// holds the collection of all sample routes.
454454
static List<SampleRoute> sampleRoutes = <SampleRoute>[];
455455

456+
/// Holds the value whether the property panel option is tapped
457+
late bool isPropertyPanelTapped;
458+
456459
/// Switching between light, dark, system themes
457460
void changeTheme(ThemeData _themeData) {
458461
themeData = _themeData;
@@ -643,16 +646,30 @@ Future<void> updateControlItems() async {
643646
.sampleIndex ??= k;
644647
_secondLevelSubItems[_secondLevelSubItems.length - 1]
645648
.control = controlList[i];
646-
final String breadCrumbText = ('/' +
647-
controlList[i].title! +
648-
'/' +
649-
_firstLevelSubItems[j].title! +
650-
'/' +
651-
_secondLevelSubItems[
652-
_secondLevelSubItems.length - 1]
653-
.title!)
654-
.replaceAll(' ', '-')
655-
.toLowerCase();
649+
String breadCrumbText;
650+
if (_firstLevelSubItems[j].subItems!.length == 1 &&
651+
_secondLevelSubItems.length == 1) {
652+
breadCrumbText = ('/' +
653+
controlList[i].title! +
654+
'/' +
655+
_secondLevelSubItems[
656+
_secondLevelSubItems.length - 1]
657+
.title!)
658+
.replaceAll(' ', '-')
659+
.toLowerCase();
660+
} else {
661+
breadCrumbText = ('/' +
662+
controlList[i].title! +
663+
'/' +
664+
_firstLevelSubItems[j].title! +
665+
'/' +
666+
_secondLevelSubItems[
667+
_secondLevelSubItems.length - 1]
668+
.title!)
669+
.replaceAll(' ', '-')
670+
.toLowerCase();
671+
}
672+
656673
_secondLevelSubItems[_secondLevelSubItems.length - 1]
657674
.breadCrumbText = breadCrumbText;
658675
_secondLevelSubItems[_secondLevelSubItems.length - 1]

0 commit comments

Comments
 (0)