PlatformToggle constructor

const PlatformToggle({
  1. Key? key,
  2. required Map<String, dynamic> platform,
  3. required bool isEnabled,
  4. required dynamic onToggle(
    1. String,
    2. bool
    ),
  5. required String status,
  6. bool fullWidth = false,
  7. double? customIconSize,
})

Implementation

const PlatformToggle({
  Key? key,
  required this.platform,
  required this.isEnabled,
  required this.onToggle,
  required this.status,
  this.fullWidth = false,
  this.customIconSize,
}) : super(key: key);