I want to size an icon inside a container to be the size of that container so that it would not be small in larger devices due to hard coding the size value. I was trying something like this
Container(
child: Icon(
Icons.beach_access,
size: double.infinity,
)
)