79707460

Date: 2025-07-19 17:52:51
Score: 0.5
Natty:
Report link

@override

Widget build(BuildContext context) {

return Scaffold(

body: Container(

  decoration: BoxDecoration(

    gradient: LinearGradient(

      colors: \[Colors.blue.shade300, Colors.blue.shade900\],

      begin: Alignment.topCenter,

      end: Alignment.bottomCenter,

    ),

  ),

  child: Center(

    child: Padding(

      padding: const EdgeInsets.all(24.0),

      child: Column(

        mainAxisAlignment: MainAxisAlignment.center,

        children: \[

          Text(

            'Versículo do Dia',

            style: TextStyle(

              fontSize: 28,

              color: Colors.white,

              fontWeight: FontWeight.bold,

            ),

          ),

          SizedBox(height: 40),

          Container(

            padding: EdgeInsets.all(20),

            decoration: BoxDecoration(

              color: Colors.white.withOpacity(0.9),

              borderRadius: BorderRadius.circular(20),

            ),

            child: Text(

              versiculoAtual,

              style: TextStyle(

                fontSize: 20,

                fontStyle: FontStyle.italic,

                color: Colors.black87,

              ),

              textAlign: TextAlign.center,

            ),

          ),

          SizedBox(height: 30),

          ElevatedButton.icon(

            onPressed: gerarVersiculo,

            icon: Icon(Icons.refresh),

            label: Text('Novo Versículo'),

            style: ElevatedButton.styleFrom(

              backgroundColor: Colors.white,

              foregroundColor: Colors.blueAccent,

            ),

          ),

        \],

      ),

    ),

  ),

),

);

}

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @override
  • Low reputation (1):
Posted by: Isaque santana da silva Santan