Skip to content

Commit

Permalink
Merge pull request #1 from OlehMysak/update-to-flutter-3.13.9
Browse files Browse the repository at this point in the history
Update to flutter 3.13.9
  • Loading branch information
OlehMysak authored Nov 21, 2023
2 parents c433a6b + d38bc6f commit 0a0d45f
Show file tree
Hide file tree
Showing 114 changed files with 1,746 additions and 2,560 deletions.
1 change: 0 additions & 1 deletion .flutter-plugins

This file was deleted.

35 changes: 26 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
lib/src/frideos_flutter/exp
.idea

# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.dart_tool/
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

.packages
.pub/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
.packages
build/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
29 changes: 26 additions & 3 deletions .metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,30 @@
# This file should be version controlled and should not be manually edited.

version:
revision: 5391447fae6209bb21a89e6a5a6583cac1af9b4b
channel: stable
revision: "d211f42860350d914a5ad8102f9ec32764dc6d06"
channel: "stable"

project_type: package
project_type: plugin

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06
base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06
- platform: android
create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06
base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06
- platform: ios
create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06
base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
38 changes: 21 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 1.0.2 (21-11-23)
- Updated for Flutter 3.13.9


# Version 1.0.1 (17-05-20)
- Updated RxDart to 24.1
- Switch from inheritFromWidgetOfExactType to dependOnInheritedWidgetOfExactType on AppStateProvider class
Expand All @@ -7,9 +11,9 @@

# Version 1.0.0 (05-01-20)
- Integrated frideos_core in the package
- Removed shared preferences helpers
- Removed shared preferences helpers
- Improved Readme.md, added an article

# Version 0.10.0+1 (28-12-19)
- CompositeItem fix

Expand All @@ -26,7 +30,7 @@
# Version 0.9.0 (25-12-19)
- Updated to RxDart 23.1
- Added classes for managing scenes: ScenesObject and ScenesWidget.

# Version 0.8.0 (08-12-19)
- Updated to RxDart 22.6
- Updated to SharedPreferences 0.5.4
Expand All @@ -45,7 +49,7 @@

## Version 0.6.1 (13-04-19)
- Update README.md: added a new example.

- Bugfix to the `LinearTransition` widget.

## Version 0.6.0 (31-03-19)
Expand Down Expand Up @@ -79,15 +83,15 @@
## Version 0.4.1 (10-03-19)

### - StreamedList
- Added `AddAll` method.
### - AnimatedObject
- added `AnimatedType` enum, to handle the behavior of the animated object.
- added `startAnimation` method: it is now possible specify a type of behavior (increment or decrement the value), the velocity, a minValue (in case of decrement) and a maxValue (increment).
- added `outStream` getter (deprecated: `animationStream`).

- Code refactoring.
- Added `AddAll` method.

### - AnimatedObject
- added `AnimatedType` enum, to handle the behavior of the animated object.
- added `startAnimation` method: it is now possible specify a type of behavior (increment or decrement the value), the velocity, a minValue (in case of decrement) and a maxValue (increment).
- added `outStream` getter (deprecated: `animationStream`).

- Code refactoring.

### - Blur widgets and Wave widget refactored to use the ValueBuilder widget.

### - Code refactoring.
Expand All @@ -107,7 +111,7 @@ By extending the AppStateModel interface it is possible to create a class to dri


### - AppStateProvider
Simple state provider that extends a StatefulWidget and use an InheritedWidget
Simple state provider that extends a StatefulWidget and use an InheritedWidget
to share the state with the widgets on the tree. Used along with streams, it is possibile for the widgets the access this data to modify it and propagates the changes on the entire widgets tree.

From the "theme changer" example:
Expand Down Expand Up @@ -325,16 +329,16 @@ ValueBuilder<MyTheme>(

### StreamedObjects
#### - Added the `onChange` method. It calls a function every time the stream updates.
#### - More details in the debugMode.
#### - More details in the debugMode.

### - Code refactoring


## Version 0.3.0 (24-02-19)

#### - StreamedList and StreamedMap classes
##### *Breaking change*:
StreamedList and StreamedMap by default aren't initialiazed (to avoid that when using them along with a StreamBuilder/StreamedWidget the `snaphost.hasData` is true from the beginning,becoming harder to show for example a loading spinner without using a workaround).
##### *Breaking change*:
StreamedList and StreamedMap by default aren't initialiazed (to avoid that when using them along with a StreamBuilder/StreamedWidget the `snaphost.hasData` is true from the beginning,becoming harder to show for example a loading spinner without using a workaround).

#### - "initialData" parameter
- Added `initialData` parameter to the constructor to all the streamed classes to initialize the stream with an initial data.
Expand Down
84 changes: 42 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ An all-in-one package for state management, streams and BLoC pattern, animations
- ValueBuilder
- StreamedWidget


#### Specialized StreamedObjects
- StreamedList
- StreamedMap
Expand Down Expand Up @@ -59,21 +59,21 @@ An all-in-one package for state management, streams and BLoC pattern, animations

- [Todo App](/~https://github.com/brianegan/flutter_architecture_samples/tree/master/frideos_library): an implementation of the Todo App of the [Flutter Architecture Samples](/~https://github.com/brianegan/flutter_architecture_samples) repository using this package.

- [Frideos examples](/~https://github.com/frideosapps/frideos_examples): an example app to show how to use some features of this library.
- Streamed objects
- Streamed collections
- TimerObject: a simple stopwatch
- StagedObject
- StagedWidget
- AnimatedObject
- Multiple selection and tunnel pattern (to share data between two blocs)
- LinearTransition
- CurvedTransition
- Blur (fixed, in, out, animated)
- WavesWidget
- Sliders
- Products catalog
- [Frideos examples](/~https://github.com/frideosapps/frideos_examples): an example app to show how to use some features of this library.
- Streamed objects
- Streamed collections
- TimerObject: a simple stopwatch
- StagedObject
- StagedWidget
- AnimatedObject
- Multiple selection and tunnel pattern (to share data between two blocs)
- LinearTransition
- CurvedTransition
- Blur (fixed, in, out, animated)
- WavesWidget
- Sliders
- Products catalog

- [Dynamic fields validation](/~https://github.com/frideosapps/dynamic_fields_validation): a Flutter example on how to validate dynamically created fields with the BLoC pattern and this package.

- [Theme changer](/~https://github.com/frideosapps/theme_changer): a simple starter app with a drawer, app state management, dynamic theme changer and persistent theme using the sharedpreferences.
Expand All @@ -83,13 +83,13 @@ An all-in-one package for state management, streams and BLoC pattern, animations
- [Blood pressure](/~https://github.com/frideosapps/bloodpressure): an example of a medical app built with Flutter for the classification of the arterial blood pressure.

- [Pair game](/~https://github.com/frideosapps/pair_game): a simple pair game (multiple selections, animations, tunnel pattern).

## Dependencies

- [RxDart](https://pub.dartlang.org/packages/rxdart)



# State management

### Getting started
Expand Down Expand Up @@ -975,19 +975,19 @@ Every scene is handled by using the Scene class:
}
```

##### N.B. The onShow callback is used to trigger an action when the scene shows
##### N.B. The onShow callback is used to trigger an action when the scene shows

#### Usage
From the ScenesObject example:
#### Usage
From the ScenesObject example:

#### 1 - Declare a list of scenes
#### 1 - Declare a list of scenes

```dart
final ScenesObject scenesObject = ScenesObject();
```
#### 2 - Add some scenes

#### 2 - Add some scenes

```dart
scenes.addAll([
Scene(
Expand Down Expand Up @@ -1021,7 +1021,7 @@ Every scene is handled by using the Scene class:
}
}
```
#### 3 - Setup the ScenesObject and play the scenes
#### 3 - Setup the ScenesObject and play the scenes

```dart
scenesObject
Expand All @@ -1035,26 +1035,26 @@ Every scene is handled by using the Scene class:

### ScenesCreate

This widget uses a [ScenesObject] for the timing of the widgets
visualization.
This widget uses a [ScenesObject] for the timing of the widgets
visualization.

It takes as a parameter a List<Scene> and plays every [Scene].
It takes as a parameter a List<Scene> and plays every [Scene].

By default to change the stage is used the relative time, so the time
parameter of the [Scene] indicates how much time the stage will lasts.
Instead, to specify the absolute time, set to true the [absoluteTiming]
flag, in this case the time parameter indicates the absolute time when
to show the scene.
By default to change the stage is used the relative time, so the time
parameter of the [Scene] indicates how much time the stage will lasts.
Instead, to specify the absolute time, set to true the [absoluteTiming]
flag, in this case the time parameter indicates the absolute time when
to show the scene.

The [onStart] is used to call a function when the ScenesObject begins
to play the stages.
The [onStart] is used to call a function when the ScenesObject begins
to play the stages.

The [onEnd] callback is called at the end of the last stage when the timeing
is relative (the [absoluteTiming] flag is set to false).
The [onEnd] callback is called at the end of the last stage when the timeing
is relative (the [absoluteTiming] flag is set to false).

#### Usage
From the ScenesObject example:

#### Usage
From the ScenesObject example:

```dart
ScenesCreate(
scenes: [
Expand Down
Loading

0 comments on commit 0a0d45f

Please sign in to comment.