initState method

  1. @override
void initState()
override

Initializes the state of the widget.

This function is called when the widget is first created.

Implementation

@override
void initState() {
  super.initState();

  // Load the settings and then start the transfer.
  loadSettings().then((_) => callStartSender(appOrigin));
}