File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 11import 'dart:ui' ;
22
3+ import 'package:flutter/foundation.dart' ;
34import 'package:flutter/material.dart' ;
45import 'package:portfolio/pages/project_page.dart' ;
56import 'package:portfolio/pages/projects/cofence_page.dart' ;
67import 'package:portfolio/pages/projects/fencing_tableau_page.dart' ;
78import 'package:portfolio/pages/projects/funcially_page.dart' ;
89
9- const double mediumScreenWidth = 1000 ;
10- // TODO: properly set this
11- const double largeScreenWidth = 2000 ;
10+ const double mediumScreenWidth = 950 ;
11+ const double largeScreenWidth = 1100 ;
1212
1313final birthday = DateTime (2007 , 02 , 18 );
1414
@@ -47,13 +47,25 @@ class ResponsiveContent extends StatelessWidget {
4747 ],
4848 );
4949 } else {
50- throw "todo" ;
50+ body = Align (
51+ alignment: Alignment .center,
52+ child: SizedBox (
53+ width: 3 / 4 * width,
54+ child: Row (
55+ children: [
56+ Expanded (child: header),
57+ const VerticalDivider (width: 50 ),
58+ Expanded (child: SingleChildScrollView (child: content)),
59+ ],
60+ ),
61+ ),
62+ );
5163 }
5264
5365 return Scaffold (
5466 body: SafeArea (
5567 child: Padding (
56- padding: const EdgeInsets .all (8 ),
68+ padding: const EdgeInsets .all (! kIsWeb ? 8 : 32 ),
5769 child: body,
5870 ),
5971 ),
You can’t perform that action at this time.
0 commit comments