floatingActionButton method

  1. @override
Widget? floatingActionButton(
  1. BuildContext context
)
override

/adding a new DataT, if this is not null the DropDown will create a new floatingactionbutton for adding new DataT to this level (or other additional functionality)

Implementation

@override
Widget? floatingActionButton(BuildContext context) {
  return PrePhotoAdder(
    parent: currentData,
    model: this,
    onDone: () async {
      notifyListeners();
    },
  );
}