ScanScreen constructor

const ScanScreen({
  1. Key? key,
  2. required String title,
  3. required dynamic onDeviceClick(
    1. BuildContext context,
    2. BLEDevice device
    ),
  4. required dynamic onConnectDevicesClick(
    1. BuildContext context,
    2. List<BLEDevice> devices
    )?,
  5. List<Widget>? appBarActions,
})

Implementation

const ScanScreen({
  super.key,
  required this.title,
  required this.onDeviceClick,
  required this.onConnectDevicesClick,
  this.appBarActions,
});