小编pra*_* Dp的帖子

如何根据不同的屏幕尺寸使应用程序响应?

我面临着根据各种屏幕尺寸使其响应的困难.如何使其响应?提前致谢

@override
       Widget build(BuildContext context) {
       return new Container(
       decoration: new BoxDecoration(color: Colors.white),
       child: new Stack(
        children: [
          new Padding(
            padding: const EdgeInsets.only(bottom: 350.0),
            child: new GradientAppBar(" "),
          ),
          new Positioned(
            bottom: 150.0,
            height: 260.0,
            left: 10.0,
            right: 10.0,
            child: new Padding(
              padding: new EdgeInsets.all(10.0),
              child: new Card(
                child: new Column(
                  mainAxisSize: MainAxisSize.min,
                  children: <Widget>[
                    const ListTile(
                      title: const Text(
                        'LOGIN',
                        textAlign: TextAlign.center,
                        style: const TextStyle(
                          fontSize: 16.50,
                          fontFamily: "Helvetica",
                          fontWeight: FontWeight.bold,
                          color: Colors.black87,
                          letterSpacing: 1.00,
                        ),
                      ),
                    ), …
Run Code Online (Sandbox Code Playgroud)

dart flutter

29
推荐指数
9
解决办法
4万
查看次数

如何在文本文件中将提示文本对齐到中心?

我正在尝试将对齐添加到文本字段中的提示文本。但它不起作用。如何把它带到中心?如何以曲线形状书写文字???

 Container(
           child: new TextFormField(
                       controller: _pass,
                       textAlign: TextAlign.center, 
                       decoration: new InputDecoration.collapsed(
                                             hintText: " PASSWORD", ), )),
Run Code Online (Sandbox Code Playgroud)

dart flutter

25
推荐指数
6
解决办法
3万
查看次数

如何使用nodejs在aws lambda函数中调用rest api

我已经创建了 aws lambda 函数。我想在我的 lambda 函数中使用 rest api 调用。是否有任何参考如何使用nodejs将其连接到rest api

amazon-web-services node.js aws-lambda

11
推荐指数
2
解决办法
2万
查看次数

如何使用现有的应用程序密钥库获取签名的 apk 以进行扑动?

我想上传一个示例 flutter 应用程序来代替具有相同包的现有应用程序。如何使用现有的密钥库详细信息构建已签名的 apk

dart flutter

9
推荐指数
2
解决办法
6653
查看次数

如何在 Flutter 中单击另一个扩展图块后折叠已打开的扩展图块?

我在我的应用程序中使用多个扩展图块。我需要在单击另一个图块后关闭已打开的图块。我尝试过使用默认情况下具有该功能的扩展面板。但我需要重新设计扩展瓷砖,所以我使用扩展瓷砖。如何在扩展磁贴中实现该功能

dart flutter

6
推荐指数
1
解决办法
8712
查看次数

如何在 Cassandra 数据库中使用连接?

我正在使用 Cassandra 数据库。我无法使用多个查询并组合两个表值,例如 join。有什么方法可以在 Cassandra 中实现连接

cassandra cassandra-3.0

1
推荐指数
1
解决办法
1780
查看次数