flutter_dynamic_table 0.0.8 copy "flutter_dynamic_table: ^0.0.8" to clipboard
flutter_dynamic_table: ^0.0.8 copied to clipboard

Flutter Dynamic Tables Package

Flutter Dynamic Tables #

Flutter Dynamic Tables package lets you add a beautiful and dynamic tables to your Flutter app.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  flutter_dynamic_tables: ^0.0.1
  1. Import the package and use it in your Flutter App.
import 'package:flutter_dynamic_tables/flutter_dynamic_tables.dart';

Example #

There are a number of properties that you can modify:

  • columnWidth;
  • tableHeight;
  • tableColor;
  • columnColor;
  • cellColor;

class TableWidget extends StatelessWidget {  
  const TableWidget({Key? key}) : super(key: key);  
  
  @override  
  Widget build(BuildContext context) {  
    return Scaffold(
      body: Center(  
        child: const DynamicTable(  
          columnWidth = 100,
          tableHeight = 500,
          tableColor = const Color.fromARGB(255, 141, 255, 144),
          columnColor = const Color.fromARGB(255, 255, 255, 255),
          cellColor = const Color.fromARGB(255, 255, 255, 255)
        ),  
      ),  
    );  
  }  
}
1
likes
110
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Dynamic Tables Package

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, get, google_fonts

More

Packages that depend on flutter_dynamic_table