atreeon_datagrid_responsive 0.4.0 copy "atreeon_datagrid_responsive: ^0.4.0" to clipboard
atreeon_datagrid_responsive: ^0.4.0 copied to clipboard

A datagrid with sorting and filtering capabilities. It is also responsive to screen size. Fully Typed.

example/lib/main.dart

import 'package:atreeon_menu_flutter/menuItem.dart';
import 'package:atreeon_menu_flutter/menuSand.dart';
import 'package:example/datagrid/DataGridDateDemo.dart';
import 'package:example/datagrid/DataGridFilterSelectableItemsDemo.dart';
import 'package:example/datagrid/DataGridHeightsDemo.dart';
import 'package:example/datagrid/DataGridHidePaginationDemo.dart';
import 'package:example/datagrid/DataGridHighlightedRowsDemo.dart';
import 'package:example/datagrid/DataGridInAColumnEtcDemo.dart';
import 'package:example/datagrid/DataGridMaxHeightDemo.dart';
import 'package:example/datagrid/DataGridPublicDemo.dart';
import 'package:example/datagrid/DataGridWrapLongTextDemo.dart';
import 'package:example/datagrid/DatagridPreSelectedItemsDemo.dart';
import 'package:example/supporting/DataTableDefaultExample.dart';
import 'package:example/supporting/PaginatedDataTableDefaultExample.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

import 'datagrid/DataGridFilterSortSetDemo.dart';
import 'datagrid/VeryLongListDemo.dart';
import 'supporting/TextEditingControllerExample.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);

  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) => MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: MyHomePage(),
      );
}

class MyHomePage extends StatelessWidget {
  Widget build(BuildContext context) {
    return SafeArea(
      child: MenuSand("Datagrid", [
        MenuSubMenu("Datagrid Demos", [
          MenuItemAdi("DataGridHighlightedRowsDemo", () => DataGridHighlightedRowsDemo()),
          MenuItemAdi("DataGridPublicDemo", () => DataGridPublicDemo()),
          MenuItemAdi("DataGridHeightsDemo", () => DataGridHeightsDemo()),
          MenuItemAdi("DataGridWrapLongTextDemo", () => DataGridWrapLongTextDemo()),
          MenuItemAdi("DataGridDateDemo", () => DataGridDateDemo()),
          MenuItemAdi("DataGridFilterSortSetDemo", () => DataGridFilterSortSetDemo()),
          MenuItemAdi("VeryLongListDemo", () => VeryLongListDemo()),
          MenuItemAdi("DataGridHidePaginationDemo", () => DataGridHidePaginationDemo()),
          MenuItemAdi("DataGridFilterSelectableItemsDemo", () => DataGridFilterSelectableItemsDemo()),
          MenuItemAdi("DatagridPreSelectedItemsDemo", () => DatagridPreSelectedItemsDemo()),
          MenuItemAdi("DataGridMaxHeightDemo", () => DataGridMaxHeightDemo()),
          MenuItemAdi("DataGridInAColumnEtcDemo", () => DataGridInAColumnEtcDemo()),
        ]),
        MenuSubMenu("supporting", [
          MenuItemAdi("TextEditingControllerExample", () => TextEditingControllerExample()),
          MenuItemAdi("PaginatedDataTableDefaultExample", () => PaginatedDataTableDefaultExample()),
          MenuItemAdi("DataTableDefaultExample", () => DataTableDefaultExample()),
        ]),
      ]),
    );
  }
}
7
likes
80
pub points
41%
popularity

Publisher

verified publisheratreeon.com

A datagrid with sorting and filtering capabilities. It is also responsive to screen size. Fully Typed.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

adaptive_dialog, atreeon_get_child_size, dartx, diacritic, flutter, font_awesome_flutter, intl, optional

More

Packages that depend on atreeon_datagrid_responsive