# AddNotificationDialog constructor

AddNotificationDialog(

1. BuildContext context,
2. Function getResult,
3. NotesModel nm,
4. AddNoteScreenState parent

)

## Implementation

    AddNotificationDialog(BuildContext context, Function getResult, NotesModel nm,
        AddNoteScreenState parent) {
      _context = context;
      this.getResult = getResult;
      this.parent = parent;

      _chosenTime = DateTime.now();
      _chosenDelete = _isSwitched;

      initTimeZone();
    }