Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix filename convention to lowercase_with_underscores #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:admin/constants.dart';
import 'package:admin/controllers/MenuAppController.dart';
import 'package:admin/controllers/menu_app_controller.dart';
import 'package:admin/screens/main/main_screen.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/models/MyFiles.dart → lib/models/my_files.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ List demoMyFiles = [
CloudStorageInfo(
title: "Documents",
numOfFiles: 1328,
svgSrc: "assets/icons/Documents.svg",
svgSrc: "assets/icons/documents.svg",
totalStorage: "1.9GB",
color: primaryColor,
percentage: 35,
Expand Down
2 changes: 1 addition & 1 deletion lib/models/RecentFile.dart → lib/models/recent_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ List demoRecentFiles = [
size: "3.5mb",
),
RecentFile(
icon: "assets/icons/Figma_file.svg",
icon: "assets/icons/figma_file.svg",
title: "Figma File",
date: "27-02-2021",
size: "19.0mb",
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/dashboard/components/file_info_card.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:admin/models/MyFiles.dart';
import 'package:admin/models/my_files.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

Expand Down
4 changes: 2 additions & 2 deletions lib/screens/dashboard/components/header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:admin/controllers/MenuAppController.dart';
import 'package:admin/controllers/menu_app_controller.dart';
import 'package:admin/responsive.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
Expand Down Expand Up @@ -96,7 +96,7 @@ class SearchField extends StatelessWidget {
color: primaryColor,
borderRadius: const BorderRadius.all(Radius.circular(10)),
),
child: SvgPicture.asset("assets/icons/Search.svg"),
child: SvgPicture.asset("assets/icons/search.svg"),
),
),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/dashboard/components/my_fields.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:admin/models/MyFiles.dart';
import 'package:admin/models/my_files.dart';
import 'package:admin/responsive.dart';
import 'package:flutter/material.dart';

Expand Down
3 changes: 1 addition & 2 deletions lib/screens/dashboard/components/my_files.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

import 'package:admin/responsive.dart';
import 'package:flutter/material.dart';
import 'package:admin/models/MyFiles.dart';
import 'package:admin/models/my_files.dart';
import '../../../constants.dart';
import 'file_info_card.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/screens/dashboard/components/recent_files.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:admin/models/RecentFile.dart';
import 'package:admin/models/recent_file.dart';

import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/dashboard/components/storage_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class StorageDetails extends StatelessWidget {
SizedBox(height: defaultPadding),
Chart(),
StorageInfoCard(
svgSrc: "assets/icons/Documents.svg",
svgSrc: "assets/icons/documents.svg",
title: "Documents Files",
amountOfFiles: "1.3GB",
numOfFiles: 1328,
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/main/main_screen.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:admin/controllers/MenuAppController.dart';
import 'package:admin/controllers/menu_app_controller.dart';
import 'package:admin/responsive.dart';
import 'package:admin/screens/dashboard/dashboard_screen.dart';
import 'package:flutter/material.dart';
Expand Down
2 changes: 1 addition & 1 deletion macos/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :osx, '10.11'
platform :osx, '10.14'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
11 changes: 6 additions & 5 deletions macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 54;
objects = {

/* Begin PBXAggregateTarget section */
Expand Down Expand Up @@ -203,7 +203,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "";
TargetAttributes = {
33CC10EC2044A3C60003C045 = {
Expand Down Expand Up @@ -256,6 +256,7 @@
/* Begin PBXShellScriptBuildPhase section */
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -404,7 +405,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down Expand Up @@ -483,7 +484,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand Down Expand Up @@ -530,7 +531,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1000"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down