Flutter upgrade
This commit is contained in:
parent
5669b36fb7
commit
c6d5cd1d67
10
.metadata
10
.metadata
|
|
@ -4,7 +4,7 @@
|
||||||
# This file should be version controlled and should not be manually edited.
|
# This file should be version controlled and should not be manually edited.
|
||||||
|
|
||||||
version:
|
version:
|
||||||
revision: "ead455963c12b453cdb2358cad34969c76daf180"
|
revision: "9e1c857886f07d342cf106f2cd588bcd5e031bb2"
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
|
|
||||||
project_type: app
|
project_type: app
|
||||||
|
|
@ -13,11 +13,11 @@ project_type: app
|
||||||
migration:
|
migration:
|
||||||
platforms:
|
platforms:
|
||||||
- platform: root
|
- platform: root
|
||||||
create_revision: ead455963c12b453cdb2358cad34969c76daf180
|
create_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
||||||
base_revision: ead455963c12b453cdb2358cad34969c76daf180
|
base_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
||||||
- platform: windows
|
- platform: windows
|
||||||
create_revision: ead455963c12b453cdb2358cad34969c76daf180
|
create_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
||||||
base_revision: ead455963c12b453cdb2358cad34969c76daf180
|
base_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
||||||
|
|
||||||
# User provided section
|
# User provided section
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
|
|
||||||
//import 'package:example/logging.dart';
|
//import 'package:example/logging.dart';
|
||||||
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
//import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
//import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||||
import 'package:follow_the_leader/follow_the_leader.dart';
|
import 'package:follow_the_leader/follow_the_leader.dart';
|
||||||
|
|
@ -543,6 +544,7 @@ class _EditorToolbarState extends State<EditorToolbar> {
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
|
/*
|
||||||
// Only allow the user to select a new type of text node if
|
// Only allow the user to select a new type of text node if
|
||||||
// the currently selected node can be converted.
|
// the currently selected node can be converted.
|
||||||
if (_isConvertibleNode()) ...[
|
if (_isConvertibleNode()) ...[
|
||||||
|
|
@ -573,6 +575,7 @@ class _EditorToolbarState extends State<EditorToolbar> {
|
||||||
),
|
),
|
||||||
_buildVerticalDivider(),
|
_buildVerticalDivider(),
|
||||||
],
|
],
|
||||||
|
*/
|
||||||
Center(
|
Center(
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
onPressed: _toggleBold,
|
onPressed: _toggleBold,
|
||||||
|
|
@ -600,6 +603,7 @@ class _EditorToolbarState extends State<EditorToolbar> {
|
||||||
tooltip: 'Strikethrough',
|
tooltip: 'Strikethrough',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (kIsWeb)
|
||||||
Center(
|
Center(
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
onPressed:
|
onPressed:
|
||||||
|
|
@ -613,6 +617,7 @@ class _EditorToolbarState extends State<EditorToolbar> {
|
||||||
tooltip: 'Link',
|
tooltip: 'Link',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
/*
|
||||||
// Only display alignment controls if the currently selected text
|
// Only display alignment controls if the currently selected text
|
||||||
// node respects alignment. List items, for example, do not.
|
// node respects alignment. List items, for example, do not.
|
||||||
if (_isTextAlignable()) ...[
|
if (_isTextAlignable()) ...[
|
||||||
|
|
@ -658,6 +663,7 @@ class _EditorToolbarState extends State<EditorToolbar> {
|
||||||
tooltip: 'More Options',
|
tooltip: 'More Options',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
*/
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,12 @@ if(PLUGIN_BUNDLED_LIBRARIES)
|
||||||
COMPONENT Runtime)
|
COMPONENT Runtime)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Copy the native assets provided by the build.dart from all packages.
|
||||||
|
set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/")
|
||||||
|
install(DIRECTORY "${NATIVE_ASSETS_DIR}"
|
||||||
|
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||||
|
COMPONENT Runtime)
|
||||||
|
|
||||||
# Fully re-copy the assets directory on each build to avoid having stale files
|
# Fully re-copy the assets directory on each build to avoid having stale files
|
||||||
# from a previous install.
|
# from a previous install.
|
||||||
set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
|
set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue