CustomProfileButton constructor

const CustomProfileButton({
  1. Key? key,
  2. required IconData icon,
  3. required String label,
  4. required VoidCallback onPress,
  5. Color iconColor = Colors.orangeAccent,
  6. Color textColor = Colors.black,
  7. bool isActive = false,
  8. required bool isDark,
})

Implementation

const CustomProfileButton({
  super.key,
  required this.icon,
  required this.label,
  required this.onPress,
  this.iconColor = Colors.orangeAccent,
  this.textColor = Colors.black,
  this.isActive = false,
  required this.isDark,
});