This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x6cbdeeec8d80b6548ee7ec8f09398e877ce878ac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static String getCurrentTime() { | |
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy hh:mm a"); | |
Date date = new Date(); | |
return dateFormat.format(date); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
List<Widget> todosList = <Widget>[ | |
ToDoWidget( | |
"Make Bed", | |
"Remeber to tuck in the sheets", | |
DateTime.now(), |