# GF Typography

GF Typography

# Typography Info

# Usage

The simple Typography code is as shown below

import 'package:getwidget/getwidget.dart';

GFTypography(
  text: 'GF Header Typo1',
),

# Size

The different sizes of Typography differs from Typo1 to Typo6

import 'package:getwidget/getwidget.dart';

GFTypography(
  text: 'GF Header Typo1',
  type: GFTypographyType.typo1,
),

# With Icon

GF Typography with Icon

import 'package:getwidget/getwidget.dart';

 GFTypography(
   text: 'GF Header Typo1',
   type: GFTypographyType.typo1,
   icon: Icon(Icons.send),
 ),

# With BackgroundImage

GF Typography with Background Image

import 'package:getwidget/getwidget.dart';

GFTypography(
  text: 'GF Header Typo1',
  type: GFTypographyType.typo1,
  icon: Icon(Icons.send),
  backgroundImage: AssetImage('asset image here'),
),

# Custom Properties

child child of type Widget alternative to text Key
dividerColor defines the color of the divider
textColor defines the color of the text
dividerBorderRadius the border radius of the divider
dividerAlignment the alignment of the divider to start, center or end
showDivider bool value to hide or show divider , defaults to true
dividerWidth the width of the divider
backgroundImagecolorFilter colorFilter of background image only when background image is available
Last Updated: 10/23/2020, 4:54:08 PM