//Declare and initialize a matrix x having
//m rows and n columns, containing real numbers.
var x = new List.generate(m, (_) => new List(n));
int a = 3;
int b = 3;
var tList = List.generate(a, (i) => List(b), growable: false);
print(tList);
// [[null, null, null], [null, null, null], [null, null, null]]