Category : dart

Recently I have been dabbling with dart servers. I wanted to get everything to be dockerized for debugging purposes and likely eventually for release purposes. I have a server that I am successfully serving in a docker container. I am successfully attaching to the process in vscode by usings the launch.json dart/attach method the comes ..

Read more

i’m facing a problem with a request flutter in internal cluster kube. in my container flutter web, i try to call an api with this endpoint my-service.my-namespace.cluster.local/routes/test But whene i do my request the code below does auto-format the url this way : http://my-service.my-namespace.cluster.local/routes/test or ://my-service.my-namespace.cluster.local/routes/test var response = await http.post( request.url, headers: header, body: ..

Read more

I’m trying to connect a simple Dart web server to a php website, but it seems like other containers can’t reach it even though I have bound the HTTP server to 0.0.0.0. How can I resolve it? Thanks anyway. docker-compose.yaml version: ‘3’ services: my-api: build: ./server_api ports: – 5060:5060 website: image: php:apache volumes: – ./website:/var/www/html ..

Read more