Skip to content

Commit

Permalink
Made spelling corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
aslight0013 committed May 6, 2023
1 parent f7fc1f6 commit b621d2e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"Jolie"
]
}
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion lib/models/RecentFile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ List demoRecentFiles = [
size: "3.5mb",
),
RecentFile(
icon: "assets/icons/excle_file.svg",
icon: "assets/icons/excel_file.svg",
title: "Excel File",
date: "25-02-2021",
size: "34.5mb",
Expand Down
2 changes: 1 addition & 1 deletion lib/responsive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Responsive extends StatelessWidget {

// This size work fine on my design, maybe you need some customization depends on your design

// This isMobile, isTablet, isDesktop helep us later
// This isMobile, isTablet, isDesktop help us later
static bool isMobile(BuildContext context) =>
MediaQuery.of(context).size.width < 850;

Expand Down
4 changes: 2 additions & 2 deletions lib/screens/dashboard/components/chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Chart extends StatelessWidget {
sectionsSpace: 0,
centerSpaceRadius: 70,
startDegreeOffset: -90,
sections: paiChartSelectionDatas,
sections: paiChartSelectionData,
),
),
Positioned.fill(
Expand All @@ -45,7 +45,7 @@ class Chart extends StatelessWidget {
}
}

List<PieChartSectionData> paiChartSelectionDatas = [
List<PieChartSectionData> paiChartSelectionData = [
PieChartSectionData(
color: primaryColor,
value: 25,
Expand Down
4 changes: 2 additions & 2 deletions lib/screens/dashboard/components/storage_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import '../../../constants.dart';
import 'chart.dart';
import 'storage_info_card.dart';

class StarageDetails extends StatelessWidget {
const StarageDetails({
class StorageDetails extends StatelessWidget {
const StorageDetails({
Key? key,
}) : super(key: key);

Expand Down
6 changes: 3 additions & 3 deletions lib/screens/dashboard/dashboard_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ class DashboardScreen extends StatelessWidget {
RecentFiles(),
if (Responsive.isMobile(context))
SizedBox(height: defaultPadding),
if (Responsive.isMobile(context)) StarageDetails(),
if (Responsive.isMobile(context)) StorageDetails(),
],
),
),
if (!Responsive.isMobile(context))
SizedBox(width: defaultPadding),
// On Mobile means if the screen is less than 850 we dont want to show it
// On Mobile means if the screen is less than 850 we don't want to show it
if (!Responsive.isMobile(context))
Expanded(
flex: 2,
child: StarageDetails(),
child: StorageDetails(),
),
],
)
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/main/components/side_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SideMenu extends StatelessWidget {
),
DrawerListTile(
title: "Dashboard",
svgSrc: "assets/icons/menu_dashbord.svg",
svgSrc: "assets/icons/menu_dashboard.svg",
press: () {},
),
DrawerListTile(
Expand Down

0 comments on commit b621d2e

Please sign in to comment.