Bug arreglado

parent adcb0b2f
......@@ -30,6 +30,7 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> {
children: [
GestureDetector(
onTap: () {
print('Hola');
setState(() {
_agregarOpen = false;
_convertirOpen = false;
......@@ -38,10 +39,13 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> {
_convertirKey.currentState?.close();
},
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.end,
children: [..._buildFABs()],
Align(
alignment: Alignment.bottomCenter,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.end,
children: [..._buildFABs()],
),
)
],
),
......@@ -72,6 +76,7 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> {
_agregarOpen = false;
_convertirOpen = !_convertirOpen;
});
print("Hola");
_agregarKey.currentState?.close();
_convertirKey.currentState?.tap();
},
......
......@@ -78,7 +78,7 @@ class ExpandableFabState extends State<ExpandableFab>
Widget build(BuildContext context) {
return Container(
width: _computeWidth(),
height: _open? 56 + (widget.distance*widget.children.length) : (MediaQuery.of(context).size.height),
height: _open? 56 + (widget.distance*widget.children.length) : 56,
child: SizedBox.expand(
child: Stack(
alignment: widget.invert? Alignment.bottomLeft : Alignment.bottomRight,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment