패키지, 저장소 및 앱 카테고리 검색

fontresoft 표지
패키지 상세v0.0.5

fontresoft

FontResoft는 어떤 Flutter 프로젝트에서도 사용할 수 있도록 우리 팀이 컴파일하고 정리한 플러터 폰트 패키지입니다. 아름다운 다양한 폰트를 포함하여 멋지고 시각적으로 끌리는 플러터 앱을 만들 수 있습니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
155
좋아요
7
Pub 점수
160

패키지 설치

flutter pub add fontresoft

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

FontResoft는 Flutter 애플리케이션을 위한 아름다운 폰트를 엄선한 컬렉션입니다. 원활한 통합을 위해 컴파일하고 정리되어 있으며, 주요 플랫폼 전반에서 스타일리시한 타이포그래피로 앱의 시각적 매력을 높일 수 있습니다. 패키지는 pub를 통해 쉽게 추가할 수 있는 즉시 사용 가능한 폰트를 제공하여 폰트 관리를 간소화합니다. 최소한의 설정으로 눈에 띄는 현대적인 사용자 인터페이스를 만들기에 이상적입니다.

사용 사례

  • 매력적인 타이포그래피로 앱 UI 향상
  • 시각적으로 매력적인 모바일 및 웹 앱 만들기
  • Flutter 프로젝트에 커스텀 폰트를 빠르게 추가하기
  • 브랜드 또는 테마 앱 설계
  • 디지털 제품의 가독성과 미적 요소 향상

주요 기능

  • 아름다운 글꼴의 사전 패키지 컬렉션
  • 크로스 플랫폼 지원 (Android, iOS, Web, macOS, Windows, Linux)
  • Flutter pub를 통한 간단한 통합
  • 성능과 사용 편의성에 최적화됨
  • 정기적으로 업데이트되는 글꼴 라이브러리

적합한 대상

  • 사전에 준비된 폰트를 찾는 Flutter 개발자
  • 시각 브랜딩에 집중하는 디자이너
  • 일관된 타이포그래피가 필요한 프로젝트
  • 다중 플랫폼을 대상으로 하는 앱
  • 폰트 설정 시간을 줄이고자 하는 개발자

고려 사항

  • 글꼴은 미리 선택됨; 사용자 정의는 포함된 옵션에 국한됨
  • 내장된 글꼴로 인해 앱 크기가 약간 증가할 수 있습니다
  • 상업적 사용을 위해서는 개별 폰트 라이선스를 확인해야 합니다
  • 매우 전문적 또는 독특한 서체 요구 사항에 적합하지 않습니다
  • 업데이트를 위해 외부 저장소에 의존합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

FontResoft

pub package pub points popularity likes Star on Github Awesome Flutter License: BSD

FontResoft is a comprehensive Flutter font package curated to provide developers with a diverse selection of beautiful fonts for building visually appealing and engaging Flutter applications. With a wide range of font families and weights readily available, FontResoft simplifies the process of integrating custom typography into Flutter projects, offering a variety of beautiful fonts without the need for network connectivity.

Table of Contents

Installation

To use fontresoft in your Flutter project, add the following to your pubspec.yaml file:

dependencies:
  fontresoft: ^0.0.5

Then, run:

flutter pub get

Usage

Import the package:

import 'package:fontresoft/fontresoft.dart';

An example of how to use this in the main.dart file:

ThemeData(
    useMaterial3: true,
    brightness: Brightness.light,
    colorSchemeSeed: Colors.purpleAccent,
    fontFamily: FontResoft.poppins,
    package: FontResoft.package,
    highlightColor: Colors.transparent,
    splashColor: Colors.transparent,
);

Examples of how to use in your dart code.

Text(
  'Sample Text',
  style: Font.sourceSans().copyWith(
    fontSize: 23,
    color: color.withOpacity(1),
  ),
);
Text(
  Font.sourceSans().getFontName,
  style: Font.sourceSans(
    style: TextStyle(
      fontSize: 23,
      color: color.withOpacity(1),
    ),
  ),
)

More examples from main.dart

import 'dart:math';

import 'package:flutter/material.dart';
import 'package:fontresoft/fontresoft.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
        brightness: Brightness.dark,
        colorSchemeSeed: Colors.purpleAccent,
        fontFamily: FontResoft.poppins,
        package: FontResoft.package,
        highlightColor: Colors.transparent,
        splashColor: Colors.transparent,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final List<TextStyle> list = [
    Font.inconsolata(),
    Font.inter(),
    Font.lato(),
    Font.oswald(),
    Font.poppins(),
    Font.quicksand(),
    Font.robotoCondensed(),
    Font.shantellSans(),
    Font.sourceSans(),
    Font.sFProDisplay(),
    Font.sFProText(),
    Font.comfortaa(),
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('FontResoft Fonts'),
        backgroundColor: Colors.black87,
        centerTitle: true,
      ),
      body: Center(
        child: ListView.builder(
          itemCount: list.length,
          itemBuilder: (context, index) {
            var color = Color.fromRGBO(
              Random().nextInt(255),
              Random().nextInt(255),
              Random().nextInt(255),
              1,
            );
            return GestureDetector(
              onTap: () {
                Navigator.of(context).push(
                  MaterialPageRoute(
                    builder: (context) => SecondPage(font: list[index]),
                  ),
                );
              },
              child: Card(
                elevation: 0,
                color: color.withOpacity(0.3),
                margin: const EdgeInsets.all(16),
                child: SizedBox(
                  width: double.infinity,
                  height: 100,
                  child: Center(
                    child: Column(mainAxisAlignment: MainAxisAlignment.center, children: [
                      Text(
                        list[index].getFontName,
                        style: list[index].copyWith(
                          fontSize: 23,
                          color: color.withOpacity(1),
                        ),
                      ),
                      Text(
                        '${list[index].fontFamily}',
                        style: list[index].copyWith(
                          fontSize: 20,
                          color: color.withOpacity(0.5),
                          fontStyle: FontStyle.italic,
                        ),
                      ),
                      Text(
                        '$color',
                        style: list[index].copyWith(
                          fontSize: 16,
                          color: color.withOpacity(0.5),
                          fontStyle: FontStyle.italic,
                        ),
                      ),
                    ]),
                  ),
                ),
              ),
            );
          },
        ),
      ),
    );
  }
}

Features

  • Diverse Font Collection: FontResoft offers a rich assortment of font families, including Inconsolata, Inter, Lato, Oswald, Poppins, Quicksand, Roboto Condensed, ShantellSans, and SourceSansPro, each meticulously selected to cater to various design preferences and project requirements.

  • Easy Integration: Integrating fonts from FontResoft into Flutter applications is straightforward, thanks to the streamlined implementation process. Developers can effortlessly access and utilize these fonts within their projects without the need for complex setup or configuration.

  • Multiple Weights and Styles: Each font family in FontResoft comes with multiple weights and styles, empowering developers to enhance typographic diversity and achieve precise design specifications. Whether it's bold, italic, light, medium, or extra-bold variants, FontResoft offers comprehensive options to suit different design aesthetics.

  • Local Font Loading: Fonts provided by FontResoft are locally stored within the package, eliminating the reliance on external networks for font retrieval. This ensures consistent font availability and performance across various device environments, without the risk of network-related issues impacting font rendering.

Currently 12 font families are defined in this library

  1. [x] inconsolata
  2. [x] inter
  3. [x] lato
  4. [x] oswald
  5. [x] poppins
  6. [x] quicksand
  7. [x] robotoCondensed
  8. [x] shantellSans
  9. [x] sourceSans
  10. [x] sFProDisplay
  11. [x] sFProText
  12. [x] comfortaa

Examples

Screenshots

Screenshot 1

Screenshot 1

Screenshot 2

Screenshot 2

Screenshot 3

Screenshot 3

Additional information

In the future, we plan to provide support for additional fonts, making it even simpler for other developers to swiftly adopt our work. If you think we should add other typefaces, please let us know. We created this package to alleviate some of the burden that developers have when it comes to organizing the fonts by weights and styles.

Contributing

  • Issues: If you encounter any bugs, have feature requests, or want to suggest improvements, please open an issue on our GitHub repository. Provide as much detail as possible to help us understand the problem or idea better.

  • Pull Requests: If you'd like to contribute code changes, feel free to submit a pull request. Before doing so, make sure to fork the repository and create a new branch for your changes. Follow the existing coding style and guidelines, and write clear and concise commit messages. Your pull request will undergo review, and we'll work together to ensure the changes align with the project's goals.

  • Feature Requests: If you have ideas for new features or enhancements, please open an issue to discuss them. We value community feedback and want to ensure that new features align with the project's direction and objectives.

  • Spread the Word: Help us grow the FontResoft community by sharing the project with others. Whether through social media, blog posts, or word of mouth, spreading the word about FontResoft helps attract more users and contributors.

License

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.