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 \ 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 ## Getting Started
*This project tested on* *This project tested on*
* Web * Web
* Linux (Ubuntu 22.04 LTS) * Linux (Ubuntu 22.04 LTS)
* Pixel 6 API 33 (emulated) * Pixel 6 API 33 (emulated)
## Using ## 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 { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // 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. // 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. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion minSdkVersion flutter.minSdkVersion

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <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 INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. 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" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo_projekt"> package="com.example.demo_project">
<application <application
android:label="demo_projekt" android:label="demo_project"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<activity <activity

View File

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

View File

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

View File

@ -7,6 +7,7 @@ void main() {
class DemoApp extends StatelessWidget { class DemoApp extends StatelessWidget {
const DemoApp({super.key}); const DemoApp({super.key});
// This widget is the root of your application.
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( 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 name of the executable created for the application. Change this to change
# the on-disk name of your application. # 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: # The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID # 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 # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake. # versions of CMake.

View File

@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
if (use_header_bar) { if (use_header_bar) {
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar)); 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_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
} else { } else {
gtk_window_set_title(window, "demo_projekt"); gtk_window_set_title(window, "demo_project");
} }
gtk_window_set_default_size(window, 1280, 720); gtk_window_set_default_size(window, 1280, 720);

View File

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

View File

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

View File

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

View File

@ -18,18 +18,18 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible"> <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 --> <!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes"> <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-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"> <link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon --> <!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/> <link rel="icon" type="image/png" href="favicon.png"/>
<title>demo_projekt</title> <title>demo_project</title>
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<script> <script>

View File

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