<commit_before>part of widgets;

class FloatingActionButton extends MaterialComponent {
  // TODO(rafaelw): Ganesh has problems with box shadows
  // box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);

  static final Style _style = new Style('''
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 5;
    transform: translateX(0);
    width: 56px;
    height: 56px;
    background-color: ${Red[500]};
    color: white;
    border-radius: 28px;'''
  );
  static final Style _clipStyle = new Style('''
    transform: translateX(0);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-clip-path: circle(28px at center);''');

  Node content;

  FloatingActionButton({ Object key, this.content }) : super(key: key);

  Node render() {
    List<Node> children = [super.render()];

    if (content != null)
      children.add(content);

    return new Container(
      key: "Container",
      style: _style,
      children: [
        new Container(
          key: "Clip",
          style: _clipStyle,
          children: children
        )
      ]
    );
  }
}
<commit_msg>The floating action button should have a shadow<commit_after>part of widgets;

class FloatingActionButton extends MaterialComponent {
  static final Style _style = new Style('''
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 5;
    transform: translateX(0);
    width: 56px;
    height: 56px;
    background-color: ${Red[500]};
    color: white;
    box-shadow: ${Shadow[3]};
    border-radius: 28px;'''
  );
  static final Style _clipStyle = new Style('''
    transform: translateX(0);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-clip-path: circle(28px at center);''');

  Node content;

  FloatingActionButton({ Object key, this.content }) : super(key: key);

  Node render() {
    List<Node> children = [super.render()];

    if (content != null)
      children.add(content);

    return new Container(
      key: "Container",
      style: _style,
      children: [
        new Container(
          key: "Clip",
          style: _clipStyle,
          children: children
        )
      ]
    );
  }
}

{'fraction_non_alphanumeric': 0.1306553911205074, 'fraction_numerical': 0.02748414376321353, 'mean_word_length': 2.5366218236173395, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4931540', 'n_tokens_mistral': 815, 'n_tokens_neox': 755, 'n_words': 213}