build method
Override to build the animation.
Implementation
@override
Widget build(BuildContext context) {
if (state.value) {
return child;
} else {
return const SizedBox();
}
}
Override to build the animation.
@override
Widget build(BuildContext context) {
if (state.value) {
return child;
} else {
return const SizedBox();
}
}