super_tree_field 2.0.0
super_tree_field: ^2.0.0 copied to clipboard
Super Tree — a GeniusLink design-system Flutter package providing a recursive, generic, keyboard-first hierarchy component for arbitrary typed data. Supports search, expansion, selection, inline editi [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add super_tree_fieldThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
super_tree_field: ^2.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:super_tree_field/localization/generated/l10n.dart';
import 'package:super_tree_field/localization/generated/l10n_ar.dart';
import 'package:super_tree_field/localization/generated/l10n_en.dart';
import 'package:super_tree_field/localization/localizations.dart';
import 'package:super_tree_field/super_tree.dart';