2
    Widget CustomBottomBar(BuildContext context)  {

    return Positioned(
      bottom: 0,
      width: MediaQuery.of(context).size.width,
      child: IgnorePointer(
        child: Stack(
          //alignment: Alignment.topCenter,
          children: <Widget>[
            Container(
              height: 150,
              width: MediaQuery.of(context).size.width,
              color: Colors.transparent,
              child: CircleAvatar(
                backgroundColor: Colors.transparent,
              child: ClipOval(
                child: new FlareActor("assets/robot.flr", alignment: Alignment.center, fit: BoxFit.contain, animation: "buscando",),
              ),
            ),
            ),
          ],
        ),
      ),
    );
  }

My little Actor takes 1-2 seconds to show up, can I do some coding to show another Flutter's own while this example loads a CircularProgressIndicator, if so, how can I do it?

Eduardo Gonzalez
  • 325
  • 1
  • 5
  • 14

0 Answers0