Remove version

This commit is contained in:
Matej Bačo 2025-03-11 13:22:30 +00:00
parent 761fcd7cd7
commit bc66bcdbeb
5 changed files with 0 additions and 16 deletions

View File

@ -1,4 +1,3 @@
APPWRITE_VERSION=
APPWRITE_PROJECT_ID= APPWRITE_PROJECT_ID=
APPWRITE_PROJECT_NAME= APPWRITE_PROJECT_NAME=
APPWRITE_PUBLIC_ENDPOINT= APPWRITE_PUBLIC_ENDPOINT=

2
.gitignore vendored
View File

@ -83,5 +83,3 @@ fastlane/sign&cert
*.save *.save
._* ._*
*.bak *.bak
*.sh

View File

@ -3,12 +3,10 @@ class ProjectInfo {
final String endpoint; final String endpoint;
final String projectId; final String projectId;
final String projectName; final String projectName;
final String version;
ProjectInfo({ ProjectInfo({
required this.endpoint, required this.endpoint,
required this.projectId, required this.projectId,
required this.projectName, required this.projectName,
required this.version,
}); });
} }

View File

@ -8,7 +8,6 @@ import 'package:appwrite_flutter_starter_kit/data/models/project_info.dart';
/// It provides a helper method to ping the server. /// It provides a helper method to ping the server.
class AppwriteRepository { class AppwriteRepository {
static const String pingPath = "/ping"; static const String pingPath = "/ping";
static const String appwriteVersion = String.fromEnvironment('APPWRITE_VERSION');
static const String appwriteProjectId = String.fromEnvironment('APPWRITE_PROJECT_ID'); static const String appwriteProjectId = String.fromEnvironment('APPWRITE_PROJECT_ID');
static const String appwriteProjectName = String.fromEnvironment('APPWRITE_PROJECT_NAME'); static const String appwriteProjectName = String.fromEnvironment('APPWRITE_PROJECT_NAME');
static const String appwritePublicEndpoint = String.fromEnvironment('APPWRITE_PUBLIC_ENDPOINT'); static const String appwritePublicEndpoint = String.fromEnvironment('APPWRITE_PUBLIC_ENDPOINT');
@ -35,7 +34,6 @@ class AppwriteRepository {
endpoint: appwritePublicEndpoint, endpoint: appwritePublicEndpoint,
projectId: appwriteProjectId, projectId: appwriteProjectId,
projectName: appwriteProjectName, projectName: appwriteProjectName,
version: appwriteVersion,
); );
} }

View File

@ -242,15 +242,6 @@ class ProjectSection extends StatelessWidget {
ProjectRow(title: "Project ID", value: projectInfo.projectId), ProjectRow(title: "Project ID", value: projectInfo.projectId),
], ],
), ),
const SizedBox(height: 16),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
ProjectRow(
title: "Project Name", value: projectInfo.projectName),
ProjectRow(title: "Version", value: projectInfo.version),
],
),
], ],
), ),
), ),