Answers for "make flutter splash screen tio be full screen in android"

0

full screen flutter

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  SystemChrome.setEnabledSystemUIOverlays([]);
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: "Test",
      home: new MyHomePage(title: "Test"),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final String title;

  MyHomePage({Key key, this.title}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text(title),
      ),
      body: new Container(
        color: Colors.red,
      ),
    );
  }
}
Posted by: Guest on May-24-2021
1

flutter splash screen

flutter_native_splash:
  color: "#EDBB99"
  image: assets/images/Appicon.png
  android: true
  ios: true
  
// run this in the Terminal window in flutter
//flutter clean && flutter pub get && flutter pub run flutter_native_splash:create
Posted by: Guest on September-16-2021

Code answers related to "make flutter splash screen tio be full screen in android"

Code answers related to "Dart"

Browse Popular Code Answers by Language