Flutter 颤振弹出对话框
我想弹出显示,因为他们有在facebook上,右下方的图像容器。 下面是我想在下面弹出的图像容器的代码:Flutter 颤振弹出对话框,flutter,flutter-layout,Flutter,Flutter Layout,我想弹出显示,因为他们有在facebook上,右下方的图像容器。 下面是我想在下面弹出的图像容器的代码: InkWell( onTap: (){ // Popup box or Dialog here }, child: Container( height: 260, color: Hexcolor('#637dd6'
InkWell(
onTap: (){
// Popup box or Dialog here
},
child: Container(
height: 260,
color: Hexcolor('#637dd6'),
child: Center(
child: Stack(
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 0.0),
child: CircleAvatar(
radius: 80,
backgroundImage: AssetImage(SvgImages.profile),
),
),
Positioned(
top: 0,
right: 10,
child: Container(
height: 40,
width: 40,
child: Icon(
Icons.camera_enhance,
color: Colors.white,
),
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Hexcolor('#0565ac'),
),
))
],
),
),
),
),
InkWell(
onTap:(){
//弹出框或对话框
},
子:容器(
身高:260,
颜色:Hexcolor(“#637dd6”),
儿童:中心(
子:堆栈(
儿童:[
填充物(
填充:仅限常量边集(左:0.0),
孩子:圆环星(
半径:80,
背景图片:AssetImage(SvgImages.profile),
),
),
定位(
排名:0,
右:10,,
子:容器(
身高:40,
宽度:40,
子:图标(
Icons.camera\u增强,
颜色:颜色,白色,
),
装饰:盒子装饰(
形状:BoxShape.circle,
颜色:Hexcolor(“#0565ac”),
),
))
],
),
),
),
),
以下是我的代码输出:
这是我想在图像下方创建的弹出窗口: