TitleModifier constructor

const TitleModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. String title = '',
  5. required Color color,
})

Creates a widget that describes this app to the Android operating system.

title will default to the empty string if not supplied. color must be an opaque color (i.e. color.alpha must be 255 (0xFF)). color and child are required arguments.

Implementation

const TitleModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.title = '',
  required this.color,
});