Please add MediaQuery.of(context).size.shortestSide
Activity
sumitsharansatsangi commentedon Feb 17, 2025
Use .r, It will Adapt your design according to the shortest side.
Like :