From 99680bd91d480ba1f06773616240da4e28ddda31 Mon Sep 17 00:00:00 2001 From: Xin Yao Date: Sat, 6 Feb 2021 10:54:56 -0800 Subject: [PATCH] Upgrade version --- CHANGELOG.md | 5 ++++- app/lib/pages/home_page.dart | 14 +++++++++++++- pubspec.yaml | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ac5fc2e..900754d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,4 +60,7 @@ * Fix static analysis error. ## [0.2.2] -* Update git repo. \ No newline at end of file +* Update git repo. + +## [0.2.3] +* Support custom styles and image on local device storage without uploading. \ No newline at end of file diff --git a/app/lib/pages/home_page.dart b/app/lib/pages/home_page.dart index 88e88c6b..72ad2591 100644 --- a/app/lib/pages/home_page.dart +++ b/app/lib/pages/home_page.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; +import 'package:tuple/tuple.dart'; import 'package:app/pages/read_only_page.dart'; import 'package:flutter/material.dart'; @@ -85,7 +86,18 @@ class _HomePageState extends State { enableInteractiveSelection: true, expands: false, padding: EdgeInsets.zero, - customStyles: DefaultStyles(sizeSmall: TextStyle(fontSize: 9.0)), + customStyles: DefaultStyles( + h1: DefaultTextBlockStyle( + TextStyle( + fontSize: 32.0, + color: Colors.black, + height: 1.15, + fontWeight: FontWeight.w300, + ), + Tuple2(16.0, 0.0), + Tuple2(0.0, 0.0), + null), + sizeSmall: TextStyle(fontSize: 9.0)), ), ), ), diff --git a/pubspec.yaml b/pubspec.yaml index daa8a718..f8a53fdd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: One client and affiliated collaborator of Flutter Quill is Bullet Journal App. -version: 0.2.2 +version: 0.2.3 #author: bulletjournal homepage: https://bulletjournal.us/home/index.html repository: https://github.com/singerdmx/flutter-quill.git