Dart Solution
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```dart []\nclass Solution {\n  int areaOfMaxDiagonal(List<List<int>> dimensions) {\n    int maxDiagonal = 0;\n    int maxArea = 0;\n    for(int i =0 ;i<dimensions.length;i++){\n        int length = dimensions[i][0];\n        int width = dimensions[i][1];\n\n        int diagonal = length * length + width* width;\n        int area = length * width;\n\n        if(diagonal > maxDiagonal || diagonal == maxDiagonal && area > maxArea){\n            maxDiagonal = diagonal;\n            maxArea = area;\n        }\n    }\n    return maxArea;\n  }\n}\n```
['Array', 'Dart']