Ran flutter create . to create new files based on changed package name.
				
					
				
			This commit is contained in:
		
							
								
								
									
										30
									
								
								.metadata
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								.metadata
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
				
			|||||||
# This file should be version controlled and should not be manually edited.
 | 
					# This file should be version controlled and should not be manually edited.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
version:
 | 
					version:
 | 
				
			||||||
  revision: "68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3"
 | 
					  revision: "c23637390482d4cf9598c3ce3f2be31aa7332daf"
 | 
				
			||||||
  channel: "stable"
 | 
					  channel: "stable"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
project_type: app
 | 
					project_type: app
 | 
				
			||||||
@@ -13,26 +13,26 @@ project_type: app
 | 
				
			|||||||
migration:
 | 
					migration:
 | 
				
			||||||
  platforms:
 | 
					  platforms:
 | 
				
			||||||
    - platform: root
 | 
					    - platform: root
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
    - platform: android
 | 
					    - platform: android
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
    - platform: ios
 | 
					    - platform: ios
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
    - platform: linux
 | 
					    - platform: linux
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
    - platform: macos
 | 
					    - platform: macos
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
    - platform: web
 | 
					    - platform: web
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
    - platform: windows
 | 
					    - platform: windows
 | 
				
			||||||
      create_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
      base_revision: 68415ad1d920f6fe5ec284f5c2febf7c4dd5b0b3
 | 
					      base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # User provided section
 | 
					  # User provided section
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										44
									
								
								android/app/build.gradle.kts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								android/app/build.gradle.kts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
				
			|||||||
 | 
					plugins {
 | 
				
			||||||
 | 
					    id("com.android.application")
 | 
				
			||||||
 | 
					    id("kotlin-android")
 | 
				
			||||||
 | 
					    // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
 | 
				
			||||||
 | 
					    id("dev.flutter.flutter-gradle-plugin")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					android {
 | 
				
			||||||
 | 
					    namespace = "com.hyperling.flutter_expense_tracker"
 | 
				
			||||||
 | 
					    compileSdk = flutter.compileSdkVersion
 | 
				
			||||||
 | 
					    ndkVersion = flutter.ndkVersion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    compileOptions {
 | 
				
			||||||
 | 
					        sourceCompatibility = JavaVersion.VERSION_11
 | 
				
			||||||
 | 
					        targetCompatibility = JavaVersion.VERSION_11
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    kotlinOptions {
 | 
				
			||||||
 | 
					        jvmTarget = JavaVersion.VERSION_11.toString()
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    defaultConfig {
 | 
				
			||||||
 | 
					        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
 | 
				
			||||||
 | 
					        applicationId = "com.hyperling.flutter_expense_tracker"
 | 
				
			||||||
 | 
					        // You can update the following values to match your application needs.
 | 
				
			||||||
 | 
					        // For more information, see: https://flutter.dev/to/review-gradle-config.
 | 
				
			||||||
 | 
					        minSdk = flutter.minSdkVersion
 | 
				
			||||||
 | 
					        targetSdk = flutter.targetSdkVersion
 | 
				
			||||||
 | 
					        versionCode = flutter.versionCode
 | 
				
			||||||
 | 
					        versionName = flutter.versionName
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    buildTypes {
 | 
				
			||||||
 | 
					        release {
 | 
				
			||||||
 | 
					            // TODO: Add your own signing config for the release build.
 | 
				
			||||||
 | 
					            // Signing with the debug keys for now, so `flutter run --release` works.
 | 
				
			||||||
 | 
					            signingConfig = signingConfigs.getByName("debug")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					flutter {
 | 
				
			||||||
 | 
					    source = "../.."
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					package com.hyperling.flutter_expense_tracker
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import io.flutter.embedding.android.FlutterActivity
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class MainActivity : FlutterActivity()
 | 
				
			||||||
							
								
								
									
										21
									
								
								android/build.gradle.kts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								android/build.gradle.kts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					allprojects {
 | 
				
			||||||
 | 
					    repositories {
 | 
				
			||||||
 | 
					        google()
 | 
				
			||||||
 | 
					        mavenCentral()
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
 | 
				
			||||||
 | 
					rootProject.layout.buildDirectory.value(newBuildDir)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					subprojects {
 | 
				
			||||||
 | 
					    val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
 | 
				
			||||||
 | 
					    project.layout.buildDirectory.value(newSubprojectBuildDir)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					subprojects {
 | 
				
			||||||
 | 
					    project.evaluationDependsOn(":app")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tasks.register<Delete>("clean") {
 | 
				
			||||||
 | 
					    delete(rootProject.layout.buildDirectory)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										25
									
								
								android/settings.gradle.kts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								android/settings.gradle.kts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					pluginManagement {
 | 
				
			||||||
 | 
					    val flutterSdkPath = run {
 | 
				
			||||||
 | 
					        val properties = java.util.Properties()
 | 
				
			||||||
 | 
					        file("local.properties").inputStream().use { properties.load(it) }
 | 
				
			||||||
 | 
					        val flutterSdkPath = properties.getProperty("flutter.sdk")
 | 
				
			||||||
 | 
					        require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
 | 
				
			||||||
 | 
					        flutterSdkPath
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    repositories {
 | 
				
			||||||
 | 
					        google()
 | 
				
			||||||
 | 
					        mavenCentral()
 | 
				
			||||||
 | 
					        gradlePluginPortal()
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					plugins {
 | 
				
			||||||
 | 
					    id("dev.flutter.flutter-plugin-loader") version "1.0.0"
 | 
				
			||||||
 | 
					    id("com.android.application") version "8.7.0" apply false
 | 
				
			||||||
 | 
					    id("org.jetbrains.kotlin.android") version "1.8.22" apply false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include(":app")
 | 
				
			||||||
							
								
								
									
										30
									
								
								test/widget_test.dart
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								test/widget_test.dart
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					// This is a basic Flutter widget test.
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					// To perform an interaction with a widget in your test, use the WidgetTester
 | 
				
			||||||
 | 
					// utility in the flutter_test package. For example, you can send tap and scroll
 | 
				
			||||||
 | 
					// gestures. You can also use WidgetTester to find child widgets in the widget
 | 
				
			||||||
 | 
					// tree, read text, and verify that the values of widget properties are correct.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import 'package:flutter/material.dart';
 | 
				
			||||||
 | 
					import 'package:flutter_test/flutter_test.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import 'package:flutter_expense_tracker/main.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void main() {
 | 
				
			||||||
 | 
					  testWidgets('Counter increments smoke test', (WidgetTester tester) async {
 | 
				
			||||||
 | 
					    // Build our app and trigger a frame.
 | 
				
			||||||
 | 
					    await tester.pumpWidget(const MyApp());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Verify that our counter starts at 0.
 | 
				
			||||||
 | 
					    expect(find.text('0'), findsOneWidget);
 | 
				
			||||||
 | 
					    expect(find.text('1'), findsNothing);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Tap the '+' icon and trigger a frame.
 | 
				
			||||||
 | 
					    await tester.tap(find.byIcon(Icons.add));
 | 
				
			||||||
 | 
					    await tester.pump();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Verify that our counter has incremented.
 | 
				
			||||||
 | 
					    expect(find.text('0'), findsNothing);
 | 
				
			||||||
 | 
					    expect(find.text('1'), findsOneWidget);
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user