primaryColor method

  1. @override
Color primaryColor({
  1. Set<MaterialState>? materialStates,
})
override

Implementation

@override
Color primaryColor({Set<MaterialState>? materialStates}) {
  materialStates ??= <MaterialState>{};
  return HexColor.fromHex('#1871e3').withAlpha(materialStates.isDisabled ? 100 : 255);
}