提交 4a654ff1 编写于 作者: zhuxueliang's avatar zhuxueliang

fix

上级 6dc3621c
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "my_app2", "name": "magic_box",
"request": "launch", "request": "launch",
"type": "dart", "type": "dart",
"deviceId": "00008030-000C18503A90802E" "deviceId": "6608FC90-B63B-4EE5-AF16-A5483082AA0F"
}, },
{ {
"name": "iOS模拟器", "name": "iOS模拟器",
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
"deviceId": "B7195A0C-A207-403A-AEF5-ACD3D72C22B6" "deviceId": "B7195A0C-A207-403A-AEF5-ACD3D72C22B6"
}, },
{ {
"name": "my_app2 (profile mode)", "name": "magic_box (profile mode)",
"request": "launch", "request": "launch",
"type": "dart", "type": "dart",
"flutterMode": "profile" "flutterMode": "profile"
}, },
{ {
"name": "my_app2 (release mode)", "name": "magic_box (release mode)",
"request": "launch", "request": "launch",
"type": "dart", "type": "dart",
"flutterMode": "release", "flutterMode": "release",
......
# my_app2 # magic_box
A new Flutter project. A new Flutter project.
......
...@@ -44,7 +44,7 @@ android { ...@@ -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.my_app2" applicationId "com.example.magic_box"
// 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
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.my_app2"> package="com.example.magic_box">
<!-- 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.
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.my_app2"> package="com.example.magic_box">
<application <application
android:label="my_app2" android:label="magic_box"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<activity <activity
......
package com.example.my_app2 package com.example.magic_box
import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.android.FlutterActivity
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.my_app2"> package="com.example.magic_box">
<!-- 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.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>my_app2</string> <string>magic_box</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
......
...@@ -4,10 +4,10 @@ import 'package:easy_refresh/easy_refresh.dart'; ...@@ -4,10 +4,10 @@ import 'package:easy_refresh/easy_refresh.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart'; import 'package:flutter_spinkit/flutter_spinkit.dart';
import 'package:go_router/go_router.dart'; import 'package:go_router/go_router.dart';
import 'package:my_app2/Assets/AssetImages.dart'; import 'package:magic_box/Assets/AssetImages.dart';
import 'package:my_app2/Config/Routes.dart'; import 'package:magic_box/Config/Routes.dart';
import 'package:my_app2/Customization/ViewModel/ProductListViewModel.dart'; import 'package:magic_box/Customization/ViewModel/ProductListViewModel.dart';
import 'package:my_app2/Models/ProductModel.dart'; import 'package:magic_box/Models/ProductModel.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
class CustomizationScreen extends StatelessWidget { class CustomizationScreen extends StatelessWidget {
......
import 'package:easy_refresh/easy_refresh.dart'; import 'package:easy_refresh/easy_refresh.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:my_app2/Models/ProductModel.dart'; import 'package:magic_box/Models/ProductModel.dart';
import 'package:my_app2/Network/api/product_api.dart'; import 'package:magic_box/Network/api/product_api.dart';
import 'package:my_app2/Network/http/BaseApi.dart'; import 'package:magic_box/Network/http/BaseApi.dart';
class ProductListViewModel extends ChangeNotifier { class ProductListViewModel extends ChangeNotifier {
final EasyRefreshController refreshController = EasyRefreshController( final EasyRefreshController refreshController = EasyRefreshController(
......
...@@ -2,8 +2,8 @@ import 'dart:math'; ...@@ -2,8 +2,8 @@ import 'dart:math';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_swiper_view/flutter_swiper_view.dart'; import 'package:flutter_swiper_view/flutter_swiper_view.dart';
import 'package:my_app2/MockDatas/MockData.dart'; import 'package:magic_box/MockDatas/MockData.dart';
import 'package:my_app2/Models/BuyerShowModel.dart'; import 'package:magic_box/Models/BuyerShowModel.dart';
import 'package:waterfall_flow/waterfall_flow.dart'; import 'package:waterfall_flow/waterfall_flow.dart';
// ignore: must_be_immutable // ignore: must_be_immutable
......
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:my_app2/MockDatas/MockData.dart'; import 'package:magic_box/MockDatas/MockData.dart';
import 'package:my_app2/Models/BuyerShowModel.dart'; import 'package:magic_box/Models/BuyerShowModel.dart';
import 'package:flutter_swiper_view/flutter_swiper_view.dart'; import 'package:flutter_swiper_view/flutter_swiper_view.dart';
import 'package:waterfall_flow/waterfall_flow.dart'; import 'package:waterfall_flow/waterfall_flow.dart';
...@@ -183,11 +183,11 @@ class _HomeScreenState extends State<HomeScreen> { ...@@ -183,11 +183,11 @@ class _HomeScreenState extends State<HomeScreen> {
double bannerH = 500.0 / 375.0 * screenW + 49; double bannerH = 500.0 / 375.0 * screenW + 49;
return Scaffold( return Scaffold(
appBar: AppBar( // appBar: AppBar(
title: const Text(''), // title: const Text(''),
backgroundColor: Colors.transparent, // backgroundColor: Colors.transparent,
elevation: 0.0, // elevation: 0.0,
), // ),
backgroundColor: const Color(0xFFF7F7F7), backgroundColor: const Color(0xFFF7F7F7),
extendBodyBehindAppBar: true, extendBodyBehindAppBar: true,
body: CustomScrollView( body: CustomScrollView(
......
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart'; import 'package:go_router/go_router.dart';
import 'package:my_app2/Login/ViewModel/UserViewModel.dart'; import 'package:magic_box/Login/ViewModel/UserViewModel.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:my_app2/Assets/AssetImages.dart'; import 'package:magic_box/Assets/AssetImages.dart';
class LoginScreen extends StatelessWidget { class LoginScreen extends StatelessWidget {
const LoginScreen({super.key}); const LoginScreen({super.key});
......
...@@ -7,7 +7,7 @@ class MineScreen extends StatelessWidget { ...@@ -7,7 +7,7 @@ class MineScreen extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar(title: const Text('我的')), appBar: AppBar(title: const Text('我的')),
body: const Center(child: Text('我的')), body: const Center(child: Text('我的2')),
); );
} }
} }
import 'dart:convert'; import 'dart:convert';
import 'package:flutter/services.dart' show rootBundle; import 'package:flutter/services.dart' show rootBundle;
import 'package:my_app2/Models/BuyerShowModel.dart'; import 'package:magic_box/Models/BuyerShowModel.dart';
class BuyerShowResult { class BuyerShowResult {
BuyerShowResult(this.total, this.page, this.pageSize, this.dataList); BuyerShowResult(this.total, this.page, this.pageSize, this.dataList);
......
import 'package:my_app2/Models/ProductModel.dart'; import 'package:magic_box/Models/ProductModel.dart';
import 'package:my_app2/Network/http/BaseApi.dart'; import 'package:magic_box/Network/http/BaseApi.dart';
import 'package:my_app2/Network/service/XmhService.dart'; import 'package:magic_box/Network/service/XmhService.dart';
class ProductListApi extends BaseApi<List<ProductModel>> { class ProductListApi extends BaseApi<List<ProductModel>> {
ProductListApi({required this.page, required this.pageSize}); ProductListApi({required this.page, required this.pageSize});
......
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:go_router/go_router.dart'; import 'package:go_router/go_router.dart';
import 'package:my_app2/Config/Routes.dart'; import 'package:magic_box/Config/Routes.dart';
import 'package:my_app2/Customization/CustomizationScreen.dart'; import 'package:magic_box/Customization/CustomizationScreen.dart';
import 'package:my_app2/Customization/ProductDetailScreen.dart'; import 'package:magic_box/Customization/ProductDetailScreen.dart';
import 'package:my_app2/Home/HomeScreen.dart'; import 'package:magic_box/Home/home_screen.dart';
import 'package:my_app2/Login/LoginScreen.dart'; import 'package:magic_box/Login/LoginScreen.dart';
import 'package:my_app2/Login/ViewModel/UserViewModel.dart'; import 'package:magic_box/Login/ViewModel/UserViewModel.dart';
import 'package:my_app2/Mine/MineScreen.dart'; import 'package:magic_box/Mine/mine_screen.dart';
import 'package:my_app2/Network/http/ServiceManager.dart'; import 'package:magic_box/Network/http/ServiceManager.dart';
import 'package:my_app2/Network/service/XmhService.dart'; import 'package:magic_box/Network/service/XmhService.dart';
import 'package:my_app2/TabPageContainer.dart'; import 'package:magic_box/TabPageContainer.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
void main() { void main() {
......
...@@ -4,10 +4,10 @@ project(runner LANGUAGES CXX) ...@@ -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 "my_app2") set(BINARY_NAME "magic_box")
# 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.my_app2") set(APPLICATION_ID "com.example.magic_box")
# 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.
......
...@@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) { ...@@ -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, "my_app2"); gtk_header_bar_set_title(header_bar, "magic_box");
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, "my_app2"); gtk_window_set_title(window, "magic_box");
} }
gtk_window_set_default_size(window, 1280, 720); gtk_window_set_default_size(window, 1280, 720);
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; }; 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; }; 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* my_app2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "my_app2.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10ED2044A3C60003C045 /* magic_box.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "magic_box.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; }; 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; }; 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
33CC10EE2044A3C60003C045 /* Products */ = { 33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
33CC10ED2044A3C60003C045 /* my_app2.app */, 33CC10ED2044A3C60003C045 /* magic_box.app */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
); );
name = Runner; name = Runner;
productName = Runner; productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* my_app2.app */; productReference = 33CC10ED2044A3C60003C045 /* magic_box.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "my_app2.app" BuildableName = "magic_box.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "my_app2.app" BuildableName = "magic_box.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "my_app2.app" BuildableName = "magic_box.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "my_app2.app" BuildableName = "magic_box.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// 'flutter create' template. // 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window. // The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = my_app2 PRODUCT_NAME = magic_box
// The application's bundle identifier // The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.myApp2 PRODUCT_BUNDLE_IDENTIFIER = com.example.myApp2
......
name: my_app2 name: magic_box
description: A new Flutter project. description: A new Flutter project.
# The following line prevents the package from being accidentally published to # The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages. # pub.dev using `flutter pub publish`. This is preferred for private packages.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,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:my_app2/main.dart'; import 'package:magic_box/main.dart';
void main() { void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async { testWidgets('Counter increments smoke test', (WidgetTester tester) async {
......
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
<!-- 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="my_app2"> <meta name="apple-mobile-web-app-title" content="magic_box">
<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>my_app2</title> <title>magic_box</title>
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<script> <script>
......
{ {
"name": "my_app2", "name": "magic_box",
"short_name": "my_app2", "short_name": "magic_box",
"start_url": ".", "start_url": ".",
"display": "standalone", "display": "standalone",
"background_color": "#0175C2", "background_color": "#0175C2",
......
# Project-level configuration. # Project-level configuration.
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.14)
project(my_app2 LANGUAGES CXX) project(magic_box 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 "my_app2") set(BINARY_NAME "magic_box")
# 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.
......
...@@ -90,12 +90,12 @@ BEGIN ...@@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4" BLOCK "040904e4"
BEGIN BEGIN
VALUE "CompanyName", "com.example" "\0" VALUE "CompanyName", "com.example" "\0"
VALUE "FileDescription", "my_app2" "\0" VALUE "FileDescription", "magic_box" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "my_app2" "\0" VALUE "InternalName", "magic_box" "\0"
VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0" VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0"
VALUE "OriginalFilename", "my_app2.exe" "\0" VALUE "OriginalFilename", "magic_box.exe" "\0"
VALUE "ProductName", "my_app2" "\0" VALUE "ProductName", "magic_box" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0"
END END
END END
......
...@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, ...@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project); FlutterWindow window(project);
Win32Window::Point origin(10, 10); Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720); Win32Window::Size size(1280, 720);
if (!window.Create(L"my_app2", origin, size)) { if (!window.Create(L"magic_box", origin, size)) {
return EXIT_FAILURE; return EXIT_FAILURE;
} }
window.SetQuitOnClose(true); window.SetQuitOnClose(true);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册