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 'package:flutter/material.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter_localizations/flutter_localizations.dart'; | |
class AppLocalizations { | |
final Locale locale; | |
AppLocalizations(this.locale); | |
static AppLocalizations of(BuildContext context) { |
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
// Lucas de Araújo Cardoso - 813583 | |
// Conversão do app que fiz com o Danilo na atividade PC02 p/ utilizar Jetpack Compose | |
@Composable | |
fun BasketballScoreApp() { | |
var scoreTeamA by remember { mutableStateOf(0) } | |
var scoreTeamB by remember { mutableStateOf(0) } | |
// Estados p funcionalidade de desfazer ultimo lance | |
var lastScoredTeam: Team? by remember { mutableStateOf(null) } |
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
// Danilo da Silva Pinto - 811537 | |
// Lucas de Araújo Cardoso - 813583 | |
package com.example.pc02_devmovel; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.TextView; | |
import androidx.activity.EdgeToEdge; |