This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from MXCzkEVM/local_backup
fix: other chains dapps & instant loading
- Loading branch information
Showing
14 changed files
with
330 additions
and
452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 3 additions & 33 deletions
36
lib/features/dapps/presentation/responsive_layout/card_item.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,9 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; | ||
|
||
class CardCrossAxisCount { | ||
static const int mobile = 4; | ||
static const int tablet = 5; | ||
static const int mobile = 6; | ||
static const int tablet = 7; | ||
} | ||
|
||
class CardMainAxisCount { | ||
static const int mobile = 3; | ||
static const int tablet = 4; | ||
} | ||
|
||
|
||
class CardSizes { | ||
static Widget large({required Widget child}) { | ||
return StaggeredGridTile.count( | ||
crossAxisCellCount: 4, | ||
mainAxisCellCount: 2, | ||
child: child, | ||
); | ||
} | ||
|
||
static Widget medium({required Widget child}) { | ||
return StaggeredGridTile.count( | ||
crossAxisCellCount: 2, | ||
mainAxisCellCount: 2, | ||
child: child, | ||
); | ||
} | ||
|
||
static Widget small({required Widget child}) { | ||
return StaggeredGridTile.count( | ||
crossAxisCellCount: 1, | ||
mainAxisCellCount: 1, | ||
child: child, | ||
); | ||
} | ||
static const int tablet = 5; | ||
} |
Oops, something went wrong.