Skip to content

Commit c674161

Browse files
authored
Animate TextStyle.fontVariations (#138881)
Fixes flutter/flutter#105120 I also exposed the relevant dart:ui types which had the effect of removing a large number of dart:ui imports from examples.
1 parent 21766a4 commit c674161

57 files changed

Lines changed: 201 additions & 117 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎examples/api/lib/ui/text/font_feature.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/material.dart';
86

97
/// Flutter code sample for [FontFeature].

‎examples/api/lib/ui/text/font_feature.font_feature_alternative.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.alternative].

‎examples/api/lib/ui/text/font_feature.font_feature_alternative_fractions.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.alternativeFractions].

‎examples/api/lib/ui/text/font_feature.font_feature_case_sensitive_forms.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.caseSensitiveForms].

‎examples/api/lib/ui/text/font_feature.font_feature_character_variant.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.characterVariant].

‎examples/api/lib/ui/text/font_feature.font_feature_contextual_alternates.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.contextualAlternates].

‎examples/api/lib/ui/text/font_feature.font_feature_denominator.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.denominator].

‎examples/api/lib/ui/text/font_feature.font_feature_fractions.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.fractions].

‎examples/api/lib/ui/text/font_feature.font_feature_historical_forms.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.historicalForms].

‎examples/api/lib/ui/text/font_feature.font_feature_historical_ligatures.0.dart‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:ui';
6-
75
import 'package:flutter/widgets.dart';
86

97
/// Flutter code sample for [FontFeature.FontFeature.historicalLigatures].

0 commit comments

Comments
 (0)