草庐IT

xamarin.mobile

全部标签

mobile - 如何从 Dart 中的异步数据中提取?

我正在尝试读取文件(异步)并返回数据列表。然后,我想在每个给定的数字都是线高时使用CustomPainter画线(我想画多条线)classBarChartPainterextendsCustomPainter{@overridepaint(Canvascanvas,Sizesize){finalpaint=newPaint()..color=AppColors.primaryColor..style=PaintingStyle.fill;varfuturePath=run();futurePath.then((height){print('1:$height');for(varline

mobile - Flutter Tabs 抛出空指针异常 -> Material.of(context).color 计算为 null

我正在关注找到的flutter画廊中提供的示例expansiona_panels_demo.darthere.我的目标是在扩展面板主体中引入TabBar和TabBarView。截至目前,这正在中断,因为在tabs.dart中抛出了一个空指针异常。这是在_TabBarState中,它正在与widget.indicatorColor进行比较。如果您要查看演示,我将尝试在第251行调用newBookTabs()。if(color.value==Material.of(context).color.value)这里Material.of(context).color为空为了整合代码,我将选项卡

mobile - Flutter Tabs 抛出空指针异常 -> Material.of(context).color 计算为 null

我正在关注找到的flutter画廊中提供的示例expansiona_panels_demo.darthere.我的目标是在扩展面板主体中引入TabBar和TabBarView。截至目前,这正在中断,因为在tabs.dart中抛出了一个空指针异常。这是在_TabBarState中,它正在与widget.indicatorColor进行比较。如果您要查看演示,我将尝试在第251行调用newBookTabs()。if(color.value==Material.of(context).color.value)这里Material.of(context).color为空为了整合代码,我将选项卡

mobile - 卡片布局 - Flutter

我正在尝试使用flutter构建一张卡片,看起来像下面显示的概念,但我得到的却是这个。这是Dart中的卡片小部件代码:@overrideWidgetbuild(BuildContextcontext){returnCenter(child:Card(margin:EdgeInsets.symmetric(horizontal:14.0),color:Colors.white,elevation:6.0,child:InkWell(splashColor:Colors.blue.withAlpha(30),onLongPress:(){_copy();},onTap:(){},child

mobile - 卡片布局 - Flutter

我正在尝试使用flutter构建一张卡片,看起来像下面显示的概念,但我得到的却是这个。这是Dart中的卡片小部件代码:@overrideWidgetbuild(BuildContextcontext){returnCenter(child:Card(margin:EdgeInsets.symmetric(horizontal:14.0),color:Colors.white,elevation:6.0,child:InkWell(splashColor:Colors.blue.withAlpha(30),onLongPress:(){_copy();},onTap:(){},child

mobile - 使用 Flutter 开发 Salesforce

我知道Flutter是新的,移动Salesforce开发有点小众,但是是否有对移动Salesforce开发的全面支持使用Flutter? 最佳答案 我不知道这是否有帮助,但粗略的谷歌搜索产生了这个:https://github.com/wmathurin/SalesforceMobileSDK-FlutterPlugin/tree/dev 关于mobile-使用Flutter开发Salesforce,我们在StackOverflow上找到一个类似的问题: ht

mobile - 使用 Flutter 开发 Salesforce

我知道Flutter是新的,移动Salesforce开发有点小众,但是是否有对移动Salesforce开发的全面支持使用Flutter? 最佳答案 我不知道这是否有帮助,但粗略的谷歌搜索产生了这个:https://github.com/wmathurin/SalesforceMobileSDK-FlutterPlugin/tree/dev 关于mobile-使用Flutter开发Salesforce,我们在StackOverflow上找到一个类似的问题: ht

c# - Android - 无法在 Xamarin.forms 中打开数据库(SQLite 异常)

如果之前有人问过这个问题,我很抱歉,但我已经很好地搜索了这个问题,但我没有找到答案。我在我的Xamarin表单项目(PCL)中使用SQLite处理本地数据库。1-连接在iOS中运行良好,但在android中我遇到了这个问题(无法打开数据库文件)我还设置了“ReadExternalStoarage”和“WriteExternalStoarage”权限。2-我使用了另一种创建连接路径的方法:stringdocumentsPath=System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);strin

c# - Android - 无法在 Xamarin.forms 中打开数据库(SQLite 异常)

如果之前有人问过这个问题,我很抱歉,但我已经很好地搜索了这个问题,但我没有找到答案。我在我的Xamarin表单项目(PCL)中使用SQLite处理本地数据库。1-连接在iOS中运行良好,但在android中我遇到了这个问题(无法打开数据库文件)我还设置了“ReadExternalStoarage”和“WriteExternalStoarage”权限。2-我使用了另一种创建连接路径的方法:stringdocumentsPath=System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);strin

sqlite - Xamarin Crash on iOS only on SQLite update call for model

仅在iOS上使用SQLitePCL进行更新时应用程序崩溃。在Android上运行良好。有人有什么想法吗?我的SQLiteNuGet在App.SqliteConnection.Update(pAssetRecovery)处崩溃publicstaticasyncTaskUpdate(Models.Model_AssetRecoverypAssetRecovery){try{awaitTask.Run(()=>App.SqliteConnection.Update(pAssetRecovery));}catch(SystemExceptionex){}}正在保存的模型[Table("tblA