forked from bosskmk/pluto_grid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename selectingMode square to cell.
Change part to export.
- Loading branch information
Showing
70 changed files
with
543 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,48 @@ | ||
library pluto_grid; | ||
|
||
import 'dart:async'; | ||
import 'dart:developer' as developer; | ||
import 'dart:math'; | ||
|
||
import 'package:flutter/cupertino.dart'; | ||
import 'package:flutter/foundation.dart'; | ||
import 'package:flutter/gestures.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter/rendering.dart'; | ||
import 'package:flutter/services.dart'; | ||
import 'package:intl/intl.dart' as intl; | ||
import 'package:linked_scroll_controller/linked_scroll_controller.dart'; | ||
import 'package:pluto_filtered_list/pluto_filtered_list.dart'; | ||
import 'package:rxdart/rxdart.dart'; | ||
|
||
part './src/helper/clipboard_transformation.dart'; | ||
|
||
part './src/helper/filter_helper.dart'; | ||
|
||
part './src/helper/datetime_helper.dart'; | ||
|
||
part './src/helper/move_direction.dart'; | ||
|
||
part './src/helper/show_column_menu.dart'; | ||
|
||
part './src/manager/event/pluto_cannot_move_current_cell_event.dart'; | ||
|
||
part './src/manager/event/pluto_cell_gesture_event.dart'; | ||
|
||
part './src/manager/event/pluto_change_column_filter_event.dart'; | ||
|
||
part './src/manager/event/pluto_drag_rows_event.dart'; | ||
|
||
part './src/manager/event/pluto_event.dart'; | ||
|
||
part './src/manager/event/pluto_move_update_event.dart'; | ||
|
||
part './src/manager/pluto_event_manager.dart'; | ||
|
||
part './src/manager/pluto_key_manager.dart'; | ||
|
||
part './src/manager/pluto_state_manager.dart'; | ||
|
||
part './src/manager/state/cell_state.dart'; | ||
|
||
part './src/manager/state/column_state.dart'; | ||
|
||
part './src/manager/state/dragging_row_state.dart'; | ||
|
||
part './src/manager/state/editing_state.dart'; | ||
|
||
part './src/manager/state/filtering_row_state.dart'; | ||
|
||
part './src/manager/state/grid_state.dart'; | ||
|
||
part './src/manager/state/keyboard_state.dart'; | ||
|
||
part './src/manager/state/layout_state.dart'; | ||
|
||
part './src/manager/state/row_state.dart'; | ||
|
||
part './src/manager/state/scroll_state.dart'; | ||
|
||
part './src/manager/state/selecting_state.dart'; | ||
|
||
part './src/model/pluto_cell.dart'; | ||
|
||
part './src/model/pluto_column.dart'; | ||
|
||
part './src/model/pluto_column_type.dart'; | ||
|
||
part './src/model/pluto_row.dart'; | ||
|
||
part './src/pluto_configuration.dart'; | ||
|
||
part './src/pluto_dual_grid.dart'; | ||
|
||
part './src/pluto_dual_grid_popup.dart'; | ||
|
||
part './src/pluto_grid.dart'; | ||
|
||
part './src/pluto_grid_popup.dart'; | ||
|
||
part './src/ui/pluto_body_columns.dart'; | ||
|
||
part './src/ui/pluto_body_rows.dart'; | ||
|
||
part './src/ui/pluto_left_frozen_columns.dart'; | ||
|
||
part './src/ui/pluto_left_frozen_rows.dart'; | ||
|
||
part './src/ui/pluto_right_frozen_columns.dart'; | ||
|
||
part './src/ui/pluto_right_frozen_rows.dart'; | ||
|
||
part './src/ui/pluto_base_cell.dart'; | ||
|
||
part './src/ui/pluto_base_column.dart'; | ||
|
||
part './src/ui/columns/pluto_column_title.dart'; | ||
|
||
part './src/ui/columns/pluto_column_filter.dart'; | ||
|
||
part './src/ui/pluto_base_row.dart'; | ||
|
||
part './src/ui/cells/pluto_date_cell.dart'; | ||
|
||
part './src/ui/cells/pluto_default_cell.dart'; | ||
|
||
part './src/ui/cells/pluto_number_cell.dart'; | ||
|
||
part './src/ui/cells/mixin_popup_cell.dart'; | ||
|
||
part './src/ui/cells/pluto_select_cell.dart'; | ||
|
||
part './src/ui/cells/mixin_text_cell.dart'; | ||
|
||
part './src/ui/cells/pluto_text_cell.dart'; | ||
|
||
part './src/ui/cells/pluto_time_cell.dart'; | ||
|
||
part './src/widget/pluto_loading.dart'; | ||
|
||
part './src/widget/pluto_scrollbar.dart'; | ||
|
||
part './src/widget/pluto_scaled_checkbox.dart'; | ||
|
||
part './src/widget/pluto_shadow_container.dart'; | ||
|
||
part './src/widget/pluto_shadow_line.dart'; | ||
|
||
part './src/widget/pluto_state_with_change.dart'; | ||
export './src/helper/clipboard_transformation.dart'; | ||
export './src/helper/datetime_helper.dart'; | ||
export './src/helper/filter_helper.dart'; | ||
export './src/helper/move_direction.dart'; | ||
export './src/helper/show_column_menu.dart'; | ||
export './src/manager/event/pluto_cannot_move_current_cell_event.dart'; | ||
export './src/manager/event/pluto_cell_gesture_event.dart'; | ||
export './src/manager/event/pluto_change_column_filter_event.dart'; | ||
export './src/manager/event/pluto_drag_rows_event.dart'; | ||
export './src/manager/event/pluto_event.dart'; | ||
export './src/manager/event/pluto_move_update_event.dart'; | ||
export './src/manager/pluto_event_manager.dart'; | ||
export './src/manager/pluto_key_manager.dart'; | ||
export './src/manager/pluto_state_manager.dart'; | ||
export './src/model/pluto_cell.dart'; | ||
export './src/model/pluto_column.dart'; | ||
export './src/model/pluto_column_type.dart'; | ||
export './src/model/pluto_row.dart'; | ||
export './src/pluto_configuration.dart'; | ||
export './src/pluto_dual_grid.dart'; | ||
export './src/pluto_dual_grid_popup.dart'; | ||
export './src/pluto_grid.dart'; | ||
export './src/pluto_grid_popup.dart'; | ||
export './src/ui/cells/pluto_date_cell.dart'; | ||
export './src/ui/cells/pluto_default_cell.dart'; | ||
export './src/ui/cells/pluto_number_cell.dart'; | ||
export './src/ui/cells/pluto_select_cell.dart'; | ||
export './src/ui/cells/pluto_text_cell.dart'; | ||
export './src/ui/cells/pluto_time_cell.dart'; | ||
export './src/ui/columns/pluto_column_filter.dart'; | ||
export './src/ui/columns/pluto_column_title.dart'; | ||
export './src/ui/pluto_base_cell.dart'; | ||
export './src/ui/pluto_base_column.dart'; | ||
export './src/ui/pluto_base_row.dart'; | ||
export './src/ui/pluto_body_columns.dart'; | ||
export './src/ui/pluto_body_rows.dart'; | ||
export './src/ui/pluto_left_frozen_columns.dart'; | ||
export './src/ui/pluto_left_frozen_rows.dart'; | ||
export './src/ui/pluto_right_frozen_columns.dart'; | ||
export './src/ui/pluto_right_frozen_rows.dart'; | ||
export './src/widget/pluto_loading.dart'; | ||
export './src/widget/pluto_scaled_checkbox.dart'; | ||
export './src/widget/pluto_scrollbar.dart'; | ||
export './src/widget/pluto_shadow_container.dart'; | ||
export './src/widget/pluto_shadow_line.dart'; | ||
export './src/widget/pluto_state_with_change.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of '../../pluto_grid.dart'; | ||
|
||
enum MoveDirection { | ||
left, | ||
right, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
part of '../../../pluto_grid.dart'; | ||
import 'package:pluto_grid/pluto_grid.dart'; | ||
|
||
abstract class PlutoEvent { | ||
void _handler(PlutoStateManager stateManager); | ||
|
||
@visibleForTesting | ||
void handler(PlutoStateManager stateManager) { | ||
_handler(stateManager); | ||
} | ||
void handler(PlutoStateManager stateManager); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.