Skip to content

Instantly share code, notes, and snippets.

Coding use Rubic's Cube

Muhammad Norzariman Razari shiburagi

Coding use Rubic's Cube
Block or report user

Report or block shiburagi

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
View fix.dart
Future<List> _getAllEvents(String lectid) async{
var url = "http://www.71slabsolution.com/appointmy/geteventslect.php";
final response = await http.post(url,body: {
"useridval":lectid.toString(),
});
var jsonData = json.decode(response.body);
View samplesolution.dart
Future<List> _getAllEvents(String lectid) async {
var url = "http://www.71slabsolution.com/appointmy/geteventslect.php";
final response = await http.post(url, body: {
"useridval": lectid.toString(),
});
List<Map> jsonData = json.decode(response.body);
List<Event> events = jsonData.map((data) => Event.fromJson(data));
View event.dart
class Event {
String mSG;
String eVTID;
String iDUSER;
String eVTDETS;
String eVTDT;
String eVTTIMEFROM;
String eVTTIMETO;
String eVTSTAT;
View pin_input.dart
import 'package:flutter/material.dart';
class PinInput extends StatefulWidget {
PinInput(
{Key key,
this.numberOfBlock = 6,
this.controller,
this.validator,
this.decoration,
this.keyboardType,
You can’t perform that action at this time.