Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 117 #3

Merged
merged 7 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
39 changes: 26 additions & 13 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
name: Tests
on:
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install Flutter Dependencies
run: flutter pub get
- name: Run Flutter Tests
run: flutter test
name: Flutter Test
on:
pull_request:
branches: [master]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/[email protected]
with:
channel: stable # or: beta, master (or main)

- name: Get all Flutter Packages
run: flutter pub get

- name: Run Flutter Test
run: flutter test
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"dart.lineLength": 80,
"files.eol": "\n",
}
176 changes: 88 additions & 88 deletions demo/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
name: demo
description: PlutoGrid demo app.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ^3.0.0
dependency_overrides:
pluto_grid_plus:
path: ../
dependencies:
flutter:
sdk: flutter
pluto_grid_plus: 8.4.3
faker: ^2.1.0
url_launcher: ^6.2.1
font_awesome_flutter: ^10.6.0
rainbow_color: ^2.0.1
pluto_menu_bar: ^3.0.1
file_saver: ^0.2.10
pluto_grid_plus_export: 1.0.5
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/images/
fonts:
- family: OpenSans
fonts:
- asset: assets/fonts/open_sans/OpenSans-ExtraBold.ttf
weight: 800
- asset: assets/fonts/open_sans/OpenSans-ExtraBoldItalic.ttf
weight: 800
style: italic
- asset: assets/fonts/open_sans/OpenSans-Bold.ttf
weight: 700
- asset: assets/fonts/open_sans/OpenSans-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/open_sans/OpenSans-SemiBold.ttf
weight: 600
- asset: assets/fonts/open_sans/OpenSans-SemiBoldItalic.ttf
weight: 600
style: italic
- asset: assets/fonts/open_sans/OpenSans-Regular.ttf
weight: 400
- asset: assets/fonts/open_sans/OpenSans-Italic.ttf
weight: 400
style: italic
- asset: assets/fonts/open_sans/OpenSans-Light.ttf
weight: 300
- asset: assets/fonts/open_sans/OpenSans-LightItalic.ttf
weight: 300
style: italic
name: demo
description: PlutoGrid demo app.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
sdk: ^3.0.0

dependency_overrides:
pluto_grid_plus:
path: ../

dependencies:
flutter:
sdk: flutter
pluto_grid_plus: 8.4.3
faker: ^2.1.0
url_launcher: ^6.2.1
font_awesome_flutter: ^10.6.0
rainbow_color: ^2.0.1
pluto_menu_bar: ^3.0.1
file_saver: ^0.2.10
pluto_grid_plus_export: 1.0.5
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true

# To add assets to your application, add an assets section, like this:
assets:
- assets/images/

fonts:
- family: OpenSans
fonts:
- asset: assets/fonts/open_sans/OpenSans-ExtraBold.ttf
weight: 800
- asset: assets/fonts/open_sans/OpenSans-ExtraBoldItalic.ttf
weight: 800
style: italic
- asset: assets/fonts/open_sans/OpenSans-Bold.ttf
weight: 700
- asset: assets/fonts/open_sans/OpenSans-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/open_sans/OpenSans-SemiBold.ttf
weight: 600
- asset: assets/fonts/open_sans/OpenSans-SemiBoldItalic.ttf
weight: 600
style: italic
- asset: assets/fonts/open_sans/OpenSans-Regular.ttf
weight: 400
- asset: assets/fonts/open_sans/OpenSans-Italic.ttf
weight: 400
style: italic
- asset: assets/fonts/open_sans/OpenSans-Light.ttf
weight: 300
- asset: assets/fonts/open_sans/OpenSans-LightItalic.ttf
weight: 300
style: italic
Loading
Loading