GithubHelp home page GithubHelp logo

lohanidamodar / flutter_calendar Goto Github PK

View Code? Open in Web Editor NEW
87.0 6.0 45.0 72 KB

Use newer version

Home Page: https://github.com/lohanidamodar/flutter_events_2023

Kotlin 6.94% Swift 8.08% Objective-C 0.74% Dart 84.23%

flutter_calendar's Introduction

flutter_calendar's People

Contributors

lohanidamodar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flutter_calendar's Issues

"createItem" doesn't work now

in add_event.dart

await eventDBS.createItem(EventModel(
title: _title.text,
description: _description.text,
eventDate: DateTime.now()
));
shows error:
info: 'createItem' is deprecated and shouldn't be used. Use create(Map<String,dynamic> data, {String id}) instead.. (

error to updateItem

there is an error in the call update item, save the object in the database, but then when you open the application it does not update and does not read from the database, quite bad code !!

sort events list by date

Hello,
thanks for the code.
I have a question: is it possible to sort the events list by date?
I mean, after inserting some data, showing the eventDate of each event it shows:
image
image

You can see that events are not sorted by eventDate.
Can you show how to sort it by date?
And another, id for every event is null, is that ok?
Thanks

onDaySelected: Causing error

onDaySelected: (date, events) {
setState(() {
_selectedEvents = events;
});

this is giving the following error:

{
"resource": "/home/ndragonx/PointTrackerFlutter/flutter_point_tracker/lib/main.dart",
"owner": "dart",
"code": {
"value": "argument_type_not_assignable",
"target": {
"$mid": 1,
"external": "https://dart.dev/tools/diagnostic-messages#argument_type_not_assignable",
"path": "/tools/diagnostic-messages",
"scheme": "https",
"authority": "dart.dev",
"fragment": "argument_type_not_assignable"
}
},
"severity": 8,
"message": "The argument type 'Null Function(DateTime, List)' can't be assigned to the parameter type 'void Function(DateTime, List, List)'.",
"source": "dart",
"startLineNumber": 98,
"startColumn": 15,
"endLineNumber": 98,
"endColumn": 156,
"tags": []
}
thanks for any help

DatabaseItem is deprecated and should not be used?

I have followed your video's but found a blue error in VS code saying that 'DatabaseItem' is deprecated and shouldn't be used. Do not extend it anymore.

Does this mean that I should just leave it as...
class EventModel { final String id; ... }

please help as I don't want to be using redundant code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.