Skip to content

Commit

Permalink
chore: setup done
Browse files Browse the repository at this point in the history
  • Loading branch information
divyamD13 committed Mar 20, 2024
1 parent 2381eb2 commit 296dcf7
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 25 deletions.
26 changes: 13 additions & 13 deletions .github/Contributor_Guide/Project_Tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ All the changes to be made are to be made in the files of 'lib' folder.
If you want to change any dependencies then it has to be done in the 'pubspec.yaml' file.


C:.
C:
| .gitignore
| CODE_OF_CONDUCT.md
| commitlint.config.js
| package-lock.json
| package.json
| README.md
pubspec.lock
pubspec.yaml
roll_dice_app.iml
analysis_options.yaml
.metadata
| pubspec.lock
| pubspec.yaml
| roll_dice_app.iml
| analysis_options.yaml
| .metadata
|
+---.github
| +---Contributor_Guide
Expand All @@ -42,12 +42,12 @@ C:.
| pre-commit
|
+---lib
+---models
+---models/
note_model.dart
+---screens
create_note.dart
home_screen.dart
notes_view.dart
+---widgets
| +---screens/
| create_note.dart
| home_screen.dart
| notes_view.dart
| +---widgets/
note_card.dart
main.dart
| main.dart
49 changes: 48 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
# Note Hub

The Note Hub App is a versatile and intuitive tool designed to streamline your note-taking and organization process. Whether you're a student, professional, or anyone in need of a reliable note management solution, this app is tailored to meet your needs.
The Note Hub App is a versatile and intuitive tool designed to streamline your note-taking and organization process. Whether you're a student, professional, or anyone in need of a reliable note management solution, this app is tailored to meet your needs.

## Features

- **Note Organization:** Organize your notes into categories, folders, or tags to streamline your workflow and find information quickly. With customizable organization options, you can tailor the app to suit your specific needs and preferences.

- **Editing Options:** User-friendly platform designed to edit notes whenever required and delete them when not needed.Different option options to format text in notes to distinguish between different level of information within a note.

**File Attachments:** Attach files, images, documents, and other media to your notes for reference or additional context. Keep all relevant information in one place to enhance productivity and efficiency.


## Installation

1. Clone the repository:

```bash
git clone https://github.com/OPCODE-Open-Spring-Fest/note_hub.git
```

2. Navigate to the project directory:

```bash
cd Vedicheals
```

3. Install dependencies:

```bash
flutter pub get
```

4. Run the application:

```bash
flutter run
```

## Contributing

Contributions to Note Hub are welcome! Here are a few ways you can contribute:

- Report bugs and request features by [creating an issue](https://github.com/OPCODE-Open-Spring-Fest/note_hub/issues).
- Submit pull requests to fix issues or add new features.


## Acknowledgements

Special thanks to the Flutter communities for their invaluable contributions and support.
9 changes: 4 additions & 5 deletions lib/screens/create_note.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class CreateNote extends StatefulWidget {
const CreateNote({super.key, required this.onNewNoteCreated});

final Function(Note) onNewNoteCreated;

@override
State<CreateNote> createState() => _CreateNoteState();
}
Expand All @@ -17,11 +17,10 @@ class _CreateNoteState extends State<CreateNote> {

@override
Widget build(BuildContext context) {
return Scaffold(
return Scaffold(
appBar: AppBar(
title: const Text('New Note'),
),

body: Padding(
padding: const EdgeInsets.all(10.0),
child: Column(
Expand Down Expand Up @@ -51,7 +50,7 @@ class _CreateNoteState extends State<CreateNote> {
),
),

floatingActionButton: FloatingActionButton(
floatingActionButton: OutlinedButton(
onPressed: (){
if(titleController.text.isEmpty){
return;
Expand All @@ -68,7 +67,7 @@ class _CreateNoteState extends State<CreateNote> {
widget.onNewNoteCreated(note);
Navigator.of(context).pop();
},
child: const Icon(Icons.save),
child: const Text('Save'),
),
);
}
Expand Down
8 changes: 2 additions & 6 deletions lib/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ class _HomeScreenState extends State<HomeScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text(" Note App"),
),


body: ListView.builder(
itemCount: notes.length,
itemBuilder: (context, index){
Expand All @@ -43,7 +40,6 @@ class _HomeScreenState extends State<HomeScreen> {
}

void onNoteDeleted(int index){
notes.removeAt(index);
setState(() {});

}
}

0 comments on commit 296dcf7

Please sign in to comment.