global_wings 1.0.0 copy "global_wings: ^1.0.0" to clipboard
global_wings: ^1.0.0 copied to clipboard

outdated

An awesome Flutter package to manage state of program declaratively and functionally.

Global Wings

Fast, enjoyable, declaratively and functionally state management in flutter

You can also view a video demonstration if are a video person

Global Wings #

An awesome Flutter package to share data across widgets and services without having to pass them directly.

Inspiration #

This package is inspired from javascript way of storing objects in map like structures and redux way of making state global.

Usage #

You can use global_wings to manage state as follows.

Widget build(BuildContext context) {

  // changeStore
  useStore('orders') ;

  save('cod', 10);
  save( 'cod' , serve('cod' ) * 2); // results in cod : 20
  logCompleteStore()
  return Container(child: Text(serve('cod').toString()));
}

Global Wings ❤️ Flutter #

Global Wings was written with Flutter in mind. It is a perfect fit for managing primitive variables that don't need type inference like strings and ints:

Licence #

Copyright 2020 Chetan Jain

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An awesome Flutter package to manage state of program declaratively and functionally.

License

unknown (LICENSE)

More

Packages that depend on global_wings