Skip to content

Tags: thirdversion/flutter_current

Tags

v3.1.1

Toggle v3.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
V3.1.1 (#35)

* bump version, change log

* update docs

v3.1.0

Toggle v3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
V3.1.0 (#33)

* bump version. Update changelog

* update api docs

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Version. Update Change Log and Readme (#31)

v3.0.0-beta-6

Toggle v3.0.0-beta-6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Auto CurrentTextController Disposal (#30)

* Added internal auto controller registration to handle disposal when state goes out of scope

* add tests

* bump beta version, update changelog

v3.0.0-beta-5

Toggle v3.0.0-beta-5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Mem and Performance Improvements (#28)

* Fix issue with double iteration through lists on first or null search

* stop allocating a bajillion events on the stream controller when updating or removing items in a map property

* Change `where` on List to return a lazy evaluated iterable to match Dart API and prevent allocating memory for no reason

* changed previous value publish on event to opt in. huge memory allocation and performance improvement

* Update change log

* bump version on pubspec,readme

v3.0.0-beta-4

Toggle v3.0.0-beta-4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enhance VS Code Extension (#27)

* add commands palette actions to create widget/viewmodel

* use multi-line formatting. reduce dupe code for generated widget class

* added quick option to convert stateless or statefulwidgets into current widgets

* add new line after imports

* add option for current text fields when using quick action

* preserve any existing code in a build method

* preseve any vars or functions the user may have already written in the class

* added code action to add property to currentProps list

* added code action to add all missing current properties to currentProps

* add quick action to bind current controller

* add code action to add support for current text controllers

* updated extension description and readme

* only show add CurrentTextController support action if user is on v3.0.0 or greater

* Add code action to scaffold new current widget and viewmodel on an empty dart file

* update current readme to reflect extension updates. bump version

* Update extension readme

* clean up and organize extension and code action provider like a sane person.

v3.0.0-beta-3

Toggle v3.0.0-beta-3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Example Project (#26)

* Recreate the iOS example project

* rename example project name

* recreate android project to ensure latest kotlin implementation is used

* recreated linux, windows, macos and web projects to reflect example project name change

* update example layouts to better support mobile

* update version. update example readme to include AI notice

* update version. update example readme to include AI notice

* clean up

* fix example test

v3.0.0-beta-2

Toggle v3.0.0-beta-2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Simplify App Level State Change Notifications / Reduce App Level Stat…

…e Setup Burden (#25)

* add topic tags to pubspec

* simplify readme html. fixes issue rendering on github

Co-authored-by: Copilot <[email protected]>

* increase title and subtitle font size

* update title tags

* clean up

* simplify / clarify readme validation example

* add additional docs around binding validation

* remove dead / empty files

* removed need to force ui builds on root current. use change notifier / listenable.

* update example app and docs

* update change log

* updated docs

* update changelog to reflect this change will be in beta-2

* bump to beta-2

---------

Co-authored-by: Copilot <[email protected]>

v3.0.0-beta-1

Toggle v3.0.0-beta-1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
3.0.0 (Beta 1) (#22)

* Support ViewModel Reassignment on CurrentWidget Rebuilds (#17)

* Added option to allow reassigning an existing view model to an new instance of a widget

* Assign the ViewModel to the hash of the state instead of the CurrentWidget

* Fix assignedTo check in ViewModel

* Update the already assigned exception to explain steps the user can take to support reassignment of view models

* Grammar...

* Grammar...

* Format exception message

* Add documentation to CurrentState

* Allow setting CurrentProperty by directly setting the value

* Enhance State Change Handling (#18)

* Changed StateChanged Stream to a single Event broadcaster

Added listenable support to busy status changes

* Updated example app to use new state changes

* Expand ErrorEvent handling options. Allow specific subscribing, and handling internal errors

* Add error handling example to example application

* Added isDirty property. Added factory shorthands for current specific primary property types

* Export CurrentClonable

* Update example view model to use new shorthand factory

* Added calculated isDirty getter to CurrentViewModel

* Add tests for isDirty prop

* Add docs to new BusyStatusChanged event

* Current Text Controller (#19)

* Implemented controller. Fixed vm reset not clearing busy status.

* Added CurrentTextController to Example project

* Fix type check on date time controller

* Fix default value, and hash equality assignments and checks

* Updated text field carrot snapback to select text when backspacing on a non-null field

* Fix date time asString when cant be parsed. added tests for other supported types

* Fix issue when resetting view model or using setMultiple manually. add test

* Update example. Added missing test.

* Clean up

* Make example page scrollable

* Add seperate custom and any state change listener

* Add seperate custom and any error event listeners

* Fix issue where lists and maps marked as dirty on initial set.

* Fixed an issue where calling resetAll on the view model behaved differently for lists and maps

* Report prop name and hash on list/map change. report inserted item instead of whole list. added tests

* Optionally allow external / parent widget to handle viewmodel lifecycle.

* Fix issue where setMultiple always issued notifications, even if nothing actually changed.

* Update value equality implementation. This fixes issues with map keys, and odd comparison results. Updated stale test descriptions.

* deprecated math functions on int property (generics were odd since you can't impl num)

* added tests for the new int property functions.

* added tests to cover null scenarios in double property math functions

* Current Validation & Revamp Example App (#20)

* Clean up statle documentation

* added current validation state. added additive extension (nonbreaking).

* add docs to new current validation classes. fix docs in view model. export current validation

* add some docs around the _omitted internal variable. added unit tests

* progress on integrating current validation with new current text controller.

* Add option to localize default validation errors

* Add additional docs to the current text controller

* update core web files for example app

* Progress on new space themed example app. added logos. removed old example page

* added flight forms page. redfactored app view model

* added launch missing, map and telemetry examples

* added widget tests

* add third version branding

* Move viewmodels out of widget pages

* clean up

* clean up

* clean up

* add code examples to example app. add link to third version website

* Restructure validation results to produce typed issues. This is to support localization without coupling ui to view models

* Update Readmes

* Change current validation to explicit opt in. Reduces footguns. Update docs and examples.

* clean up example propery initialization

* Clean up validation registration. better support context based localization

* Remove unused mixin. Remove tests

* Tie validation execution to TextFormFields. Added convenience Current text widgets without losing native support

* Added tests for text form field integration

* Update readme

* add convenience setter functions for various properties

* Rename factories on CurrentTextController for consistency

* 3.0.0 Beta 1 (#21)

* bump version, generate docs

* Add changelog entry

* Improve DX When Binding CurrentTextControllers (#23)

* Add type specific controllers to tighten api around binding

* update documentation

v2.0.2

Toggle v2.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version (#14)