Answers for "how to syle in text widget with code flutter"

2

how to set font family in flutter

MaterialApp(
  title: 'Custom Fonts',
  // Set Raleway as the default app font.
  theme: ThemeData(fontFamily: 'Raleway'),
  home: MyHomePage(),
);
Posted by: Guest on July-27-2020
0

flutter text wisget

const Text(
  this.data, {
  Key key,
  this.style,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
}) : assert(
       data != null,
       'A non-null String must be provided to a Text widget.',
     ),
     textSpan = null,
     _applyTextScaleFactorToWidgetSpan = true,
     super(key: key);
Posted by: Guest on September-11-2020

Code answers related to "how to syle in text widget with code flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language