Skip to content

Commit

Permalink
Update DevicePreview configuration in main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
c3k4ah committed Apr 24, 2024
1 parent d3e1c8e commit aca0295
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
}
runApp(
DevicePreview(
enabled: true,
enabled: false,
builder: (context) => const MyApp(), // Wrap your app
),
);
Expand Down
40 changes: 20 additions & 20 deletions lib/pages/home/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,26 @@ class _HomePageState extends State<HomePage> {
controller: _scrollController,
child: Column(
children: [
// const CoverPhotoPart(),
// MyProjectPart(
// size: Size(
// _size.width(context),
// _size.height(context),
// ),
// ),
// MyParcoursPart(
// size: Size(
// _size.width(context),
// _size.height(context),
// ),
// ),
// const MyBigPart(),
// AwardPart(
// size: Size(
// _size.width(context),
// _size.height(context),
// ),
// ),
const CoverPhotoPart(),
MyProjectPart(
size: Size(
_size.width(context),
_size.height(context),
),
),
MyParcoursPart(
size: Size(
_size.width(context),
_size.height(context),
),
),
const MyBigPart(),
AwardPart(
size: Size(
_size.width(context),
_size.height(context),
),
),
MyFooterPart(
size: Size(
_size.width(context),
Expand Down

0 comments on commit aca0295

Please sign in to comment.