Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alnitak/flutter_flow_chart
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.2.0
Choose a base ref
...
head repository: alnitak/flutter_flow_chart
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Sep 18, 2024

  1. Copy the full SHA
    c48cc5e View commit details
  2. chore

    alnitak committed Sep 18, 2024
    Copy the full SHA
    a783068 View commit details
Showing with 10 additions and 6 deletions.
  1. +3 −0 CHANGELOG.md
  2. +1 −0 example/lib/platforms/hooks_mobile.dart
  3. +1 −1 example/pubspec.lock
  4. +4 −4 lib/src/elements/flow_element.dart
  5. +1 −1 pubspec.yaml
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 3.2.1
- fix: 3.2.0 breaks backward compatibility of the JSON format #36

#### 3.2.0
**(thanks to [Maurizio Pinotti](https://github.com/mauriziopinotti))**
- Make elements more flexible with 3 new FlowElement properties:
1 change: 1 addition & 0 deletions example/lib/platforms/hooks_mobile.dart
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ Future<void> loadDashboard(Dashboard dashboard) async {
dashboard.loadDashboard('${appDocDir.path}/FLOWCHART.json');
}

/// Pick image
Future<Uint8List?> pickImageBytes() async {
final pickResult = await FilePicker.platform.pickFiles(
type: FileType.image,
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ packages:
path: ".."
relative: true
source: path
version: "3.1.1"
version: "3.2.0"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
8 changes: 4 additions & 4 deletions lib/src/elements/flow_element.dart
Original file line number Diff line number Diff line change
@@ -126,10 +126,10 @@ class FlowElement extends ChangeNotifier {
),
)
: [],
isDraggable: map['isDraggable'] as bool,
isResizable: map['isResizable'] as bool,
isConnectable: map['isConnectable'] as bool,
isDeletable: map['isDeletable'] as bool,
isDraggable: map['isDraggable'] as bool? ?? true,
isResizable: map['isResizable'] as bool? ?? false,
isConnectable: map['isConnectable'] as bool? ?? true,
isDeletable: map['isDeletable'] as bool? ?? false,
)
..setId(map['id'] as String)
..position = Offset(
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_flow_chart
description: draw a flow chart diagram with different kind of customizable elements. Dashboards can be saved for later use.
version: 3.2.0
version: 3.2.1
homepage: https://github.com/alnitak/flutter_flow_chart

environment: