Skip to content

Instantly share code, notes, and snippets.

🌴
On vacation

Ab felagund18

🌴
On vacation
Block or report user

Report or block felagund18

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@felagund18
felagund18 / item.dart
Last active Jul 23, 2018
Pass data to StatelessWidget
View item.dart
import 'package:flutter/material.dart';
class Item extends StatelessWidget {
Item({Key key, this.param}) : super(key: key);
final Map param;
@override
Widget build(BuildContext context) {
return Container(
@felagund18
felagund18 / tab1.dart
Last active Jul 23, 2018
FutureBuilder test
View tab1.dart
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:async';
import 'dart:convert';
class tab1 extends StatelessWidget {
Future<List> _getData() async {
final response = await http.get('https://api.androidhive.info/contacts/');
You can’t perform that action at this time.