- Exemplo de uso de uma widget semelhante a uma SnackBar
SnackbarAlert.show(
context: context,
child: const SnackbarDemo(),
);
- Exemplo de uso de uma widget semelhante a uma
Toast
Toast.show(
context: context,
message: 'my massage'
);
- Exemplo de uso de uma widget semelhante a uma Drawer
DrawerAlert.show(
context: context,
child: const DrawerDemo(),
);
- Exemplo de uso de uma widget semelhante a uma
FloatingButton
FloatingWidget.show(
context: context,
widget: Container(
height: 60,
width: 60,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(15),
color: Colors.blue[300],
),
child: const Icon(Icons.adb, color: Colors.white, size: 35),
)
);