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
package com.tokopedia.izzanfi.TokopediaTeToSeConversion.models; | |
public enum GroceryType { | |
VEGETABLE ("Vegetables"), | |
FRUIT ("Fruit"), | |
MEAT ("Meat"), | |
PASTRY ("Pastry"); | |
String groceryName; |
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
package com.tokopedia.izzanfi.TokopediaTeToSeConversion.models; | |
public class GroceryItem { | |
private String itemName; | |
private GroceryType groceryType; | |
private double itemPrice; | |
private String unitPerPrice; | |
/** | |
* The setter-getter implementation goes here |
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
from django.core.management.base import BaseCommand | |
from rest_api.models import (Phase, ProcessArea, CMMIPractices, Ceremony, | |
Problem, Glossary) | |
from django.db import IntegrityError | |
import csv | |
import re | |
# phaseTitle = ["Product Backlog","Sprint Planning","Sprint Execution","Sprint Evaluation"] |
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'; | |
import 'package:ScrumBooster/Utils/utils.dart'; | |
import 'package:ScrumBooster/contents/ceremonies.dart'; | |
import 'package:ScrumBooster/contents/problems.dart'; | |
class SearchResultCard extends StatelessWidget { | |
final String title; | |
final String detail; | |
final String imageURL; | |
final int phaseID; |
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'; | |
import 'package:ScrumBooster/Utils/utils.dart'; | |
import 'package:ScrumBooster/contents/ceremonies.dart'; | |
import 'package:ScrumBooster/contents/problems.dart'; | |
import 'package:ScrumBooster/components/ScrumPhaseContentBtn.dart'; | |
import 'package:ScrumBooster/ScrumPhase/ProductBacklog/ApiProvider.dart'; | |
import 'package:ScrumBooster/ScrumPhase/ProductBacklog/Model.dart'; | |
import 'dart:async'; | |
import 'package:ScrumBooster/components/loading/loadingData.dart'; |
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:http/http.dart' show Client; | |
import 'package:ScrumBooster/ScrumPhase/ProductBacklog/Model.dart'; | |
import 'dart:convert'; | |
import 'package:ScrumBooster/Utils/utils.dart'; | |
class ProductBacklogApiProvider { | |
static const int PHASE_ID = 1; | |
Client client = Client(); | |
var response; | |
var util = new Util(); |
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
class ProductBacklogModel { | |
List<dynamic> _ceremonies; | |
List<dynamic> _problems; | |
ProductBacklogModel.fromJson(Map<String, dynamic> parsedJson) { | |
_ceremonies = parsedJson['ceremonies']; | |
_problems = parsedJson['problems']; | |
} | |
List<dynamic> get ceremonies => _ceremonies; |
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'; | |
import 'package:flutter_test/flutter_test.dart'; | |
import 'package:ScrumBooster/initScreen/AboutPage.dart'; | |
import 'package:ScrumBooster/utils/utils.dart'; | |
void main() { | |
final AboutPage about = AboutPage(); | |
final util = new Util(); |
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'; | |
import 'package:flutter_test/flutter_test.dart'; | |
import 'package:ScrumBooster/initScreen/HomeScreen.dart'; | |
void main() { | |
final HomePage home = new HomePage(); | |
testWidgets('Home Screen Drawer Test', (WidgetTester tester) async { | |
GlobalKey<ScaffoldState> scaffoldKey = home.getScaffoldKey(); |
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
Widget defaultDrawer(BuildContext context) { | |
return Drawer( | |
child: ListView( | |
padding: EdgeInsets.zero, | |
children: <Widget>[ | |
new DrawerHeader( | |
child: Center( | |
child: new Image.asset( | |
"assets/logos/logo-color.png", | |
), |
NewerOlder