This repository was archived by the owner on Mar 11, 2025. It is now read-only.
forked from bosskmk/pluto_grid
-
Notifications
You must be signed in to change notification settings - Fork 31
[Bug] Scrollbar not visible anymore in the new PlutoGridPlus version. #140
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Steps to reproduce the bug
- Try to scroll in the PlutoGrid.
Expected results
See the scrollbar.
Actual results
The scrollbar is not visible anymore in the new versions of PlutoGridPlus.
Last working version is 8.4.3
Code sample
import 'package:flutter/material.dart';
import 'package:pluto_grid_plus/pluto_grid_plus.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'PlutoGrid Example',
home: Scaffold(
appBar: AppBar(title: const Text('PlutoGrid Example')),
body: const SimplePlutoGrid(),
),
);
}
}
class SimplePlutoGrid extends StatelessWidget {
const SimplePlutoGrid({super.key});
@override
Widget build(BuildContext context) {
return PlutoGrid(
configuration: PlutoGridConfiguration(
scrollbar: const PlutoGridScrollbarConfig(
isAlwaysShown: true,
scrollbarThickness: 8,
scrollbarThicknessWhileDragging: 10,
),
),
columns: List.generate(
3,
(index) => PlutoColumn(
title: 'Column $index',
field: 'field$index',
type: PlutoColumnType.text(),
),
),
rows: List.generate(
100,
(index) => PlutoRow(
cells: {
'field0': PlutoCell(value: 'Row $index - Col 0'),
'field1': PlutoCell(value: 'Row $index - Col 1'),
'field2': PlutoCell(value: 'Row $index - Col 2'),
},
),
),
);
}
}Execution Environment
Flutter version
Flutter version is 3.29.0
PlutoGrid version
PlutoGrid version from 8.4.4
OS
Windows 11
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working