dibaloke
12/29/2018 - 6:33 PM

Scaffold with bgcolor and appbar color

import 'package:flutter/material.dart';
void main(){

  final barColor=const Color(0xFF26ae60);
   final bgColor=const Color(0xFFDAE0E2);
  var app=MaterialApp(
    debugShowCheckedModeBanner: false,
    home:Scaffold(
      backgroundColor: bgColor,
      appBar: AppBar(
               backgroundColor: barColor,


      ),
    ),
    
      );

  runApp(app);
}