AppBarIcon constructor

const AppBarIcon({
  1. Key? key,
  2. void onPressed()?,
  3. Color color = Colors.white,
  4. double size = 24,
  5. IconData icon = Icons.settings,
  6. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
})

Implementation

const AppBarIcon({
  super.key,
  this.onPressed,
  this.color = Colors.white,
  this.size = 24,
  this.icon = Icons.settings,
  this.padding = const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
});