Flutter web app with StickyHeadersTable do not scroll neither vertically nor horizontally
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],
),
);
},
),
),
How to make my scroller over the image not cutting off its rounded container top?
I designed a controller that allows for having an image at the top and a scrolling container below.
When the user scroll up, the image reduces its size, while scrolling the rest .
How to make may scroller over the image not cutting off its rounded container top?
I designed a controller that allows for having an image at the top and a scrolling container below.
When the user scroll up, the image reduces its size, while scrolling the rest .
Flutter CustomScrollView doesn’t work in web with the property scrollDirection: Axis.horizontal
I have tried the interactive example of the Flutter API documentation about CustomScrollView widget (https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html) but simply adding the property scrollDirection: Axis.horizontal to show the items like columns, and the scroll with the mouse doesn’t work in the web navigator when I have many items added.
Flutter CustomScrollView doesn’t work in web with the property scrollDirection: Axis.horizontal
I have tried the interactive example of the Flutter API documentation about CustomScrollView widget (https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html) but simply adding the property scrollDirection: Axis.horizontal to show the items like columns, and the scroll with the mouse doesn’t work in the web navigator when I have many items added.
Automatic Scroll with WidgetsBinding.instance.addPostFrameCallback Works on iOS but Not on Android
I’m working on a Flutter app and I’m trying to implement automatic scrolling to a specific index in a ListView after the widget tree has been built. I’m using the following code to achieve this: