We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
here my code: child: SizedBox( width: MediaQuery.of(context).size.width * 0.95, height: MediaQuery.of(context).size.height * 0.6, child: StickyHeadersTable( columnsLength: numeroColonne, rowsLength: listImpiantiPerGriglia.length, columnsTitleBuilder: (i) { return Container( alignment: const Alignment(0, 0), height: altezzaCella, width: larghezzaCella, child: Text( attivita.titoliColonne[i], ), ); }, rowsTitleBuilder: (i) { return Padding( padding: const EdgeInsets.all(8.0), child: Text( titoliRigheRagsoc[i], ), ); }, cellDimensions: CellDimensions.fixed( contentCellWidth: larghezzaCella, contentCellHeight: altezzaCella, stickyLegendWidth: larghezzaLegend, stickyLegendHeight: altezzaCella), contentCellBuilder: (i, j) { return Container( alignment: const Alignment(0, 0), height: altezzaCella, width: larghezzaCella, child: Text( matriceCelle[j][i], ), ); }, ), ),
The text was updated successfully, but these errors were encountered:
I solved my question. My error was to calculate altezzaCella and larghezzaCella in proportion to the dimensions of the screen.
Sorry, something went wrong.
No branches or pull requests
here my code:
child: SizedBox(
width: MediaQuery.of(context).size.width * 0.95,
height: MediaQuery.of(context).size.height * 0.6,
child: StickyHeadersTable(
columnsLength: numeroColonne,
rowsLength: listImpiantiPerGriglia.length,
columnsTitleBuilder: (i) {
return Container(
alignment: const Alignment(0, 0),
height: altezzaCella,
width: larghezzaCella,
child: Text(
attivita.titoliColonne[i],
),
);
},
rowsTitleBuilder: (i) {
return Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
titoliRigheRagsoc[i],
),
);
},
cellDimensions: CellDimensions.fixed(
contentCellWidth: larghezzaCella,
contentCellHeight: altezzaCella,
stickyLegendWidth: larghezzaLegend,
stickyLegendHeight: altezzaCella),
contentCellBuilder: (i, j) {
return Container(
alignment: const Alignment(0, 0),
height: altezzaCella,
width: larghezzaCella,
child: Text(
matriceCelle[j][i],
),
);
},
),
),
The text was updated successfully, but these errors were encountered: