Change Background Color Of Scaffold In Flutter Code Example
Example: flutter scaffold background color
import 'package:flutter/material.dart'; void main() => runApp(new MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return new MaterialApp( title: 'Testing', home: new Scaffold( //Here you can set what ever background color you need. backgroundColor: Colors.white, ), ); } }
Comments
Post a Comment