getShape method Null safety
- BuildContext context
Implementation
MaterialStateProperty<OutlinedBorder?>? getShape(BuildContext context) {
return MaterialStateProperty.resolveWith((states) =>
_outlinedBorder() ??
_getMaterialStyle(context)?.shape?.resolve(states));
}