Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

how to hide notficition bar in flutter

import 'package:flutter/services.dart';
 SystemChrome.setEnabledSystemUIMode(SystemUiMode.leanBack);

*** Example***

class _AppPageState extends State<AppPage> {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.leanBack);
    return Scaffold(    
    
   
 
PREVIOUS NEXT
Tagged: #hide #notficition #bar #flutter
ADD COMMENT
Topic
Name
8+2 =