Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
F
flutter_demo
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
徐群-ios
flutter_demo
提交
4a654ff1
提交
4a654ff1
编写于
3月 08, 2023
作者:
zhuxueliang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
6dc3621c
变更
29
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
70 行增加
和
70 行删除
+70
-70
launch.json
.vscode/launch.json
+4
-4
README.md
README.md
+1
-1
build.gradle
android/app/build.gradle
+1
-1
AndroidManifest.xml
android/app/src/debug/AndroidManifest.xml
+1
-1
AndroidManifest.xml
android/app/src/main/AndroidManifest.xml
+2
-2
MainActivity.kt
...d/app/src/main/kotlin/com/example/my_app2/MainActivity.kt
+1
-1
AndroidManifest.xml
android/app/src/profile/AndroidManifest.xml
+1
-1
Info.plist
ios/Runner/Info.plist
+1
-1
CustomizationScreen.dart
lib/Customization/CustomizationScreen.dart
+4
-4
ProductListViewModel.dart
lib/Customization/ViewModel/ProductListViewModel.dart
+3
-3
Example01.dart
lib/Examples/Example01.dart
+2
-2
home_screen.dart
lib/Home/home_screen.dart
+7
-7
LoginScreen.dart
lib/Login/LoginScreen.dart
+2
-2
mine_screen.dart
lib/Mine/mine_screen.dart
+1
-1
MockData.dart
lib/MockDatas/MockData.dart
+1
-1
product_api.dart
lib/Network/api/product_api.dart
+3
-3
main.dart
lib/main.dart
+10
-10
CMakeLists.txt
linux/CMakeLists.txt
+2
-2
my_application.cc
linux/my_application.cc
+2
-2
project.pbxproj
macos/Runner.xcodeproj/project.pbxproj
+3
-3
Runner.xcscheme
...s/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+4
-4
AppInfo.xcconfig
macos/Runner/Configs/AppInfo.xcconfig
+1
-1
pubspec.yaml
pubspec.yaml
+1
-1
widget_test.dart
test/widget_test.dart
+1
-1
index.html
web/index.html
+2
-2
manifest.json
web/manifest.json
+2
-2
CMakeLists.txt
windows/CMakeLists.txt
+2
-2
Runner.rc
windows/runner/Runner.rc
+4
-4
main.cpp
windows/runner/main.cpp
+1
-1
未找到文件。
.vscode/launch.json
浏览文件 @
4a654ff1
...
...
@@ -5,10 +5,10 @@
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"name"
:
"m
y_app2
"
,
"name"
:
"m
agic_box
"
,
"request"
:
"launch"
,
"type"
:
"dart"
,
"deviceId"
:
"
00008030-000C18503A90802E
"
"deviceId"
:
"
6608FC90-B63B-4EE5-AF16-A5483082AA0F
"
},
{
"name"
:
"iOS模拟器"
,
...
...
@@ -23,13 +23,13 @@
"deviceId"
:
"B7195A0C-A207-403A-AEF5-ACD3D72C22B6"
},
{
"name"
:
"m
y_app2
(profile mode)"
,
"name"
:
"m
agic_box
(profile mode)"
,
"request"
:
"launch"
,
"type"
:
"dart"
,
"flutterMode"
:
"profile"
},
{
"name"
:
"m
y_app2
(release mode)"
,
"name"
:
"m
agic_box
(release mode)"
,
"request"
:
"launch"
,
"type"
:
"dart"
,
"flutterMode"
:
"release"
,
...
...
README.md
浏览文件 @
4a654ff1
# m
y_app2
# m
agic_box
A new Flutter project.
...
...
android/app/build.gradle
浏览文件 @
4a654ff1
...
...
@@ -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.m
y_app2
"
applicationId
"com.example.m
agic_box
"
// 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
...
...
android/app/src/debug/AndroidManifest.xml
浏览文件 @
4a654ff1
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.m
y_app2
"
>
package=
"com.example.m
agic_box
"
>
<!-- 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.
...
...
android/app/src/main/AndroidManifest.xml
浏览文件 @
4a654ff1
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.m
y_app2
"
>
package=
"com.example.m
agic_box
"
>
<application
android:label=
"m
y_app2
"
android:label=
"m
agic_box
"
android:name=
"${applicationName}"
android:icon=
"@mipmap/ic_launcher"
>
<activity
...
...
android/app/src/main/kotlin/com/example/my_app2/MainActivity.kt
浏览文件 @
4a654ff1
package
com.example.m
y_app2
package
com.example.m
agic_box
import
io.flutter.embedding.android.FlutterActivity
...
...
android/app/src/profile/AndroidManifest.xml
浏览文件 @
4a654ff1
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.m
y_app2
"
>
package=
"com.example.m
agic_box
"
>
<!-- 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.
...
...
ios/Runner/Info.plist
浏览文件 @
4a654ff1
...
...
@@ -13,7 +13,7 @@
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
m
y_app2
<
/string
>
<
string
>
m
agic_box
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
lib/Customization/CustomizationScreen.dart
浏览文件 @
4a654ff1
...
...
@@ -4,10 +4,10 @@ import 'package:easy_refresh/easy_refresh.dart';
import
'package:flutter/material.dart'
;
import
'package:flutter_spinkit/flutter_spinkit.dart'
;
import
'package:go_router/go_router.dart'
;
import
'package:m
y_app2
/Assets/AssetImages.dart'
;
import
'package:m
y_app2
/Config/Routes.dart'
;
import
'package:m
y_app2
/Customization/ViewModel/ProductListViewModel.dart'
;
import
'package:m
y_app2
/Models/ProductModel.dart'
;
import
'package:m
agic_box
/Assets/AssetImages.dart'
;
import
'package:m
agic_box
/Config/Routes.dart'
;
import
'package:m
agic_box
/Customization/ViewModel/ProductListViewModel.dart'
;
import
'package:m
agic_box
/Models/ProductModel.dart'
;
import
'package:provider/provider.dart'
;
class
CustomizationScreen
extends
StatelessWidget
{
...
...
lib/Customization/ViewModel/ProductListViewModel.dart
浏览文件 @
4a654ff1
import
'package:easy_refresh/easy_refresh.dart'
;
import
'package:flutter/material.dart'
;
import
'package:m
y_app2
/Models/ProductModel.dart'
;
import
'package:m
y_app2
/Network/api/product_api.dart'
;
import
'package:m
y_app2
/Network/http/BaseApi.dart'
;
import
'package:m
agic_box
/Models/ProductModel.dart'
;
import
'package:m
agic_box
/Network/api/product_api.dart'
;
import
'package:m
agic_box
/Network/http/BaseApi.dart'
;
class
ProductListViewModel
extends
ChangeNotifier
{
final
EasyRefreshController
refreshController
=
EasyRefreshController
(
...
...
lib/Examples/Example01.dart
浏览文件 @
4a654ff1
...
...
@@ -2,8 +2,8 @@ import 'dart:math';
import
'package:flutter/material.dart'
;
import
'package:flutter_swiper_view/flutter_swiper_view.dart'
;
import
'package:m
y_app2
/MockDatas/MockData.dart'
;
import
'package:m
y_app2
/Models/BuyerShowModel.dart'
;
import
'package:m
agic_box
/MockDatas/MockData.dart'
;
import
'package:m
agic_box
/Models/BuyerShowModel.dart'
;
import
'package:waterfall_flow/waterfall_flow.dart'
;
// ignore: must_be_immutable
...
...
lib/Home/
HomeS
creen.dart
→
lib/Home/
home_s
creen.dart
浏览文件 @
4a654ff1
import
'package:flutter/material.dart'
;
import
'package:m
y_app2
/MockDatas/MockData.dart'
;
import
'package:m
y_app2
/Models/BuyerShowModel.dart'
;
import
'package:m
agic_box
/MockDatas/MockData.dart'
;
import
'package:m
agic_box
/Models/BuyerShowModel.dart'
;
import
'package:flutter_swiper_view/flutter_swiper_view.dart'
;
import
'package:waterfall_flow/waterfall_flow.dart'
;
...
...
@@ -183,11 +183,11 @@ class _HomeScreenState extends State<HomeScreen> {
double
bannerH
=
500.0
/
375.0
*
screenW
+
49
;
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
''
),
backgroundColor:
Colors
.
transparent
,
elevation:
0.0
,
),
//
appBar: AppBar(
//
title: const Text(''),
//
backgroundColor: Colors.transparent,
//
elevation: 0.0,
//
),
backgroundColor:
const
Color
(
0xFFF7F7F7
),
extendBodyBehindAppBar:
true
,
body:
CustomScrollView
(
...
...
lib/Login/LoginScreen.dart
浏览文件 @
4a654ff1
import
'package:flutter/material.dart'
;
import
'package:go_router/go_router.dart'
;
import
'package:m
y_app2
/Login/ViewModel/UserViewModel.dart'
;
import
'package:m
agic_box
/Login/ViewModel/UserViewModel.dart'
;
import
'package:provider/provider.dart'
;
import
'package:m
y_app2
/Assets/AssetImages.dart'
;
import
'package:m
agic_box
/Assets/AssetImages.dart'
;
class
LoginScreen
extends
StatelessWidget
{
const
LoginScreen
({
super
.
key
});
...
...
lib/Mine/
MineS
creen.dart
→
lib/Mine/
mine_s
creen.dart
浏览文件 @
4a654ff1
...
...
@@ -7,7 +7,7 @@ class MineScreen extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
'我的'
)),
body:
const
Center
(
child:
Text
(
'我的'
)),
body:
const
Center
(
child:
Text
(
'我的
2
'
)),
);
}
}
lib/MockDatas/MockData.dart
浏览文件 @
4a654ff1
import
'dart:convert'
;
import
'package:flutter/services.dart'
show
rootBundle
;
import
'package:m
y_app2
/Models/BuyerShowModel.dart'
;
import
'package:m
agic_box
/Models/BuyerShowModel.dart'
;
class
BuyerShowResult
{
BuyerShowResult
(
this
.
total
,
this
.
page
,
this
.
pageSize
,
this
.
dataList
);
...
...
lib/Network/api/product_api.dart
浏览文件 @
4a654ff1
import
'package:m
y_app2
/Models/ProductModel.dart'
;
import
'package:m
y_app2
/Network/http/BaseApi.dart'
;
import
'package:m
y_app2
/Network/service/XmhService.dart'
;
import
'package:m
agic_box
/Models/ProductModel.dart'
;
import
'package:m
agic_box
/Network/http/BaseApi.dart'
;
import
'package:m
agic_box
/Network/service/XmhService.dart'
;
class
ProductListApi
extends
BaseApi
<
List
<
ProductModel
>>
{
ProductListApi
({
required
this
.
page
,
required
this
.
pageSize
});
...
...
lib/main.dart
浏览文件 @
4a654ff1
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'package:go_router/go_router.dart'
;
import
'package:m
y_app2
/Config/Routes.dart'
;
import
'package:m
y_app2
/Customization/CustomizationScreen.dart'
;
import
'package:m
y_app2
/Customization/ProductDetailScreen.dart'
;
import
'package:m
y_app2/Home/HomeS
creen.dart'
;
import
'package:m
y_app2
/Login/LoginScreen.dart'
;
import
'package:m
y_app2
/Login/ViewModel/UserViewModel.dart'
;
import
'package:m
y_app2/Mine/MineS
creen.dart'
;
import
'package:m
y_app2
/Network/http/ServiceManager.dart'
;
import
'package:m
y_app2
/Network/service/XmhService.dart'
;
import
'package:m
y_app2
/TabPageContainer.dart'
;
import
'package:m
agic_box
/Config/Routes.dart'
;
import
'package:m
agic_box
/Customization/CustomizationScreen.dart'
;
import
'package:m
agic_box
/Customization/ProductDetailScreen.dart'
;
import
'package:m
agic_box/Home/home_s
creen.dart'
;
import
'package:m
agic_box
/Login/LoginScreen.dart'
;
import
'package:m
agic_box
/Login/ViewModel/UserViewModel.dart'
;
import
'package:m
agic_box/Mine/mine_s
creen.dart'
;
import
'package:m
agic_box
/Network/http/ServiceManager.dart'
;
import
'package:m
agic_box
/Network/service/XmhService.dart'
;
import
'package:m
agic_box
/TabPageContainer.dart'
;
import
'package:provider/provider.dart'
;
void
main
(
)
{
...
...
linux/CMakeLists.txt
浏览文件 @
4a654ff1
...
...
@@ -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
"m
y_app2
"
)
set
(
BINARY_NAME
"m
agic_box
"
)
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set
(
APPLICATION_ID
"com.example.m
y_app2
"
)
set
(
APPLICATION_ID
"com.example.m
agic_box
"
)
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
...
...
linux/my_application.cc
浏览文件 @
4a654ff1
...
...
@@ -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
,
"m
y_app2
"
);
gtk_header_bar_set_title
(
header_bar
,
"m
agic_box
"
);
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
,
"m
y_app2
"
);
gtk_window_set_title
(
window
,
"m
agic_box
"
);
}
gtk_window_set_default_size
(
window
,
1280
,
720
);
...
...
macos/Runner.xcodeproj/project.pbxproj
浏览文件 @
4a654ff1
...
...
@@ -54,7 +54,7 @@
/* Begin PBXFileReference section */
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>"
;
};
33CC10ED2044A3C60003C045
/* m
y_app2.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
"my_app2
.app"
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
33CC10ED2044A3C60003C045
/* m
agic_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>"
;
};
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>"
;
};
...
...
@@ -105,7 +105,7 @@
33CC10EE2044A3C60003C045
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
33CC10ED2044A3C60003C045
/* m
y_app2
.app */
,
33CC10ED2044A3C60003C045
/* m
agic_box
.app */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -172,7 +172,7 @@
);
name
=
Runner
;
productName
=
Runner
;
productReference
=
33CC10ED2044A3C60003C045
/* m
y_app2
.app */
;
productReference
=
33CC10ED2044A3C60003C045
/* m
agic_box
.app */
;
productType
=
"com.apple.product-type.application"
;
};
/* End PBXNativeTarget section */
...
...
macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
浏览文件 @
4a654ff1
...
...
@@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"m
y_app2
.app"
BuildableName =
"m
agic_box
.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
...
...
@@ -31,7 +31,7 @@
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"m
y_app2
.app"
BuildableName =
"m
agic_box
.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
...
...
@@ -54,7 +54,7 @@
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"m
y_app2
.app"
BuildableName =
"m
agic_box
.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
...
...
@@ -71,7 +71,7 @@
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"m
y_app2
.app"
BuildableName =
"m
agic_box
.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
...
...
macos/Runner/Configs/AppInfo.xcconfig
浏览文件 @
4a654ff1
...
...
@@ -5,7 +5,7 @@
// 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = m
y_app2
PRODUCT_NAME = m
agic_box
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.myApp2
...
...
pubspec.yaml
浏览文件 @
4a654ff1
name
:
m
y_app2
name
:
m
agic_box
description
:
A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
...
...
test/widget_test.dart
浏览文件 @
4a654ff1
...
...
@@ -8,7 +8,7 @@
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:m
y_app2
/main.dart'
;
import
'package:m
agic_box
/main.dart'
;
void
main
(
)
{
testWidgets
(
'Counter increments smoke test'
,
(
WidgetTester
tester
)
async
{
...
...
web/index.html
浏览文件 @
4a654ff1
...
...
@@ -23,13 +23,13 @@
<!-- 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=
"m
y_app2
"
>
<meta
name=
"apple-mobile-web-app-title"
content=
"m
agic_box
"
>
<link
rel=
"apple-touch-icon"
href=
"icons/Icon-192.png"
>
<!-- Favicon -->
<link
rel=
"icon"
type=
"image/png"
href=
"favicon.png"
/>
<title>
m
y_app2
</title>
<title>
m
agic_box
</title>
<link
rel=
"manifest"
href=
"manifest.json"
>
<script>
...
...
web/manifest.json
浏览文件 @
4a654ff1
{
"name"
:
"m
y_app2
"
,
"short_name"
:
"m
y_app2
"
,
"name"
:
"m
agic_box
"
,
"short_name"
:
"m
agic_box
"
,
"start_url"
:
"."
,
"display"
:
"standalone"
,
"background_color"
:
"#0175C2"
,
...
...
windows/CMakeLists.txt
浏览文件 @
4a654ff1
# Project-level configuration.
cmake_minimum_required
(
VERSION 3.14
)
project
(
m
y_app2
LANGUAGES CXX
)
project
(
m
agic_box
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
"m
y_app2
"
)
set
(
BINARY_NAME
"m
agic_box
"
)
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
...
...
windows/runner/Runner.rc
浏览文件 @
4a654ff1
...
...
@@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "com.example" "\0"
VALUE "FileDescription", "m
y_app2
" "\0"
VALUE "FileDescription", "m
agic_box
" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "m
y_app2
" "\0"
VALUE "InternalName", "m
agic_box
" "\0"
VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0"
VALUE "OriginalFilename", "m
y_app2
.exe" "\0"
VALUE "ProductName", "m
y_app2
" "\0"
VALUE "OriginalFilename", "m
agic_box
.exe" "\0"
VALUE "ProductName", "m
agic_box
" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END
...
...
windows/runner/main.cpp
浏览文件 @
4a654ff1
...
...
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow
window
(
project
);
Win32Window
::
Point
origin
(
10
,
10
);
Win32Window
::
Size
size
(
1280
,
720
);
if
(
!
window
.
Create
(
L"m
y_app2
"
,
origin
,
size
))
{
if
(
!
window
.
Create
(
L"m
agic_box
"
,
origin
,
size
))
{
return
EXIT_FAILURE
;
}
window
.
SetQuitOnClose
(
true
);
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录