if condition when post.text == 1 i setup Widget named exteranews
Widget exteranews(BuildContext context) {
double siz11 = 15.0 * MediaQuery.of(context).size.width / 414.0;
}
how to use if with that Container
Container(
if (checkothers) child: exteranews(context),
),
i set String checkothers = post.text;
i read i have to setup Widget to use run exteranews() but how to use if condition with it