Ai
1 Star 0 Fork 0

coolan2013/flutter-examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.dart 745 Bytes
一键复制 编辑 原始数据 按行查看 历史
import 'package:flutter/material.dart';
import './utils.dart' as utils;
void main() {
runApp(MaterialApp(
// Title
title: "Using Custom Fonts",
// Home
home: Scaffold(
// Appbar
appBar: AppBar(
// Title
title: Text("Using Custom Fonts"),
),
// Body
body: Container(
// Center the content
child: Center(
// Add Text
child: Text("The quick brown fox jumps over the lazy dog",
// Center align text
textAlign: TextAlign.center,
// set a text style which defines a custom font
style: utils.getCustomFontTextStyle()),
),
),
)));
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/coolan2013/flutter-examples.git
git@gitee.com:coolan2013/flutter-examples.git
coolan2013
flutter-examples
flutter-examples
develop

搜索帮助