小编Rah*_*dik的帖子

无法上传大于 1 MB 的文件

我正在尝试使用 Spring Boot 上传大于 1Mb 的文件

hereorg.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes.
    at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl.<init>(FileUploadBase.java:618) ~[tomcat-embed-core-8.5.28.jar:8.5.28]
Run Code Online (Sandbox Code Playgroud)

apache file-upload multipart spring-boot

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

使AppBar透明并显示设置为全屏的背景图像

我在Flutter应用程序中添加了AppBar。我的屏幕已经具有背景图像,我不想在其中设置appBar颜色或不想为appBar设置单独的背景图像。

我也想向appBar显示相同的屏幕背景图像。

我已经尝试过将appBar颜色设置为透明,但是它显示的颜色像灰色。

示例代码:

appBar: new AppBar(
        centerTitle: true,
//        backgroundColor: Color(0xFF0077ED),
        elevation: 0.0,
        title: new Text(
            "DASHBOARD",
            style: const TextStyle(
                color:  const Color(0xffffffff),
                fontWeight: FontWeight.w500,
                fontFamily: "Roboto",
                fontStyle:  FontStyle.normal,
                fontSize: 19.0
            )),
      )
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

dart flutter flutter-appbar

3
推荐指数
8
解决办法
1万
查看次数