proste_lint 1.0.2 proste_lint: ^1.0.2 copied to clipboard
preset lint config.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
runApp(const Application());
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]);
const SystemUiOverlayStyle style = SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
);
SystemChrome.setSystemUIOverlayStyle(style);
}
class Application extends StatelessWidget {
const Application({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Container(
height: 12,
),
);
}
}