# text

<https://github.com/kyorohiro/hello_skyengine/tree/master/widget_text>

![](/files/-M23mOeKtqbFSzH4s6Tq)

```
// following code is checked in 2016/01/13
import 'package:flutter/widgets.dart';
import 'dart:ui' as ui;

void main() {
  Color color = new Color.fromARGB(0xff, 0xaa, 0xaa, 0xff);
  String fontFamily = "monospace";
  double fontSize = 45.0;
  ui.FontWeight fontWeight = ui.FontWeight.w900;
  ui.FontStyle fontStyle = ui.FontStyle.italic;
  ui.TextAlign textAlign = ui.TextAlign.right;
  ui.TextBaseline textBaseline = ui.TextBaseline.ideographic;

  ui.TextDecoration decoration = ui.TextDecoration.underline;
  Color decorationColor  = new Color.fromARGB(0xff, 0xff, 0xaa, 0xaa);
  ui.TextDecorationStyle decorationStyle = ui.TextDecorationStyle.double;

  TextStyle textStyle = new TextStyle(
    color: color,
    fontFamily:fontFamily,
    fontSize:fontSize,
    fontWeight:fontWeight,
    fontStyle:fontStyle,
    textAlign:textAlign,
    textBaseline:textBaseline,

    decoration:decoration,
    decorationColor:decorationColor,
    decorationStyle:decorationStyle
  );
  Text text = new Text("This is Text", style: textStyle);
  runApp(text);
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flutter2015.firefirestyle.net/widgets/doc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
