Bug arreglado

parent adcb0b2f
...@@ -30,6 +30,7 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> { ...@@ -30,6 +30,7 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> {
children: [ children: [
GestureDetector( GestureDetector(
onTap: () { onTap: () {
print('Hola');
setState(() { setState(() {
_agregarOpen = false; _agregarOpen = false;
_convertirOpen = false; _convertirOpen = false;
...@@ -38,10 +39,13 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> { ...@@ -38,10 +39,13 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> {
_convertirKey.currentState?.close(); _convertirKey.currentState?.close();
}, },
), ),
Row( Align(
mainAxisAlignment: MainAxisAlignment.spaceBetween, alignment: Alignment.bottomCenter,
crossAxisAlignment: CrossAxisAlignment.end, child: Row(
children: [..._buildFABs()], mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.end,
children: [..._buildFABs()],
),
) )
], ],
), ),
...@@ -72,6 +76,7 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> { ...@@ -72,6 +76,7 @@ class _ConVertexFabBarState extends State<ConVertexFabBar> {
_agregarOpen = false; _agregarOpen = false;
_convertirOpen = !_convertirOpen; _convertirOpen = !_convertirOpen;
}); });
print("Hola");
_agregarKey.currentState?.close(); _agregarKey.currentState?.close();
_convertirKey.currentState?.tap(); _convertirKey.currentState?.tap();
}, },
......
...@@ -78,7 +78,7 @@ class ExpandableFabState extends State<ExpandableFab> ...@@ -78,7 +78,7 @@ class ExpandableFabState extends State<ExpandableFab>
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
width: _computeWidth(), 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: SizedBox.expand(
child: Stack( child: Stack(
alignment: widget.invert? Alignment.bottomLeft : Alignment.bottomRight, 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