ushio 2023.1.0 ushio: ^2023.1.0 copied to clipboard
A state management library inspired by the one used in SwiftUI.
Ushio 🧂 #
A state management library inspired by the one used in SwiftUI.
Differences of SwiftUI #
- Supported
@State
->state()
,stateList()
,stateMap()
@StateObject
->stateObject()
@Published
->published()
,publishedList()
,publishedMap()
@EnvironmentObject
->environmentObject()
- Not supported
@ObservedObject
Install #
flutter pub add ushio
Import:
import 'package:ushio/ushio.dart';
Usage #
See also examples.
License #
Apache License Version 2.0
Author #
SUZUKI Tetsuya (tetsuya.suzuki@gmail.com)