diff --git a/design_patterns/lib/main.dart b/design_patterns/lib/main.dart index e34ef7c..bac0f00 100644 --- a/design_patterns/lib/main.dart +++ b/design_patterns/lib/main.dart @@ -13,6 +13,20 @@ void main() { } List sampleCatalogue = [ + SampleMeta( + 'Extended Canvas', + 'View locations on a map extended across both screens.', + 'https://github.com/microsoft/flutter-dualscreen-samples/blob/main/lib/extended_canvas/extended_canvas.dart', + '/extended-canvas', + (context) => ExtendedCanvas(), + ), + SampleMeta( + 'List Detail', + 'List of images on one screen and image details on the other screen.', + 'https://github.com/microsoft/flutter-dualscreen-samples/blob/main/lib/list_detail/list_detail.dart', + '/list-detail', + (context) => ListDetail(), + ), SampleMeta( 'Two Page', 'A book-like reading experience. You can see two pages simultaneously.', @@ -48,20 +62,6 @@ List sampleCatalogue = [ '/hinge-angle', (context) => HingeAngle(), ), - SampleMeta( - 'List Detail', - 'List of images on one screen and image details on the other screen.', - 'https://github.com/microsoft/flutter-dualscreen-samples/blob/main/lib/list_detail/list_detail.dart', - '/list-detail', - (context) => ListDetail(), - ), - SampleMeta( - 'Extended Canvas', - 'View locations on a map extended across both screens.', - 'https://github.com/microsoft/flutter-dualscreen-samples/blob/main/lib/extended_canvas/extended_canvas.dart', - '/extended-canvas', - (context) => ExtendedCanvas(), - ), ]; class SampleMeta {