Tag Archives: TEXT

Download ZIP, Extract it and Show the images file in List in UI

By | June 7, 2019

Watch Video Tutorial     Add Plugins   For downloading, Extracting and saving ZIP in the device, we need some plugins. So open your pubspec.yaml file and add the below plugins.   [java] dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons.… Read More »

Stepper Widgets in Flutter

By | April 15, 2019

Hello, Stepper is an awesome widget in Flutter. It makes developers job easy by writing less code.     Here we will have a UI as shown in the below screenshot.     First we will create a list of 3 Steps. Each Step will have a ‘title‘, ‘content‘ and isActive property. ‘content‘ can be any Widget. To… Read More »

Collapsing AppBar in Flutter – Android and iOS

By | March 1, 2019

Here I will show two different ways to create collapsing AppBar in flutter.     Watch Video Tutorial     Using NestedScrollView   [java] nested() { return NestedScrollView( headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) { return <Widget>[ SliverAppBar( expandedHeight: 200.0, floating: false, pinned: true, flexibleSpace: FlexibleSpaceBar( centerTitle: true, title: Text( "Collapsing AppBar", style: TextStyle( color: Colors.white, fontSize: 16.0, ),… Read More »

Create Custom Widget(Button) in Flutter – Android or iOS

By | January 3, 2019

Hello friends, In this article, I will show you how you can create custom widgets in Flutter using Widget Composition. As you know Flutter is cross Platform, so this is gonna work for both Android and iOS. Watch Video Tutorial   Let’s start now.   I am going to create a custom button just like you see in… Read More »

How to change the hint text color in android?

By | April 20, 2012

Hello all.. This simple example will show you how to change the hint text color in android Here is the java code to simply do this. [java] youredittext.setHint(Html.fromHtml("<font color=’#FF0000′>Hello</font> ")); [/java] here is a sample project to view the difference. This is the contents of the main java file. [java] package com.coderzheaven.pack; import android.app.Activity; import android.os.Bundle; import android.text.Html;… Read More »

Parsing XML in Android a simple example

By | December 24, 2011

This is a simple example showing how to parse an xml in Androi. In this method the xml file is stored in res/xml folder. First create a folder named “xml” inside the raw folder. Then create an xml file named test.xml and copy the contents into it. [xml] <?xml version="1.0" encoding="utf-8"?> <root> <name> CoderzHeaven </name> <blog> Google <sub2>Android</sub2>… Read More »