Skip to content

Instantly share code, notes, and snippets.

@kotrotko
kotrotko / input_multiform_seller.dart
Created Aug 2, 2021
An example of the original code for an interview
View input_multiform_seller.dart
//Screen to manage MAP and Description forms
import 'dart:collection';
import 'package:flutter/material.dart';
import 'package:flutter_map_live1/ui/widgets/seller_input/input_map_seller.dart';
import 'package:flutter_map_live1/ui/widgets/seller_input/input_description_seller.dart';
import 'package:flutter_map_live1/ui/widgets/seller_input/input_upload_seller.dart';
class StepperPage extends StatefulWidget {
StepperPage({Key? key, required this.title}) : super (key: key);
@kotrotko
kotrotko / script.js
Created Jan 15, 2021
Send Data To Internet
View script.js
import 'dart:async';
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
Future<User> createUser(String email) async {
final http.Response response = await http.post(
'http://10.0.11.157:8000/api/user',
headers: <String, String>{