A package that automatically generate a loading widget from your own widget.
redacted as a dependency in your pubspec.yaml file.
dependencies: redacted: [Latest-Version]
Don’t forget to
flutter pub get.
ShoeWidget() .redacted(context: context, redact: true)
You can change the color and the duration of the animation by using
ShoeWidget().redacted( context: context, redact: true, configuration: RedactedConfiguration( animationDuration = const Duration(milliseconds: 800), //default ), )
If you have some widget that you want to keep the same for example you have a title and a value and want to keep the title but redact the value then you can do the following:
If you want to hide some widget insted of redacting it then you can do the following:
The widgets that are currently supported in this pacakge are:
More widgets will be added in the future.