Fixing Typos

main
Joerg 2023-03-31 21:27:40 +02:00
parent 3b77157c87
commit 84dfa9393d
14 changed files with 34 additions and 28 deletions

View File

@ -1,14 +1,18 @@
# demo_projekt
# demo project
[![Quality Gate Status](https://766965726c696e68.synology.me:5445/api/project_badges/measure?project=CPD_Aufgabe1&metric=alert_status&token=sqb_c54b02bdf970202113472dc343d8e36abf4b9558)](https://766965726c696e68.synology.me:5445/dashboard?id=CPD_Aufgabe1)
[![GitLab pipeline status](https://766965726c696e68.synology.me:5446/Joerg/cpd_aufgabe1/badges/main/pipeline.svg)](https://766965726c696e68.synology.me:5446/Joerg/cpd_aufgabe1/-/commits/main)
*Sonarqube & GitLab only for private use (nonpublic information)*
Based on the standard Flutter demo for the course CPD \
Create by student Jörg Vierling Mat.Nr 322871
Create by student Jörg Vierling Mat.Nr.: 322871
## Getting Started
*This project tested on*
* Web
* Web
* Linux (Ubuntu 22.04 LTS)
* Pixel 6 API 33 (emulated)
## Using
Press the '+' button at the bottom of the screen to increase the number in the middle.
Press the '+' button at the bottom of the screen to increase the number in the middle.

View File

@ -44,7 +44,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.demo_projekt"
applicationId "com.example.demo_project"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo_projekt">
package="com.example.demo_project">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.

View File

@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo_projekt">
package="com.example.demo_project">
<application
android:label="demo_projekt"
android:label="demo_project"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity

View File

@ -1,4 +1,4 @@
package com.example.demo_projekt
package com.example.demo_project
import io.flutter.embedding.android.FlutterActivity

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo_projekt">
package="com.example.demo_project">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.

View File

@ -7,6 +7,7 @@ void main() {
class DemoApp extends StatelessWidget {
const DemoApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(

View File

@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "demo_projekt")
set(BINARY_NAME "demo_project")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.example.demo_projekt")
set(APPLICATION_ID "com.example.demo_project")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

View File

@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
if (use_header_bar) {
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "demo_projekt");
gtk_header_bar_set_title(header_bar, "demo_project");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
} else {
gtk_window_set_title(window, "demo_projekt");
gtk_window_set_title(window, "demo_project");
}
gtk_window_set_default_size(window, 1280, 720);

View File

@ -84,7 +84,7 @@ packages:
source: hosted
version: "0.6.5"
lints:
dependency: "direct dev"
dependency: transitive
description:
name: lints
sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593"

View File

@ -1,8 +1,9 @@
name: demo_projekt
description: A demo project for the CPD course.
publish_to: 'none'
name: demo_project
description: A demo Flutter project for CPD.
version: 1.0.0
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=2.19.6 <3.0.0'
@ -10,14 +11,14 @@ environment:
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
lints: ^2.0.1
flutter:
uses-material-design: true

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:demo_projekt/main.dart';
import 'package:demo_project/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {

View File

@ -18,18 +18,18 @@
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="A new Flutter project.">
<meta name="description" content="A demo Flutter project for CPD.">
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="demo_projekt">
<meta name="apple-mobile-web-app-title" content="demo_project">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<title>demo_projekt</title>
<title>demo_project</title>
<link rel="manifest" href="manifest.json">
<script>

View File

@ -1,11 +1,11 @@
{
"name": "demo_projekt",
"short_name": "demo_projekt",
"name": "demo_project",
"short_name": "demo_project",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "A new Flutter project.",
"description": "A demo Flutter project for CPD.",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [