Skip to content

Commit

Permalink
Updated latest SB source
Browse files Browse the repository at this point in the history
  • Loading branch information
Rokesh-Karthikeyan committed Sep 24, 2021
1 parent 5ebe201 commit ec0810a
Show file tree
Hide file tree
Showing 174 changed files with 19,071 additions and 2,406 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ Take a look at the following to learn more about Syncfusion Flutter widgets:

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.

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.
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.
Binary file added assets/pdf/rotated_document.pdf
Binary file not shown.
3,613 changes: 3,613 additions & 0 deletions build/flutter_assets/lib/sample_details.json

Large diffs are not rendered by default.

Binary file added images/ExcelExport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/PdfExport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pdf_viewer/continuous_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pdf_viewer/horizontal_scrolling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pdf_viewer/page_by_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pdf_viewer/vertical_scrolling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/scroll-arrow-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/syncfusion_logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions lib/model/helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class _FullViewSampleLayout extends StatelessWidget {
padding: EdgeInsets.fromLTRB(
30, needPadding ? 50 : 0, 0, 0),
child: Container(
height: 50,
height: 20,
width: 230,
child: InkWell(
onTap: () =>
Expand Down Expand Up @@ -579,7 +579,7 @@ Widget getLeftSideDrawer(SampleModel _model) {
)),
Align(
alignment: Alignment.bottomCenter,
child: Text('Version 19.2.44',
child: Text('Version 19.3.43',
style: TextStyle(
color: _model.drawerTextIconColor,
fontSize: 12,
Expand Down
16 changes: 15 additions & 1 deletion lib/model/mobile_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ class _LayoutPageState extends State<LayoutPage> {
int _secondaryTabIndex = 0;
bool _showIcon = false;

/// Method to get the widget's color based on the widget state
Color? getColor(Set<MaterialState> states) {
const Set<MaterialState> interactiveStates = <MaterialState>{
MaterialState.pressed,
MaterialState.selected,
};
if (states.any(interactiveStates.contains)) {
return widget.sampleModel!.backgroundColor;
}
return null;
}

@override
Widget build(BuildContext context) {
if (isInitState) {
Expand Down Expand Up @@ -77,6 +89,8 @@ class _LayoutPageState extends State<LayoutPage> {
: null;
return Theme(
data: ThemeData(
checkboxTheme: CheckboxThemeData(
fillColor: MaterialStateProperty.resolveWith(getColor)),
brightness: _model.themeData.brightness,
primaryColor: _model.backgroundColor),
child: SafeArea(
Expand Down Expand Up @@ -357,7 +371,7 @@ class _LayoutPageState extends State<LayoutPage> {
child: Container(
padding: const EdgeInsets.fromLTRB(30, 0, 0, 0),
child: Container(
height: 50,
height: 30,
width: 230,
child: InkWell(
onTap: () => launch(_sampleDetail.sourceLink!),
Expand Down
41 changes: 29 additions & 12 deletions lib/model/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import 'dart:convert';
import 'dart:io' show Platform;

/// Package imports
import 'package:desktop_window/desktop_window.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:desktop_window/desktop_window.dart';

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

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

/// WidgetCategory of the each control as Data Visualization, Editors,etc.,
class WidgetCategory {
/// Contructor holds the name, id, control collection of the [WidgetCategory]
/// Constructor holds the name, id, control collection of the [WidgetCategory]
WidgetCategory(
[this.categoryName,
this.controlList,
Expand Down Expand Up @@ -453,6 +453,9 @@ class SampleModel extends Listenable {
/// holds the collection of all sample routes.
static List<SampleRoute> sampleRoutes = <SampleRoute>[];

/// Holds the value whether the property panel option is tapped
late bool isPropertyPanelTapped;

/// Switching between light, dark, system themes
void changeTheme(ThemeData _themeData) {
themeData = _themeData;
Expand Down Expand Up @@ -643,16 +646,30 @@ Future<void> updateControlItems() async {
.sampleIndex ??= k;
_secondLevelSubItems[_secondLevelSubItems.length - 1]
.control = controlList[i];
final String breadCrumbText = ('/' +
controlList[i].title! +
'/' +
_firstLevelSubItems[j].title! +
'/' +
_secondLevelSubItems[
_secondLevelSubItems.length - 1]
.title!)
.replaceAll(' ', '-')
.toLowerCase();
String breadCrumbText;
if (_firstLevelSubItems[j].subItems!.length == 1 &&
_secondLevelSubItems.length == 1) {
breadCrumbText = ('/' +
controlList[i].title! +
'/' +
_secondLevelSubItems[
_secondLevelSubItems.length - 1]
.title!)
.replaceAll(' ', '-')
.toLowerCase();
} else {
breadCrumbText = ('/' +
controlList[i].title! +
'/' +
_firstLevelSubItems[j].title! +
'/' +
_secondLevelSubItems[
_secondLevelSubItems.length - 1]
.title!)
.replaceAll(' ', '-')
.toLowerCase();
}

_secondLevelSubItems[_secondLevelSubItems.length - 1]
.breadCrumbText = breadCrumbText;
_secondLevelSubItems[_secondLevelSubItems.length - 1]
Expand Down
Loading

0 comments on commit ec0810a

Please sign in to comment.