如何在Flutter中设计以下应用栏?

问题描述 投票:-2回答:1

The following Image AppBar.Please provide me the hint for the Following screenshot.

flutter flutter-layout
1个回答
0
投票

要创建上述UI,可以以Scaffold Widget开头,并将appBar属性分配给满足您要求的自定义小部件。

下面是一个简短的例子

void build(BuildContext context) {
    return Scaffold(
        appBar: YourCustomAppBar();
    );
}
© www.soinside.com 2019 - 2024. All rights reserved.