build method
Implementation
@override
Widget build(BuildContext context, data) {
if (data) return onTrue ?? SizedBox();
return onFalse ?? SizedBox();
}
@override
Widget build(BuildContext context, data) {
if (data) return onTrue ?? SizedBox();
return onFalse ?? SizedBox();
}