xtra 0.2.4 copy "xtra: ^0.2.4" to clipboard
xtra: ^0.2.4 copied to clipboard

Some xtra useful datatypes, currently XTable and XSet, a set of XTables are usable.

example/xtra_example.dart

import 'package:xtra/xtra.dart';

void main() {
  simple();
}

void simple() {
  XSet xSet = XSet("MyXSet");

  xSet.addXTable("MyXTable");

  xSet.xTables["MyXTable"].addXColumn("Index", int, autoInc: true);
  xSet.xTables["MyXTable"].addXColumn("First Name", String);
  xSet.xTables["MyXTable"].addXColumn("Last Name", String);

  xSet.xTables["MyXTable"].addXRow({"First Name": "John", "Last Name": "Doe"});

  print(xSet.xTables["MyXTable"].xRows[0]);
}
3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Some xtra useful datatypes, currently XTable and XSet, a set of XTables are usable.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on xtra