Unverified Commit 28c8fd10 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Radial splash and radio button update (#14483)

parent 1c5ed961
...@@ -17,13 +17,13 @@ const double kTextTabBarHeight = 48.0; ...@@ -17,13 +17,13 @@ const double kTextTabBarHeight = 48.0;
const Duration kThemeChangeDuration = const Duration(milliseconds: 200); const Duration kThemeChangeDuration = const Duration(milliseconds: 200);
/// The radius of a circular material ink response in logical pixels. /// The radius of a circular material ink response in logical pixels.
const double kRadialReactionRadius = 24.0; const double kRadialReactionRadius = 20.0;
/// The amount of time a circular material ink response should take to expand to its full size. /// The amount of time a circular material ink response should take to expand to its full size.
const Duration kRadialReactionDuration = const Duration(milliseconds: 200); const Duration kRadialReactionDuration = const Duration(milliseconds: 100);
/// The value of the alpha channel to use when drawing a circular material ink response. /// The value of the alpha channel to use when drawing a circular material ink response.
const int kRadialReactionAlpha = 0x33; const int kRadialReactionAlpha = 0x1F;
/// The duration of the horizontal scroll animation that occurs when a tab is tapped. /// The duration of the horizontal scroll animation that occurs when a tab is tapped.
const Duration kTabScrollDuration = const Duration(milliseconds: 300); const Duration kTabScrollDuration = const Duration(milliseconds: 300);
......
...@@ -11,9 +11,8 @@ import 'debug.dart'; ...@@ -11,9 +11,8 @@ import 'debug.dart';
import 'theme.dart'; import 'theme.dart';
import 'toggleable.dart'; import 'toggleable.dart';
const double _kDiameter = 16.0; const double _kOuterRadius = 8.0;
const double _kOuterRadius = _kDiameter / 2.0; const double _kInnerRadius = 4.5;
const double _kInnerRadius = 5.0;
/// A material design radio button. /// A material design radio button.
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment