IIDLogin constructor
const
IIDLogin({
- Key? key,
- required bool isComplete,
- required String text,
- required String scheme,
- required String host,
- dynamic onPrincipalIdReceived()?,
- dynamic onError()?,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
- Gradient gradient = const LinearGradient(colors: [Color(0xFF522785), Color(0xFFED1E79)], begin: Alignment.centerLeft, end: Alignment.centerRight),
- TextStyle textStyle = const TextStyle(color: Color(0xFFFFFFFF), fontWeight: FontWeight.bold),
Implementation
const IIDLogin({
super.key,
required this.isComplete,
required this.text,
required this.scheme,
required this.host,
this.onPrincipalIdReceived,
this.onError,
this.borderRadius = const BorderRadius.all(Radius.circular(8)),
this.gradient = const LinearGradient(
colors: [Color(0xFF522785), Color(0xFFED1E79)],
begin: Alignment.centerLeft,
end: Alignment.centerRight,
),
this.textStyle =
const TextStyle(color: Color(0xFFFFFFFF), fontWeight: FontWeight.bold),
});