Skip to content

Instantly share code, notes, and snippets.

View kotrotko's full-sized avatar

kotrotko kotrotko

View GitHub Profile
@kotrotko
kotrotko / script.js
Created January 15, 2021 11:11
Send Data To Internet
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>{
@kotrotko
kotrotko / input_multiform_seller.dart
Created August 2, 2021 10:25
An example of the original code for an interview
//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);