Answers for "how to hide system navigation bar in flutter"

0

how to hide the status bar and navigation bar in flutter

import 'package:flutter/services.dart';


@override
  Widget build(BuildContext context) {
    SystemChrome.setEnabledSystemUIOverlays([]);
    return Container(
      width: MediaQuery.of(context).size.width,
      height: MediaQuery.of(context).size.height,
      child: Column('Some text'),
    );
  }
Posted by: Guest on December-21-2020
1

flutter hide top bar

SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom])
Posted by: Guest on July-09-2021

Code answers related to "how to hide system navigation bar in flutter"

Browse Popular Code Answers by Language