Skip to content

Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.

Notifications You must be signed in to change notification settings

lynus-io/flutter-widgets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 

Repository files navigation

Fork of Syncfusion Flutter Widgets

This if a fork of the repository from Syncfusion. This fork was necessary to make some adaptations/resolve some issues that we had with the package. The changes are concerning the package syncfusion_flutter_charts of this mono-repo.

The production version of the packge is on the branch lynus/prod (other branches like lynus/dev were just used for debugging and for putting some meaningful mock data).

Changed files

The following files have been edited:

  • syncfusion_flutter_charts/lib/src/chart/user_interaction/trackball.dart
  • syncfusion_flutter_charts/lib/src/chart/user_interaction/trackball_template.dart

Reasons for edit

trackball.dart

This file contains the the trackball (the moving ball shown while tapping+holding+dragging over the chart). Here, a property includeYAxisExceedingPoints (defaults to false) was added, which defines whether y-points that are not within the visible area should be shown in the trackball tooltip or not. We want to hide unvisible points from the tooltip.

trackball_template.dart

This file contains the tooltip window that is shown while dragging the trackball over the chart. The problem here is that, by default, the tooltip window is just not visible if it doesn't fit on the left/right of the trackball, which is unacceptable for us. It has to be visible in any case, also if it is small. So the changes that have been done in this file are checking whether the tooltip should be shown on the left or right of the trackball (i.e. checking where we have more space) and giving the tooltip window a variable width, based on the available width. Like this, the tooltip is always visible and grows/shrinks depending on the available width, up to a certain max width/down to a certain minimum width.

⬇️ Below you see the original readme of the project ⬇️

Syncfusion Flutter Widgets

Syncfusion Flutter widgets libraries include high-quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.

Disclaimer: This is a commercial package. To use our packages, you need to have either the Syncfusion Commercial License or Syncfusion Community license. For more details, please check the LICENSE file.

Note: Our packages are now compatible with Flutter for Web. However, this will be in Beta until Flutter for Web becomes stable.

Table of contents

Repository structure

This repository holds the source code of all the Syncfusion Flutter widgets and libraries. Source code of the widget, a working example, read me, changelog, etc., files are available in the packages directory.

Also, you can view the samples code from this repository.

Packages

Package/Plugin Available widgets/libraries Pub Points Popularity Likes
syncfusion_flutter_charts
  • SfCartesianChart
  • SfCircularChart
  • SfPyramidChart
  • SfFunnelChart
pub package pub points popularity likes
syncfusion_flutter_calendar
  • SfCalendar
pub package pub points popularity likes
syncfusion_flutter_datagrid
  • SfDataGrid
pub package pub points popularity likes
syncfusion_flutter_pdfviewer
  • SfPdfViewer
pub package pub points popularity likes
syncfusion_flutter_pdf
  • PDF library
pub package pub points popularity likes
syncfusion_flutter_xlsio
  • XlsIO library
pub package pub points popularity likes
syncfusion_flutter_datepicker
  • SfDateRangePicker
pub package pub points popularity likes
syncfusion_flutter_maps
  • SfMaps
pub package pub points popularity likes
syncfusion_flutter_gauges
  • SfRadialGauge
pub package pub points popularity likes
syncfusion_flutter_sliders
  • SfSlider
  • SfRangeSlider
  • SfRangeSelector
pub package pub points popularity likes
syncfusion_flutter_signaturepad
  • SfSignaturePad
pub package pub points popularity likes
syncfusion_flutter_barcodes
  • SfBarcodeGenerator
pub package pub points popularity likes
syncfusion_officechart
  • Office chart library
pub package pub points popularity likes
syncfusion_officecore This package is a dependecy package for Office chart library. pub package pub points popularity likes
syncfusion_flutter_core This package is a dependecy package for all the Syncfusion Flutter widgets and libraries. pub package pub points popularity likes
syncfusion_localizations This package contains localized text for 77 cultures for all the applicable Syncfusion Flutter Widgets. pub package pub points popularity likes

How to use

Referring packages source in your application

All the packages available in the packages folder can be referred in your application by following the below steps.

Step 1

Clone the flutter-widgets repository into your machine.

Step 2

Refer the required package in your application's pubspec.yaml file by mentioning its local path. For example, here we have referred the charts package.

syncfusion_flutter_charts:
    path: D:/flutter-widgets/packages/syncfusion_flutter_charts

Step 3

Run the following command to get the required packages.

$ flutter pub get

Step 4

Run your application either using F5 or Run > Start Debugging.

Running the available example

All the packages available in the packages folder has an example and it can be run by following the below steps.

Step 1

Clone the flutter-widgets repository into your machine.

Step 2

Open the example folder available in packages in an IDE. The below path is for reference.

..\flutter-widgets\packages\syncfusion_flutter_charts\example

Step 3

Run the following command to get the required packages.

$ flutter pub get

Note: In the example, packages are referred from the local folder which is available in this repository. If you wish, you can also refer the packages from pub.

Step 4

Run your application either using F5 or Run > Start Debugging.

Get the demo application

Explore the full capabilities of our Flutter widgets on your device by installing our sample browser applications from the below app stores, and view samples code in GitHub.

Useful links

Take a look at the following to learn more about Syncfusion Flutter widgets:

Support and feedback

About Syncfusion

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, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Blazor, mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, and UWP). 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.

About

Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 93.4%
  • C++ 2.5%
  • C 2.0%
  • CMake 1.5%
  • HTML 0.2%
  • Swift 0.2%
  • Other 0.2%