This file contains hidden or 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 os | |
| from flask import Flask, render_template, request | |
| import stripe | |
| stripe_keys = { | |
| 'secret_key': os.environ['SECRET_KEY'], | |
| 'publishable_key': os.environ['PUBLISHABLE_KEY'] | |
| } | |
| stripe.api_key = stripe_keys['secret_key'] |
This file contains hidden or 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
| class TodoCard extends StatelessWidget { | |
| final String task; | |
| final String type; | |
| final bool isCompleted; | |
| final Function delete; | |
| final Function toggleIsCompleted; | |
| const TodoCard( | |
| {Key key, | |
| this.task, | |
| this.type, |
This file contains hidden or 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
| class TodoCard extends StatelessWidget { | |
| final String task; | |
| final String type; | |
| final bool isCompleted; | |
| final Function delete; | |
| final Function toggleIsCompleted; | |
| const TodoCard( | |
| {Key key, | |
| this.task, | |
| this.type, |
This file contains hidden or 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
| class TodoCard extends StatelessWidget { | |
| final String task; | |
| final String type; | |
| final bool isCompleted; | |
| final Function delete; | |
| final Function toggleIsCompleted; | |
| const TodoCard( | |
| {Key key, | |
| this.task, | |
| this.type, |