nova_grid 0.1.0
nova_grid: ^0.1.0 copied to clipboard
NovaGrid is a modern Flutter data table that supports advanced features like stacked headers, pagination, sorting, and customizable cell widgets. Built for flexibility, styling, and performance on the [...]
example/lib/main.dart
import 'package:example/tables/basic_grid.dart';
import 'package:example/tables/grid_with_custom_widget.dart';
import 'package:example/tables/table_with_pagination.dart';
import 'package:example/tables/table_with_stacked_header.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(home: NovaGridExamples());
}
}
class NovaGridExamples extends StatelessWidget {
const NovaGridExamples({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(10.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
spacing: 10,
children: [
Text("Basic Table"),
BasicGrid(),
SizedBox(height: 10),
Text("Table with Custom widgets"),
GridWithCustomWidget(),
SizedBox(height: 10),
Text("Table with Stacked widgets"),
TableWithStackedHeader(),
SizedBox(height: 10),
Text("Table with Pagnation"),
TableWithPagination(),
],
),
),
),
);
}
}