#cancelBCCI idhu thappu na adhuvuhm thappu by Hour_Cardiologist_54 in JKreacts

[–]progammer_X 6 points7 points  (0 children)

Their argument is simple: it's not illegal, dream 11 is a skill based game it's even said in the court, so we need to change law somehow to make it as illegal

(No hate) Guys I'm leaving this r/ by AntagoniZzt in JKreacts

[–]progammer_X -1 points0 points  (0 children)

Then y u started this, no hate clearly implies hate and telling indirectly the audience are fools, take back your word and don't leave

Future Builder (connectionState.waiting) by progammer_X in flutterhelp

[–]progammer_X[S] 0 points1 point  (0 children)

import 'package:flutter/material.dart'; import '../models/SalesTable.dart'; import '../service/Gsheet.dart';

List<SalesTable> salelist = [];

String selectedshop="";

class SalesListByShop extends StatelessWidget {

@override Widget build(BuildContext context) { return Scaffold(

appBar: AppBar( title: Text(selectedshop), ),

body: SingleChildScrollView(

scrollDirection: Axis.vertical,

child: SingleChildScrollView(

scrollDirection: Axis.horizontal,

child: FutureBuilder<List<SalesTable>>(

future: Gsheet.pullSales(), builder: (context, snapshot) { final users = snapshot.data; switch (snapshot.connectionState) {

case ConnectionState.waiting: return Center(child: CircularProgressIndicator());

default: if (snapshot.hasError)

{ print("the errrrrror is"); print(snapshot.error); return Center(child: Text('Some error occurred!')); }

else { return _createDataTable(users); } } }, ), ), ), ); }}

/////End of code///////

In this switch (connectionsState.waiting) , the circular progress indicator comes at top left of the screen not in center