This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:orderac/screens/root.dart'; | |
class SplashScreen extends StatefulWidget { | |
@override | |
_SplashScreenState createState() => _SplashScreenState(); | |
} | |
class _SplashScreenState extends State<SplashScreen> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First add a custom icon in assets/icon folder | |
- assets/icon/icon.png | |
// In pubspec.yaml, add dependency | |
flutter_launcher_icons: ^0.8.1 | |
// Then write these lines below them from extreme left | |
flutter_icons: | |
image_path: "assets/icon/icon.png" | |
android: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appBar: AppBar( | |
title: Text('hack_ed'), | |
backgroundColor: Colors.indigo, | |
leading: Builder( | |
builder: (BuildContext context) { | |
return IconButton( | |
icon: const Icon(Icons.more_vert), | |
onPressed: () { | |
Scaffold.of(context).openDrawer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Problem 1. 'chromedriver.exe' executable needs to be in PATH. | |
# First install webdriver-manager | |
pip install webdriver-manager | |
# Then import ChromeDriverManager | |
from selenium import webdriver | |
from webdriver_manager.chrome import ChromeDriverManager | |
# This will automatically update the driver | |
# No need to specify the path in this case |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lst = [int(i) for i in input().split()][:n] |
NewerOlder