Comments (2)
@faisalansari0367
Have you looked at pinnedRowCount
and pinnedColumnCount
?
Take a look at below example and see if it helps in your case or not:
body: TableView.builder(
verticalDetails: const ScrollableDetails.vertical(reverse: true),
horizontalDetails: const ScrollableDetails.horizontal(reverse: true),
cellBuilder: (context, vicinity) => Container(
margin: const EdgeInsets.all(4),
color: Colors.grey,
),
diagonalDragBehavior: DiagonalDragBehavior.free,
pinnedRowCount: 1,
pinnedColumnCount: 1,
columnCount: 100,
columnBuilder: (int column) =>
const TableSpan(extent: FixedTableSpanExtent(64)),
rowCount: 100,
rowBuilder: (int row) =>
const TableSpan(extent: FixedTableSpanExtent(64)),
),
from flutter.
@faisalansari0367 Have you looked at
pinnedRowCount
andpinnedColumnCount
? Take a look at below example and see if it helps in your case or not:body: TableView.builder( verticalDetails: const ScrollableDetails.vertical(reverse: true), horizontalDetails: const ScrollableDetails.horizontal(reverse: true), cellBuilder: (context, vicinity) => Container( margin: const EdgeInsets.all(4), color: Colors.grey, ), diagonalDragBehavior: DiagonalDragBehavior.free, pinnedRowCount: 1, pinnedColumnCount: 1, columnCount: 100, columnBuilder: (int column) => const TableSpan(extent: FixedTableSpanExtent(64)), rowCount: 100, rowBuilder: (int row) => const TableSpan(extent: FixedTableSpanExtent(64)), ),
Thanks @darshankawar for the response. I will give it a try and let you know if it works for me.
Thanks
from flutter.
Related Issues (20)
- Error: Method not found: 'GlyphInfo'. Error: 'GlyphInfo' isn't a type. HOT 2
- Text is bouncing in TextFormField / TextField with multiline setting when typing in iOS, with Impeller on HOT 9
- [tool_crash] ProcessException: Operation did not complete successfully because the file contains a virus or potentially unwanted software. Command: C:\dev\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe, OS error code: 225 HOT 1
- Exception has occurred. ProcessException (ProcessException: The requested operation requires elevation. Command: C:\Windows\System32\osk.exe ) HOT 1
- issue found on android 13 HOT 1
- Flutter Web HTML render : TextAlign.justify = Lines that end with hard line breaks are not aligned towards the [start] edge HOT 2
- DropdownMenu does not highlight correct selected item HOT 6
- [libGLES_mali.so] /system/lib64/libEGL.so (android::eglSwapBuffersWithDamageKHRImpl(void*, void*, int*, int)+748) HOT 7
- video_player: Please add support for Windows HOT 1
- [quick_actions] Add support for Google Surfaces
- [Impeller] GLES Worker upload of textures isn't thread safe.
- google_maps_flutter web displays marker on map in desktop browser, but not displays marker in mobile browser HOT 5
- Inconsistent text field and button heights between web and mobile HOT 5
- linux-30 lost external connection from phone device. HOT 1
- mac-26 lost external connection from phone device. HOT 1
- mac-27 lost external connection from phone device. HOT 1
- linux-52 lost external connection from phone device. HOT 1
- mac-9 lost external connection from phone device. HOT 1
- linux-51 is dead. HOT 1
- [Impeller] AHB swapchains on emulators are not functional. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.