mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
finished adding tasks and removing them , added error handling
This commit is contained in:
@ -50,7 +50,7 @@ extension ContextExtension on BuildContext {
|
||||
void customAlertDialog(
|
||||
{required Widget alertBody,
|
||||
required String title,
|
||||
required Function()? onConfirm}) {
|
||||
required VoidCallback onConfirm}) {
|
||||
showDialog(
|
||||
context: this,
|
||||
builder: (BuildContext context) {
|
||||
@ -98,7 +98,7 @@ extension ContextExtension on BuildContext {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
children: [
|
||||
InkWell(
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
@ -115,7 +115,7 @@ extension ContextExtension on BuildContext {
|
||||
width: 1,
|
||||
color: ColorsManager.greyColor,
|
||||
),
|
||||
InkWell(
|
||||
GestureDetector(
|
||||
onTap: onConfirm,
|
||||
child: Center(
|
||||
child: BodyMedium(
|
||||
|
Reference in New Issue
Block a user