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

Use standard datepicker #1064

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
a0c0601
Fix missing dates in date-picker
bastaware May 23, 2023
4a063fa
Change Package Name to flutter_grid_plus & upgrade the dependencies
doonfrs Dec 7, 2023
74b3f98
update version to 8.0.0
doonfrs Dec 7, 2023
9ac783d
update enviroment sdk
doonfrs Dec 7, 2023
6f5f15d
chand main dart file from pluto_grid to pluto_grid_plus.dart
doonfrs Dec 7, 2023
3c1835f
update package name & version in readme file
doonfrs Dec 7, 2023
9f7c223
add onSelectedItem function in plutoColumnType.select https://github.…
doonfrs Dec 7, 2023
84bd66f
Add column title (padding, icon-size, and checkBox size to auto-fit c…
doonfrs Dec 7, 2023
36207fd
Customize filter column by @RamshaFarheen https://github.com/bosskmk/…
doonfrs Dec 7, 2023
a84babe
fix unit test for autoFitColumn
doonfrs Dec 7, 2023
76e63b4
update readme, version and changelog
doonfrs Dec 7, 2023
ef3804a
update build files
doonfrs Dec 19, 2023
fffbd4b
add builder feature for select column type
doonfrs Dec 19, 2023
36ed914
increase version & update change log
doonfrs Dec 19, 2023
08879cb
Fixes #6 Migrate RawKeyboardEvent and related implications according …
Feb 18, 2024
29e2ada
Merge pull request #9 from aymswick/fix/flutter_RawKeyboardEvent_depr…
doonfrs Feb 18, 2024
753bbc0
Change pluto_grid_export to pluto_grid_plus_export as the old version…
doonfrs Feb 18, 2024
2fe4911
make pluto_grid_plus_export publishable
doonfrs Feb 18, 2024
f4e6142
change repo path in readme
doonfrs Feb 18, 2024
0444e4f
change class name / package name in the readme file
doonfrs Feb 18, 2024
517c0f9
change class name / package name in the readme file
doonfrs Feb 18, 2024
abde35c
remove unnecessary or
Macacoazul01 Feb 19, 2024
103382b
original value and getter
Macacoazul01 Feb 19, 2024
5128de8
Merge pull request #11 from bianca-inc/master
doonfrs Feb 19, 2024
6596529
added more personalization options
Macacoazul01 Feb 19, 2024
7caf19c
Merge pull request #12 from bianca-inc/format
doonfrs Feb 19, 2024
a01117d
improve files organization
Macacoazul01 Feb 20, 2024
f712ab8
Merge pull request #14 from bianca-inc/format
Macacoazul01 Feb 22, 2024
1a4658b
Merge pull request #16 from bastaware/fixdatepicker
doonfrs Feb 27, 2024
8aee2f5
upgrade to latest packages
doonfrs Mar 18, 2024
73335e8
rollback intl to 18 as 19 still not supported by flutter stable
doonfrs Mar 18, 2024
a13b1cf
added gridPadding and gridBorderWidth to configs
Macacoazul01 Mar 23, 2024
9648238
8.3.1
Macacoazul01 Mar 23, 2024
581b22c
Merge pull request #26 from bianca-inc/master
Macacoazul01 Mar 23, 2024
6ad30a9
feat(doonfrs/pluto_grid_plus#29): Support for hovering rows
coruscant187 Apr 1, 2024
8037bf9
Tests for hovering rows feature
coruscant187 Apr 1, 2024
8ca1d0d
moved hover logic:
coruscant187 Apr 1, 2024
d8a8053
modified CHANGELOG.md, contributor tile and version
coruscant187 Apr 1, 2024
8e54396
Update pluto_lazy_pagination.dart, Check if bodyRowsVertical has any …
Sokcevic Apr 12, 2024
3d98959
Merge pull request #30 from coruscant187/row_hover_status
Macacoazul01 Apr 13, 2024
3f7a4f8
Fix
Sokcevic Apr 15, 2024
0d88fcc
Merge pull request #35 from Sokcevic/master
Macacoazul01 Apr 20, 2024
7eec631
update version to 8.4 and publish to pub.dev
doonfrs Apr 20, 2024
d7d3143
upgrade pubspec
doonfrs May 15, 2024
43f8d02
upgrade to latest flutter & migrate
doonfrs May 15, 2024
aa2f45c
Added an option for developers to use either the standard Material Da…
Jun 2, 2024
22a2981
Datepicker - moved isOpenedPopup = true
Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## [8.4.1] - 2024. 05. 15
upgrade for flutter 3.22.0

## [8.4.0] - 2024. 04. 01


* Added onRowEnter, onRowExit callbacks to react on. @coruscant187
* Added logic to change background color of row if hovered. @coruscant187 doonfrs/pluto_grid_plus#29

## [8.3.1] - 2024. 03. 19
* upgrade packages to latest major version

## [8.3.0] - 2024. 02. 18
* Change pluto_grid_export to pluto_grid_plus_export as the old version is not maintained.
* fix & enhance the example for csv export.

## [8.2.0] - 2023. 12. 19
* Add builder function in plutoColumnType.select allow user to customize the popup by item widget.

## [8.1.0] - 2023. 12. 8
* Customize filter column by @RamshaFarheen bosskmk#739
* Add column title (padding, icon-size, and checkBox size to auto-fit calculation by @Milad-Akarie bosskmk#715
* add onSelectedItem function in plutoColumnType.select bosskmk#935


## [8.0.0] - 2023. 7. 12
* Change Package name to pluto_grid_plus
* Upgrade the packages to the latest version.

## [7.0.2] - 2023. 5. 13

* Add Japanese, Turkish languages.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## PlutoGrid for flutter - v7.0.2
## PlutoGrid Plus for flutter - v8.4.1
PlutoGrid Plus is a maintained version of https://github.com/bosskmk/pluto_grid

[![Awesome Flutter](https://img.shields.io/badge/Awesome-Flutter-blue.svg)](https://github.com/Solido/awesome-flutter)
[![codecov](https://codecov.io/gh/bosskmk/pluto_grid/branch/master/graph/badge.svg)](https://codecov.io/gh/bosskmk/pluto_grid)
Expand Down
2 changes: 1 addition & 1 deletion demo/lib/dummy_data/development.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:async';

import 'package:demo/dummy_data/words_multilingual.dart';
import 'package:faker/faker.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

class DummyData {
late List<PlutoColumn> columns;
Expand Down
2 changes: 1 addition & 1 deletion demo/lib/dummy_data/quick_start.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

class DummyData {
List<PlutoColumn>? columns;
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void main() {
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
const MyApp({super.key});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -119,7 +119,7 @@ class MyApp extends StatelessWidget {
scaffoldBackgroundColor: PlutoGridExampleColors.backgroundColor,
colorScheme: const ColorScheme.light(
primary: PlutoGridExampleColors.primaryColor,
background: PlutoGridExampleColors.backgroundColor,
surface: PlutoGridExampleColors.backgroundColor,
),
),
);
Expand Down
25 changes: 17 additions & 8 deletions demo/lib/screen/development_screen.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:faker/faker.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';
import 'package:pluto_menu_bar/pluto_menu_bar.dart';

import '../dummy_data/development.dart';
Expand All @@ -20,7 +20,7 @@ enum _Test {
class DevelopmentScreen extends StatefulWidget {
static const routeName = 'development';

const DevelopmentScreen({Key? key}) : super(key: key);
const DevelopmentScreen({super.key});

@override
_DevelopmentScreenState createState() => _DevelopmentScreenState();
Expand Down Expand Up @@ -312,6 +312,14 @@ class _DevelopmentScreenState extends State<DevelopmentScreen> {
// print('Secondary click A Row.(${e.offset})');
// print(e.row?.cells['column1']?.value);
// },
// onRowEnter: (e) {
// print('Enter A Row.');
// print(e.row?.cells['column1']?.value);
// },
// onRowExit: (e) {
// print('Exit A Row.');
// print(e.row?.cells['column1']?.value);
// },
createHeader: (PlutoGridStateManager stateManager) {
// stateManager.headerHeight = 200;
return _Header(
Expand Down Expand Up @@ -357,7 +365,7 @@ class ClassYouImplemented implements PlutoFilterType {
}

class _NoRows extends StatelessWidget {
const _NoRows({Key? key}) : super(key: key);
const _NoRows();

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -407,8 +415,7 @@ class _Header extends StatefulWidget {
required this.setTextDirection,
required this.setConfiguration,
required this.setGridMode,
Key? key,
}) : super(key: key);
});

@override
_HeaderState createState() => _HeaderState();
Expand Down Expand Up @@ -657,9 +664,11 @@ class _HeaderState extends State<_Header> {
return PlutoMenuBar(
borderColor: Colors.transparent,
mode: _isMobile ? PlutoMenuBarMode.tap : PlutoMenuBarMode.hover,
textStyle: const TextStyle(
color: Colors.black,
fontSize: 14,
itemStyle: const PlutoMenuItemStyle(
textStyle: TextStyle(
color: Colors.black,
fontSize: 14,
),
),
menus: [
PlutoMenuItem(
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/empty_screen.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../dummy_data/development.dart';

class EmptyScreen extends StatefulWidget {
static const routeName = 'empty';

const EmptyScreen({Key? key}) : super(key: key);
const EmptyScreen({super.key});

@override
_EmptyScreenState createState() => _EmptyScreenState();
Expand Down
7 changes: 3 additions & 4 deletions demo/lib/screen/feature/add_and_remove_column_row_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import 'dart:async';

import 'package:faker/faker.dart';
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../widget/pluto_example_button.dart';
import '../../widget/pluto_example_screen.dart';

class AddAndRemoveColumnRowScreen extends StatefulWidget {
static const routeName = 'add-and-remove-column-row';

const AddAndRemoveColumnRowScreen({Key? key}) : super(key: key);
const AddAndRemoveColumnRowScreen({super.key});

@override
_AddAndRemoveColumnRowScreenState createState() =>
Expand Down Expand Up @@ -167,8 +167,7 @@ class _AddAndRemoveColumnRowScreenState
class _Header extends StatefulWidget {
const _Header({
required this.stateManager,
Key? key,
}) : super(key: key);
});

final PlutoGridStateManager stateManager;

Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/add_rows_asynchronously.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -10,7 +10,7 @@ import '../../widget/pluto_example_screen.dart';
class AddRowsAsynchronouslyScreen extends StatefulWidget {
static const routeName = 'feature/add-rows-asynchronously';

const AddRowsAsynchronouslyScreen({Key? key}) : super(key: key);
const AddRowsAsynchronouslyScreen({super.key});

@override
_AddRowsAsynchronouslyScreenState createState() =>
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/cell_renderer_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -8,7 +8,7 @@ import '../../widget/pluto_example_screen.dart';
class CellRendererScreen extends StatefulWidget {
static const routeName = 'feature/cell-renderer';

const CellRendererScreen({Key? key}) : super(key: key);
const CellRendererScreen({super.key});

@override
_CellRendererScreenState createState() => _CellRendererScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/cell_selection_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -8,7 +8,7 @@ import '../../widget/pluto_example_screen.dart';
class CellSelectionScreen extends StatefulWidget {
static const routeName = 'feature/cell-selection';

const CellSelectionScreen({Key? key}) : super(key: key);
const CellSelectionScreen({super.key});

@override
_CellSelectionScreenState createState() => _CellSelectionScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_filtering_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -8,7 +8,7 @@ import '../../widget/pluto_example_screen.dart';
class ColumnFilteringScreen extends StatefulWidget {
static const routeName = 'feature/column-filtering';

const ColumnFilteringScreen({Key? key}) : super(key: key);
const ColumnFilteringScreen({super.key});

@override
_ColumnFilteringScreenState createState() => _ColumnFilteringScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_footer_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -8,7 +8,7 @@ import '../../widget/pluto_example_screen.dart';
class ColumnFooterScreen extends StatefulWidget {
static const routeName = 'feature/column-footer';

const ColumnFooterScreen({Key? key}) : super(key: key);
const ColumnFooterScreen({super.key});

@override
_ColumnFooterScreenState createState() => _ColumnFooterScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_freezing_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -8,7 +8,7 @@ import '../../widget/pluto_example_screen.dart';
class ColumnFreezingScreen extends StatefulWidget {
static const routeName = 'feature/column-freezing';

const ColumnFreezingScreen({Key? key}) : super(key: key);
const ColumnFreezingScreen({super.key});

@override
_ColumnFreezingScreenState createState() => _ColumnFreezingScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_group_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../dummy_data/development.dart';
import '../../widget/pluto_example_button.dart';
Expand All @@ -8,7 +8,7 @@ import '../../widget/pluto_example_screen.dart';
class ColumnGroupScreen extends StatefulWidget {
static const routeName = 'feature/column-group';

const ColumnGroupScreen({Key? key}) : super(key: key);
const ColumnGroupScreen({super.key});

@override
_ColumnGroupScreenState createState() => _ColumnGroupScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_hiding_screen.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../widget/pluto_example_button.dart';
import '../../widget/pluto_example_screen.dart';

class ColumnHidingScreen extends StatefulWidget {
static const routeName = 'feature/column-hiding';

const ColumnHidingScreen({Key? key}) : super(key: key);
const ColumnHidingScreen({super.key});

@override
_ColumnHidingScreenState createState() => _ColumnHidingScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_menu_screen.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import 'package:demo/dummy_data/development.dart';
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../widget/pluto_example_button.dart';
import '../../widget/pluto_example_screen.dart';

class ColumnMenuScreen extends StatefulWidget {
static const routeName = 'feature/column-menu';

const ColumnMenuScreen({Key? key}) : super(key: key);
const ColumnMenuScreen({super.key});

@override
_ColumnMenuScreenState createState() => _ColumnMenuScreenState();
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_moving_screen.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../widget/pluto_example_button.dart';
import '../../widget/pluto_example_screen.dart';

class ColumnMovingScreen extends StatefulWidget {
static const routeName = 'feature/column-moving';

const ColumnMovingScreen({Key? key}) : super(key: key);
const ColumnMovingScreen({super.key});

@override
_ColumnMovingScreenState createState() => _ColumnMovingScreenState();
Expand Down
7 changes: 3 additions & 4 deletions demo/lib/screen/feature/column_resizing_screen.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import 'package:demo/dummy_data/development.dart';
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../widget/pluto_example_button.dart';
import '../../widget/pluto_example_screen.dart';

class ColumnResizingScreen extends StatefulWidget {
static const routeName = 'feature/column-resizing';

const ColumnResizingScreen({Key? key}) : super(key: key);
const ColumnResizingScreen({super.key});

@override
_ColumnResizingScreenState createState() => _ColumnResizingScreenState();
Expand Down Expand Up @@ -78,8 +78,7 @@ class _ColumnResizingScreenState extends State<ColumnResizingScreen> {
class _Header extends StatefulWidget {
const _Header({
required this.setConfig,
Key? key,
}) : super(key: key);
});

final void Function(PlutoGridColumnSizeConfig) setConfig;

Expand Down
4 changes: 2 additions & 2 deletions demo/lib/screen/feature/column_sorting_screen.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';

import '../../widget/pluto_example_button.dart';
import '../../widget/pluto_example_screen.dart';

class ColumnSortingScreen extends StatefulWidget {
static const routeName = 'feature/column-sorting';

const ColumnSortingScreen({Key? key}) : super(key: key);
const ColumnSortingScreen({super.key});

@override
_ColumnSortingScreenState createState() => _ColumnSortingScreenState();
Expand Down
Loading