你好,我无法用 Cocoapods 解决这个问题,任何人都可以帮助我是我第一次使用这个 import- import 'package:flutter_vlc_player/flutter_vlc_player.Dart'; 而不是什么可能是错的。
(我在 mac 上使用 android studio)
错误:
在调试模式下在 iPhone 11 上启动 lib/main.dart... 运行 pod install... 1,3s CocoaPods' 输出:?准备
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `flutter_vlc_player` from `.symlinks/plugins/flutter_vlc_player/ios`
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
[!] CocoaPods could …Run Code Online (Sandbox Code Playgroud) 我有一个用 Flutter 编写的程序,我想将表单居中于屏幕中间,但我无法实现。我尝试使用对齐,但我认为我没有正确使用它!有人可以帮助我吗?谢谢
class _Defini extends State<Definicoes> {
GlobalKey<FormState> _formkey = GlobalKey<FormState>();
@override
Widget build(BuildContext context) {
return Scaffold(
bottomNavigationBar:
...
body: Container(
color: Colors.amber.withOpacity(0.80),
child: Align(
alignment: Alignment(0, 0),
child: Form(
key: _formkey,
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
Container(
width: 300,
height: 300,
child: TextFormField(
keyboardType: TextInputType.number,
decoration: InputDecoration(
labelText: "RaspberryPi",
labelStyle: TextStyle(color: Colors.white)),
textAlign: TextAlign.center,
style: TextStyle(color: Colors.white, fontSize: 25.0),
validator: (value) {
if (value.isEmpty){
return "Insira";
}
},
),
),
Container(
decoration: BoxDecoration(
boxShadow: [
BoxShadow( …Run Code Online (Sandbox Code Playgroud)