Author archive: ZERIN

Flutter Navigation / Route
Flutter:: Navigate to a new screen and back
November 20, 2019
0
import 'package:flutter/material.dart'; void main() { runApp(MaterialApp( title: 'Navigation Basics', home: FirstRoute(), )); } class FirstRoute extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('First Route'), ), body: Center( child: RaisedButton( child: Text('>> Second Route'), onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => SecondRoute()), ); }, ), ), ); } } […]
Coding Flutter Flutter Layout Sample
Flutter:: Layout Sample (Row + Column)
November 19, 2019
0
, , ,
lib/main.dart import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart' show debugPaintSizeEnabled; void main() { debugPaintSizeEnabled = true; // Remove to suppress visual layout runApp(RowColumnApp()); } class RowColumnApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter layout demo', home: Scaffold( appBar: AppBar( title: Text('Flutter layout demo'), ), // Change to buildColumn() for the other column example […]
Coding Flutter
Flutter:: Resource / CookBook
November 19, 2019
0
,
https://flutter.dev/docs/development/ui/layout https://flutter.dev/docs/cookbook https://github.com/Solido/awesome-flutter https://github.com/iampawan/FlutterExampleApps https://github.com/flutter/samples/blob/master/INDEX.md Flutter: Create Beautiful Material Splash Screen | Dart 2
Coding Flutter
Flutter: Youtube like App Bar
November 19, 2019
0
,
pubspec.yaml flutter: # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true assets: - assets/images/youtube_icon.png - assets/images/youtube_action1.png - assets/images/youtube_action2.png - assets/images/youtube_action3.png - assets/images/profile_pic.png lib/main.dart import 'package:flutter/material.dart'; void main() { runApp(YoutubeAppbar()); } class YoutubeAppbar extends […]
Coding Flutter
Flutter: Facebook Like App Bar
November 19, 2019
0
,
pubspec.yaml flutter: # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true assets: - assets/images/facebook_icon.png - assets/images/facebook_msg.png - assets/images/facebook_search.png lib/main.dart import 'package:flutter/material.dart'; void main() { runApp(FacebookAppbar()); } class FacebookAppbar extends StatelessWidget { @override Widget […]
Coding Flutter
Flutter: Basic App Bar
November 19, 2019
0
,
lib/main.dart import 'package:flutter/material.dart'; void main() { runApp(BasicAppbar()); } class BasicAppbar extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar( // backgroundColor: Colors.white, leading: Padding( padding: EdgeInsets.only(left: 12), child: IconButton( icon: Icon(Icons.list), onPressed: () { print('Click leading'); }, ), ), title: Row( mainAxisAlignment: MainAxisAlignment.center, children:[ Text('Basic AppBar'), ] ), actions: [ […]
Coding Flutter
Flutter: Flex
November 19, 2019
0
, , ,
Code pubspec.yaml flutter: # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true assets: - images/pic1.jpg - images/pic2.jpg - images/pic3.jpg lib/main.dart import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart' show debugPaintSizeEnabled; void main() { debugPaintSizeEnabled = false; // […]
CodeIgniter Framework Coding php
Severity: Warning Message: Cannot modify header information – headers already sent by
November 13, 2019
0
, ,
Suddenly I am getting the below error message in my Codeigniter project after updating my server with new PHP upgraded version –“Severity: Warning Message: Cannot modify header information – headers already sent by“ The Simple way to solve it is write the below command in php.ini: output_buffering = On
India Lifestyle Sikkim Travel
Sikkim Tour
November 8, 2019
0
Getting Passport + Visa Ready In order to travel Sikkim (India) from Bangladesh by Bus, you need to have “PHULBARI” Port mentioned in your Indian Visa. You can apply for Indian Visa Online (https://indianvisa-bangladesh.nic.in/visa/Registration) in case you do not have any Indian Visa now. If you do not have port “PHULBARI” mentioned in your passport, […]
AWS Server
Learn AWS in One Day: Launch an Application with AWS Elastic Beanstalk
October 18, 2019
0
I am Mac USER, I need to install AWS Set up the Elastic Beanstalk Command Line Interface first. Details can be found: https://aws.amazon.com/getting-started/tutorials/set-up-command-line-elastic-beanstalk/ Start the MacOS terminal application ———————————————————————————- If you have the Homebrew package manager on your mac, update your homebrew fomulae by running the following command in Terminal: $ brew update Using Homebrew, install […]